seal, unseal: archives encrypted and signed through transit #9
Labels
No labels
wayfinder:task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
mikluko/baox#9
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Question
baox sealandbaox unsealprotect an archive kept in untrusted object storage:transit/datakey/plaintext/<key>, AES-256-GCM locally, the wrapped key stored beside the ciphertext, an ed25519 signature fromtransit/sign/<key>over the hashes of both.transit/verifyfirst, thentransit/decryptof the wrapped key, then decryption. A bad signature fails before anything is decrypted.Streams, so an archive of several gigabytes does not need to fit in memory. Key names come from the config file.