Skip to content
This repository has been archived by the owner on Feb 5, 2021. It is now read-only.

Key Wrap API #106

Open
tarcieri opened this issue Nov 25, 2017 · 0 comments
Open

Key Wrap API #106

tarcieri opened this issue Nov 25, 2017 · 0 comments

Comments

@tarcieri
Copy link
Contributor

This is a tracking issue for adding a key wrapping API to Miscreant. Key wrapping was the original impetus for the creation of the AES-SIV construction, and also the impetus for creating Miscreant in the first place.

This API should generate a random encryption key of the desired length (with e.g. a 128-bit minimum), encrypt it under a given algorithm, and return both the randomly generated key and its encrypted form.

Since the key is guaranteed to be generated randomly and therefore never repeats, thanks to the SIV construction we can entirely omit a nonce/associated data, ensuring that ciphertext for wrapped keys are as small as possible.

Implementation Status

This is a tracking issue for adding key wrap support to the various language-specific implementations in this project:

Language Support
Go
Python
Ruby
Rust
TypeScript
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant