Skip to content

Commit

Permalink
Add another warning about probably being wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
OR13 committed May 26, 2024
1 parent c6ac004 commit 084cd2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cose/encrypt/hpke/direct.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ const ExtractAndExpand = async (ss: Uint8Array, ct: Uint8Array) => {
}

// 🔥 This relies on unregistered code points.
// Its likely this is not implemented correctly.
// need to follow https://datatracker.ietf.org/doc/html/draft-connolly-cfrg-hpke-mlkem-00#name-encap-and-decap
const sharedSecretToContentEncryptionKey = async (ss: Uint8Array, ct: Uint8Array) => {
return ExtractAndExpand(ss, ct)
Expand Down

0 comments on commit 084cd2d

Please sign in to comment.