Module byztimed::store[][src]

Secret store

This module manages the secret store, which is a cache of cryptographic credentials used for NTS. It stores session keys (C2S and S2C keys), cookies, and the master keys used to encrypt cookies. It’s backed by rkv which is in turn backed by LMDB, but provides an interface which mostly abstracts this away. The only exposed implementation detail is rkv’s StoreError type.

Structs

SecretStore

Interface to the on-filesystem secret store

TempSecretStore

A SecretStore wrapper that deletes the store when dropped

Enums

StoreError

Convenience re-export of rkv::StoreError