bjosodium 0.2.0: keys are AeadKey, nonces AeadNonce, costs explicit
- The DEK of a vault, its earlier keys and the KEKs are AeadKey. Unlocked and the vault hold them so; copies of their bytes are wiped after a wrap or an unwrap. - Nonces are AeadNonce, made with (bjosodium raw) and read back from the files with bytes->aead-nonce. - The Argon2id cost of a slot is given as an Argon2idCost, from KeyCost. - A key id comes from random-bytes. - The file formats do not change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
a4b2aaf94e
commit
3e07b6be4c
6 changed files with 80 additions and 54 deletions
4
bjo.lock
4
bjo.lock
|
|
@ -1,5 +1,5 @@
|
|||
(lock
|
||||
(locked
|
||||
(package (name (bjosodium)) (version "0.1.0")
|
||||
(package (name (bjosodium)) (version "0.2.0")
|
||||
(source (git (url "https://rikspucko.koketteriet.se/bjoli/bjosodium")))
|
||||
(commit "911f4bcc4676ca6393f8eb43286fdddd69cf6b5665aca0770ceaf869fb73767b"))))
|
||||
(commit "2be75d9b22691b44d571ef4fa8516390ca9a47a4d64a3d92b39d6f9878627b13"))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue