package
0.0.0-20241224090308-49daac4a7347
Repository: https://github.com/neox5/openk.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
GenerateKeyPair creates a new RSA key pair.
NewKeyDerivation creates key derivation parameters.
No description provided by the author
# Constants
No description provided by the author
MaxUsernameLen defines maximum username length in bytes.
MinIterations defines minimum allowed PBKDF2 iterations.
# Variables
No description provided by the author
No description provided by the author
DEK specific errors.
KeyPair specific errors.
No description provided by the author
No description provided by the author
ErrIterationsInvalid indicates iteration count is below minimum.
No description provided by the author
No description provided by the author
Common key operation errors.
No description provided by the author
No description provided by the author
No description provided by the author
ErrUsernameEmpty indicates an empty username was provided.
ErrUsernameInvalid indicates username contains invalid characters.
ErrUsernameLength indicates username exceeds maximum length.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InitialKeyDerivation represents parameters before storage.
InitialKeyPair represents a newly generated key pair before server storage.
KeyDerivation represents parameters as stored in the backend.
KeyPair represents a key pair as stored in the backend.
No description provided by the author
No description provided by the author
UnsealedKeyPair represents an active key pair with access to private key operations.