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
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
(depends
|
||||
(package (name (bjosodium))
|
||||
(version (version-at-least "0.1.0"))
|
||||
(version (version-at-least "0.2.0"))
|
||||
(source (git (url "https://rikspucko.koketteriet.se/bjoli/bjosodium")))))
|
||||
|
||||
;; A library: there is no src/main.bjo.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue