diff --git a/internal/handshake/initial_aead.go b/internal/handshake/initial_aead.go index 28ea2a95..da794c5c 100644 --- a/internal/handshake/initial_aead.go +++ b/internal/handshake/initial_aead.go @@ -8,7 +8,7 @@ import ( "github.com/marten-seemann/qtls" ) -var quicVersion1Salt = []byte{0xef, 0x4f, 0xb0, 0xab, 0xb4, 0x74, 0x70, 0xc4, 0x1b, 0xef, 0xcf, 0x80, 0x31, 0x33, 0x4f, 0xae, 0x48, 0x5e, 0x09, 0xa0} +var quicVersion1Salt = []byte{0x7f, 0xbc, 0xdb, 0x0e, 0x7c, 0x66, 0xbb, 0xe9, 0x19, 0x3a, 0x96, 0xcd, 0x21, 0x51, 0x9e, 0xbd, 0x7a, 0x02, 0x64, 0x4a} // NewInitialAEAD creates a new AEAD for Initial encryption / decryption. func NewInitialAEAD(connID protocol.ConnectionID, pers protocol.Perspective) (LongHeaderSealer, LongHeaderOpener, error) { diff --git a/internal/handshake/initial_aead_test.go b/internal/handshake/initial_aead_test.go index 87b82895..0cac773b 100644 --- a/internal/handshake/initial_aead_test.go +++ b/internal/handshake/initial_aead_test.go @@ -31,7 +31,8 @@ var _ = Describe("Initial AEAD using AES-GCM", func() { }) // values taken from https://github.com/quicwg/base-drafts/wiki/Test-Vector-for-the-Clear-Text-AEAD-key-derivation - Context("using the test vector from the QUIC draft", func() { + // The draft didn't update the test vectors for -22. + PContext("using the test vector from the QUIC draft", func() { var connID protocol.ConnectionID BeforeEach(func() {