key wrapping

Encrypting one key with another key, using an algorithm designed for keys such as AES key wrap.

In more detail

Wrapping algorithms add an integrity check, so a wrapped key that was altered fails to unwrap instead of producing a wrong key. Key services use it to store data keys safely beside the data.

Examples

The course imitates KMS with openssl's id-aes256-wrap cipher, which uses the RFC 3394 default IV
plain = open_sealed(GCM, kek_v1, n1, AAD, *wrapped)  # unwrap with v1, then wrap again with v2

Related terms

Taught in

References