Closed Bug 1692930 Opened 5 years ago Closed 5 years ago

Update HPKE version to final

Categories

(NSS :: Libraries, enhancement, P1)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mt, Assigned: mt)

References

()

Details

(Whiteboard: [nss-fx])

Attachments

(1 file)

The CFRG (specifically, the editors of the draft) have published a version with final strings and test vectors. We should update to that.

This will require some coordination as our ECH implementation depends on a draft version currently. So any changes here can't land until ECH is updated and we have arranged with server deployments to use the new ECH version. No harm in getting things prepared though.

This adds the final HPKE version string.

This removes the draft version markers from the implementation and stops
tracking the draft version with the exported syntax.

I've added the script that I used to convert the JSON test vectors from the
specification; that should allow us to pick up new tests relatively easily,
especially if we need to add new algorithms.

This change breaks several ECH test cases. As fixing those tests is
extraordinarily fiddly, I'm going to defer making those changes until we need to
update ECH. As we can't land this code until ECH is updated to depend on the
final HPKE and until we have coordinated with servers on when the ECH update can
be deployed, it should be OK to defer.

In short, don't land this without the matching ECH changes.

Severity: -- → S1
Priority: -- → P1
Whiteboard: [nss-fx]
Blocks: 1698017
Blocks: 1698419
Assignee: nobody → mt
Status: NEW → ASSIGNED
Type: task → enhancement
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.65
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: