Home
last modified time | relevance | path

Searched refs:cryptohome (Results 1 – 25 of 67) sorted by relevance

123

/external/autotest/client/site_tests/platform_CryptohomeTestAuth/
Dplatform_CryptohomeTestAuth.py12 from autotest_lib.client.cros import constants, cryptohome
22 user_hash = cryptohome.get_user_hash(test_user)
26 cryptohome.unmount_vault(test_user)
27 cryptohome.remove_vault(test_user)
33 cryptohome.mount_vault(test_user, test_password, create=True)
36 if not cryptohome.test_auth(test_user, test_password):
41 if cryptohome.test_auth(test_user, 'badpass'):
46 cryptohome.unmount_vault(test_user)
48 if cryptohome.is_vault_mounted(user=test_user, allow_fail=True):
52 if not cryptohome.test_auth(test_user, test_password):
[all …]
Dcontrol7 PURPOSE = "Verify that cryptohome can verify credentials."
8 CRITERIA = "This test will fail if cryptohome fails to validate credentials."
16 This test checks that cryptohome can verify credentials.
/external/autotest/client/site_tests/platform_BootLockbox/
Dplatform_BootLockbox.py9 from autotest_lib.client.cros import cryptohome
36 status = cryptohome.get_tpm_status()
40 cryptohome.take_tpm_ownership()
41 status = cryptohome.get_tpm_status()
46 return utils.system(cryptohome.CRYPTOHOME_CMD +
51 return utils.system(cryptohome.CRYPTOHOME_CMD +
56 utils.system(cryptohome.CRYPTOHOME_CMD + ' --action=finalize_lockbox')
59 return utils.system(cryptohome.CRYPTOHOME_CMD +
64 utils.system(cryptohome.CRYPTOHOME_CMD +
68 return utils.system(cryptohome.CRYPTOHOME_CMD +
[all …]
/external/autotest/client/site_tests/login_Cryptohome/
Dlogin_Cryptohome.py10 from autotest_lib.client.cros import cryptohome
24 if not cryptohome.is_permanent_vault_mounted(username):
27 if cryptohome.is_vault_mounted(user=username,
34 cryptohome.remove_vault(username)
36 cryptohome.mount_vault(TEST_USER, TEST_PASS, create=True)
37 test_file = os.path.join(cryptohome.user_path(TEST_USER), 'hello')
39 cryptohome.unmount_vault(TEST_USER)
42 if not cryptohome.is_permanent_vault_mounted(username):
47 cryptohome.remove_vault(TEST_USER)
Dcontrol7 PURPOSE = "Verify the cryptohome is mounted only after login."
9 This test will fail if cryptohome is mounted when not logged in, or vice versa.
19 This test checks that a cryptohome was mounted only after logging in.
/external/autotest/client/site_tests/platform_Attestation/
Dplatform_Attestation.py7 from autotest_lib.client.cros import cryptohome
14 utils.system(cryptohome.CRYPTOHOME_CMD +
22 utils.system(cryptohome.CRYPTOHOME_CMD +
27 utils.system(cryptohome.CRYPTOHOME_CMD +
34 utils.system(cryptohome.CRYPTOHOME_CMD +
40 status = cryptohome.get_tpm_attestation_status()
44 status = cryptohome.get_tpm_attestation_status()
/external/autotest/client/site_tests/firmware_SetFWMP/
Dfirmware_SetFWMP.py10 from autotest_lib.client.cros import cryptohome
19 cryptohome.take_tpm_ownership()
21 status = cryptohome.get_tpm_status()
29 cryptohome.get_fwmp(fwmp_cleared)
30 status = cryptohome.get_tpm_status()
42 cryptohome.set_fwmp(flags, dev_key_hash)
45 fwmp = cryptohome.get_fwmp()
/external/autotest/client/site_tests/platform_CryptohomeBadPerms/
Dplatform_CryptohomeBadPerms.py9 from autotest_lib.client.cros import cryptohome
27 self.cryptohome_proxy = cryptohome.CryptohomeProxy()
31 path = cryptohome.user_path(user)
41 path = cryptohome.system_path(user)
52 path = cryptohome.user_path(user)
63 path = cryptohome.user_path(user)
73 path = cryptohome.user_path(user)
/external/autotest/client/site_tests/platform_CryptohomeNonDirs/
Dplatform_CryptohomeNonDirs.py9 from autotest_lib.client.cros import cryptohome
31 self.cryptohome_proxy = cryptohome.CryptohomeProxy()
35 path = cryptohome.user_path(user)
44 path = cryptohome.system_path(user)
53 path = cryptohome.user_path(user)
66 path = cryptohome.system_path(user)
/external/autotest/client/site_tests/platform_CryptohomeKeyEviction/
Dplatform_CryptohomeKeyEviction.py7 from autotest_lib.client.cros import cryptohome, pkcs11
21 self._cryptohome_proxy = cryptohome.CryptohomeProxy()
26 status = cryptohome.get_tpm_status()
28 cryptohome.take_tpm_ownership()
Dcontrol16 Ensure that the cryptohome properly manages key eviction from
18 chaps, and then remounting a user's cryptohome. Mount requires use of the
19 user's cryptohome key, and thus the mount only succeeds if the
20 cryptohome key was properly evicted and reloaded into the TPM.
/external/autotest/client/site_tests/platform_CryptohomeMigrateChapsTokenClient/
Dplatform_CryptohomeMigrateChapsTokenClient.py7 from autotest_lib.client.cros import cryptohome, pkcs11
20 self._cryptohome_proxy = cryptohome.CryptohomeProxy()
28 status = cryptohome.get_tpm_status()
30 cryptohome.take_tpm_ownership()
/external/cros/system_api/
Dsystem_api.gyp64 'target_name': 'system_api-cryptohome-protos-gen',
67 'proto_in_dir': 'dbus/cryptohome',
68 'proto_out_dir': 'include/cryptohome/proto_bindings',
78 'target_name': 'system_api-cryptohome-protos',
82 'system_api-cryptohome-protos-gen',
85 '<(SHARED_INTERMEDIATE_DIR)/include/cryptohome/proto_bindings/key.pb.cc',
86 '<(SHARED_INTERMEDIATE_DIR)/include/cryptohome/proto_bindings/rpc.pb.cc',
87 '<(SHARED_INTERMEDIATE_DIR)/include/cryptohome/proto_bindings/signed_secret.pb.cc',
/external/autotest/client/site_tests/security_ProfilePermissions/
Dsecurity_ProfilePermissions.py13 from autotest_lib.client.cros import cryptohome
52 else cryptohome.GUEST_USER_NAME)
61 user_mountpt = cryptohome.user_path(username)
115 if cryptohome.is_permanent_vault_mounted(username):
118 mountpath = cryptohome.get_mounted_vault_path(username)
/external/autotest/client/site_tests/platform_CryptohomeFio/
Dplatform_CryptohomeFio.py8 from autotest_lib.client.cros import cryptohome
54 cryptohome.mount_vault(TEST_USER, TEST_PASSWORD,
56 tmpdir = cryptohome.user_path(TEST_USER)
79 cryptohome.unmount_vault(TEST_USER)
80 cryptohome.remove_vault(TEST_USER)
/external/autotest/client/site_tests/login_CryptohomeOwnerQuery/
Dlogin_CryptohomeOwnerQuery.py14 from autotest_lib.client.cros import cros_ui, cryptohome, ownership
32 self._cryptohome_proxy = cryptohome.CryptohomeProxy(bus_loop)
38 if cryptohome.get_login_status()['owner_user_exists']:
46 if not cryptohome.get_login_status()['owner_user_exists']:
/external/autotest/client/site_tests/login_CryptohomeIncognito/
Dlogin_CryptohomeIncognito.py10 from autotest_lib.client.cros import cryptohome
18 if not cryptohome.is_guest_vault_mounted():
22 if cryptohome.is_guest_vault_mounted(allow_fail=True):
/external/autotest/client/site_tests/platform_CryptohomeMount/
Dplatform_CryptohomeMount.py7 from autotest_lib.client.cros import cryptohome
18 user_hash = cryptohome.get_user_hash(test_user)
19 proxy = cryptohome.CryptohomeProxy()
/external/autotest/client/site_tests/platform_CryptohomeChangePassword/
Dcontrol7 PURPOSE = "Verify that cryptohome can change a password for an ecrypted vault."
8 CRITERIA = "This test will fail if cryptohome fails to re-wrap the vault key with the new password."
16 This test checks that cryptohome can change a password for an encrypted vault.
/external/autotest/client/site_tests/login_GuestAndActualSession/
Dlogin_GuestAndActualSession.py12 from autotest_lib.client.cros import constants, cros_ui, cryptohome, ownership
37 self._cryptohome_proxy = cryptohome.CryptohomeProxy(bus_loop)
44 cryptohome.mount_guest()
/external/autotest/client/site_tests/platform_CryptohomeSyncStress/
Dplatform_CryptohomeSyncStress.py24 cryptohome = dbus.Interface(proxy, 'org.chromium.CryptohomeInterface')
26 ismounted = cryptohome.IsMounted()
/external/autotest/client/site_tests/platform_CryptohomeMultiple/
Dplatform_CryptohomeMultiple.py7 from autotest_lib.client.cros import cryptohome
26 self.cryptohome_proxy = cryptohome.CryptohomeProxy()
/external/autotest/server/site_tests/platform_CryptohomeTPMReOwnServer/
Dcontrol13 This test verifies that cryptohome re-creates a user's cryptohome directory
/external/autotest/client/site_tests/login_SameSessionTwice/
Dlogin_SameSessionTwice.py11 from autotest_lib.client.cros import cros_ui, cryptohome
30 cryptohome.CryptohomeProxy(bus_loop).ensure_clean_cryptohome_for(user)
/external/autotest/client/site_tests/login_GaiaLogin/
Dlogin_GaiaLogin.py7 from autotest_lib.client.cros import cryptohome
32 if not cryptohome.is_vault_mounted(user=chrome.NormalizeEmail(username)):

123