Page MenuHomePhabricator

Bug 1681585 - Add ECH support to selfserv.
ClosedPublic

Authored by kjacobs on Jan 7 2021, 7:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 27, 6:56 PM
Unknown Object (File)
Sun, Sep 20, 4:57 AM
Unknown Object (File)
Sun, Sep 20, 4:57 AM
Unknown Object (File)
Sun, Sep 13, 10:30 AM
Unknown Object (File)
Sat, Sep 12, 4:54 PM
Unknown Object (File)
Sat, Sep 12, 8:16 AM
Unknown Object (File)
Sat, Sep 12, 3:06 AM
Unknown Object (File)
Fri, Sep 11, 9:27 AM
Subscribers
None

Details

Summary

Usage example:
mkdir dbdir && cd dbdir
certutil -N -d .
certutil -S -s "CN=ech-public.com" -n ech-public.com -x -t "C,C,C" -m 1234 -d .
certutil -S -s "CN=ech-private-backend.com" -n ech-private-backend.com -x -t "C,C,C" -m 2345 -d .
../dist/Debug/bin/selfserv -a ech-public.com -a ech-private-backend.com -n ech-public.com -n ech-private-backend.com -p 8443 -d dbdir/ -X publicname:ech-public.com
(Copy echconfig from selfserv output and paste into the below command)
../dist/Debug/bin/tstclnt -D -p 8443 -v -A tests/ssl/sslreq.dat -h ech-private-backend.com -o -N <echconfig> -v

Diff Detail

Repository
rNSS nss

Event Timeline

phab-bot published this revision for review.Jan 7 2021, 7:18 PM
phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: secure-revision.
kjacobs edited the summary of this revision. (Show Details)

For the interop runner, we need to take the HPKE keypair and echconfigs as input rather than generating them. I'm going to revise this accordingly.

kjacobs edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Jan 17 2021, 10:34 PM