cryptohome

package
v0.0.0-...-683b059 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthSessionMount

func AuthSessionMount(ctx context.Context, s *testing.State)

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 AutomaticCleanup

func AutomaticCleanup(ctx context.Context, s *testing.State)

func AutomaticCleanupCritical

func AutomaticCleanupCritical(ctx context.Context, s *testing.State)

func AutomaticCleanupManyUsers

func AutomaticCleanupManyUsers(ctx context.Context, s *testing.State)

func EphemeralAuthSession

func EphemeralAuthSession(ctx context.Context, s *testing.State)

func FileStability

func FileStability(ctx context.Context, s *testing.State)

func FscryptEncryptionPolicy

func FscryptEncryptionPolicy(ctx context.Context, s *testing.State)

func GuestAuthSession

func GuestAuthSession(ctx context.Context, s *testing.State)

func GuestSession

func GuestSession(ctx context.Context, s *testing.State)

func KioskSession

func KioskSession(ctx context.Context, s *testing.State)

func LoginCleanupHack

func LoginCleanupHack(ctx context.Context, s *testing.State)

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

func PasswordAuthFactorExistingVaultKeyset(ctx context.Context, s *testing.State)

PasswordAuthFactorExistingVaultKeyset tests that AuthenticateAuthFactor uses existing VaultKeyset to authenticate an existing user even if USS experiment is enabled.

func PersistentAuthSession

func PersistentAuthSession(ctx context.Context, s *testing.State)

func PersistentCreateAuthSession

func PersistentCreateAuthSession(ctx context.Context, s *testing.State)

func RecoveryCrypto

func RecoveryCrypto(ctx context.Context, s *testing.State)

func RecoveryCryptoWithServer

func RecoveryCryptoWithServer(ctx context.Context, s *testing.State)

func RegularSession

func RegularSession(ctx context.Context, s *testing.State)

func ShowLowDiskSpaceNotification

func ShowLowDiskSpaceNotification(ctx context.Context, s *testing.State)

func UpdateCredentialAuthSession

func UpdateCredentialAuthSession(ctx context.Context, s *testing.State)

func UserSecretStash

func UserSecretStash(ctx context.Context, s *testing.State)

func UserSecretStashAddPin

func UserSecretStashAddPin(ctx context.Context, s *testing.State)

func UserTimestamp

func UserTimestamp(ctx context.Context, s *testing.State)

Types

This section is empty.

Directories

Path Synopsis
Package cleanup contains helpers for disk cleanup.
Package cleanup contains helpers for disk cleanup.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL