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 IVplain = open_sealed(GCM, kek_v1, n1, AAD, *wrapped) # unwrap with v1, then wrap again with v2Related terms
- envelope encryption — Encrypting data locally with a data key, then encrypting that data key with a master key held in a key service, and storing both together.
- AES — The Advanced Encryption Standard: the widely used symmetric encryption algorithm standardised by NIST.
- KEK — A key used only to encrypt other keys, never data directly.
- DEK — The key that actually encrypts a piece of data, such as a file, database or disk, in envelope encryption.
- AEAD — Authenticated encryption with associated data: encryption that keeps data secret and also detects any change to it or to an attached readable header.
Taught in
- Zero-Trust Network Access & IdP Federation — Cloud Security & DevSecOps Engineering
- Supply Chain Security: SBOMs & Cosign Signing — Cloud Security & DevSecOps Engineering
- Container Hardening: Distroless & Rootless — Cloud Security & DevSecOps Engineering
- Envelope Encryption & Data Protection with KMS — Cloud Security & DevSecOps Engineering
- Post-Quantum Cryptography & Key Lifecycles — Cybersecurity Fundamentals, GRC & Cryptography