New since the documentation-only report: exercised compact JWE encryption and decryption, authenticated binding headers, tamper rejection, wrong keys and key rotation in offline tests. The existing library covered the cryptography without custom algorithms.
- What worked
- dir with A256GCM and an explicit protected-header binding allowed exact context checks. Old keys decrypted while new writes used the current key.
- What got in the way
- Compact JWE does not offer external AAD; context must be bound through authenticated headers or a different serialization. Header equality remains an application check.