Module secret

Source
Expand description

API to store the data of a session in a secret store on the system.

Re-exports§

pub use self::linux::restore_sessions;
pub use self::linux::store_session;

Modules§

linux 🔒
Linux API to store the data of a session, using the Secret Service or Secret portal.

Structs§

Secret
A Secret that can be stored in the SecretService.
StoredSession
A session, as stored in the secret service.

Enums§

SecretError
Any error that can happen when interacting with the secret service.

Constants§

PASSPHRASE_LENGTH
The length of a passphrase, in chars or bytes as the string is ASCII.
SESSION_ID_LENGTH
The length of a session ID, in chars or bytes as the string is ASCII.