Lines Matching full:cryptohome
13 CRYPTOHOME_CMD = '/usr/sbin/cryptohome'
27 return utils.system_output(['cryptohome', '--action=obfuscate_user',
33 return utils.system_output(['cryptohome-path', 'user', user])
38 return utils.system_output(['cryptohome-path', 'system', user])
42 """Ensure a fresh cryptohome exists for user.
44 @param user: user who needs a shiny new cryptohome.
185 raise ChromiumOSError('Cryptohome could not remove the user\'s vault.')
210 raise ChromiumOSError('Cryptohome vault not found after mount.')
216 raise ChromiumOSError('Cryptohome created a vault but did not mount.')
225 raise ChromiumOSError('Cryptohome did not mount tmpfs.')
243 raise ChromiumOSError('Cryptohome did not unmount the user.')
256 raise ChromiumOSError('Could not get info about cryptohome vault '
357 """A DBus proxy client for testing the Cryptohome DBus server.
359 CRYPTOHOME_BUS_NAME = 'org.chromium.Cryptohome'
360 CRYPTOHOME_OBJECT_PATH = '/org/chromium/Cryptohome'
392 logging.error('Cryptohome is not responding. Sending ABRT')
431 logging.error('Cryptohome timed out. Sending ABRT.')
438 """Mounts a cryptohome.
453 """Unmounts a cryptohome.
463 """Tests whether a user's cryptohome is mounted."""
469 """Raises a test failure if a user's cryptohome is not mounted."""
475 """Migrates the specified user's cryptohome from one key to another."""
490 """Ensure a fresh cryptohome exists for user.
492 @param user: user who needs a shiny new cryptohome.