Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFile ¶ added in v0.7.3
CreateFiles creates the temporary directory and database file
Types ¶
type Keys ¶
type Keys struct { Identifier uuid.UUID Private *age.X25519Identity Public *age.X25519Recipient }
Keys holds the information used for volatile identification of a particular user
func GenerateKeys ¶
@function GenerateKeys @description Generates a (volatile) public and private key pair to be used for intermediary encryption in the frontend @returns Keys, error NOTE: should probably also expect some persistent key based identification to be passed as a parameter to make impersonation harder
Click to show internal directories.
Click to hide internal directories.