Documentation ¶
Index ¶
- func AuthSessionMount(ctx context.Context, s *testing.State)
- func AutomaticCleanup(ctx context.Context, s *testing.State)
- func AutomaticCleanupCritical(ctx context.Context, s *testing.State)
- func AutomaticCleanupManyUsers(ctx context.Context, s *testing.State)
- func EphemeralAuthSession(ctx context.Context, s *testing.State)
- func FileStability(ctx context.Context, s *testing.State)
- func FscryptEncryptionPolicy(ctx context.Context, s *testing.State)
- func GuestAuthSession(ctx context.Context, s *testing.State)
- func GuestSession(ctx context.Context, s *testing.State)
- func KioskSession(ctx context.Context, s *testing.State)
- func LoginCleanupHack(ctx context.Context, s *testing.State)
- func PasswordAuthFactorExistingVaultKeyset(ctx context.Context, s *testing.State)
- func PersistentAuthSession(ctx context.Context, s *testing.State)
- func PersistentCreateAuthSession(ctx context.Context, s *testing.State)
- func RecoveryCrypto(ctx context.Context, s *testing.State)
- func RecoveryCryptoWithServer(ctx context.Context, s *testing.State)
- func RegularSession(ctx context.Context, s *testing.State)
- func ShowLowDiskSpaceNotification(ctx context.Context, s *testing.State)
- func UpdateCredentialAuthSession(ctx context.Context, s *testing.State)
- func UserSecretStash(ctx context.Context, s *testing.State)
- func UserSecretStashAddPin(ctx context.Context, s *testing.State)
- func UserTimestamp(ctx context.Context, s *testing.State)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthSessionMount ¶
AuthSessionMount ensures that an AuthSession can be used for mounting. Here are the steps that this takes: 1. Create AuthSession, which gives us back an authSessionID 2. Use that authSessionID to create a new user 3. Authenticate the newly created user 4. Perform mount using AuthSession 5. Invalidate the AuthSession in memory 6. Unmount and remove the user
func LoginCleanupHack ¶
LoginCleanupHack tests that cryptohomed removes large logs on login. TODO(crbug.com/1287022): Remove in M101. The feature will be removed from cryptohome.
func PasswordAuthFactorExistingVaultKeyset ¶
PasswordAuthFactorExistingVaultKeyset tests that AuthenticateAuthFactor uses existing VaultKeyset to authenticate an existing user even if USS experiment is enabled.
Types ¶
This section is empty.
Source Files ¶
- auth_session_mount.go
- automatic_cleanup.go
- automatic_cleanup_critical.go
- automatic_cleanup_many_users.go
- ephemeral_auth_session.go
- file_stability.go
- fscrypt_encryption_policy.go
- guest_auth_session.go
- guest_session.go
- kiosk_session.go
- login_cleanup_hack.go
- password_auth_factor_existing_vault_keyset.go
- persistent_auth_session.go
- persistent_create_auth_session.go
- recovery_crypto.go
- recovery_crypto_with_server.go
- regular_session.go
- show_low_disk_space_notification.go
- update_credential_auth_session.go
- user_secret_stash.go
- user_secret_stash_add_pin.go
- user_timestamp.go