package
0.0.0-20220803190637-fd5a09994dda
Repository: https://github.com/usable-security-and-privacy-lab/lets-auth-ca.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
GenerateSecureKey reads and returns n bytes from the crypto/rand reader.
No description provided by the author
NewStore returns a new session store.
No description provided by the author

# Constants

DefaultEncryptionKeyLength is the length of the generated encryption keys used for session management.
No description provided by the author
30 seconds.
Two sessions, one for webauthn registration/login, one for persisting login after webauthn is done.
30 seconds.

# Variables

ErrInsufficientBytesRead is returned in the rare case that an unexpected number of bytes are returned from the crypto/rand reader when creating session cookie encryption keys.
ErrMarshal is returned if unexpected data is present in a webauthn session.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
Store is a wrapper around sessions.CookieStore which provides some helper methods related to webauthn operations.