Module yubihsm::auth_key[][src]

Authentication keys used to establish encrypted sessions with the HSM YubiHSM2 authentication keys (2 * AES-128 symmetric PSK) from which session keys are derived

Structs

AuthKey

YubiHSM2 authentication keys (2 * AES-128 symmetric PSK) from which session keys are derived.c

Enums

AuthKeyErrorKind

Kinds of AuthKey-related errors

Constants

AUTH_KEY_SIZE

Auth keys are 2 * AES-128 keys

DEFAULT_PASSWORD

Password from which the default auth key is derived

DEFAULT_PBKDF2_ITERATIONS

Number of PBKDF2 iterations to perform when deriving auth keys. This number of iterations matches what is performed by yubihsm-shell.

DEFAULT_PBKDF2_SALT

Salt value to use with PBKDF2 when deriving auth keys from a password. This salt is designed to be compatible with the password functionality in yubihsm-shell (otherwise using a static salt is not best practice).

Type Definitions

AuthKeyError

AuthKey-related errors