Skip to content

Commit

Permalink
Updates salt for draft-29
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiraux committed Jul 1, 2020
1 parent e540b11 commit e76b77f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ A test suite for QUIC


The test suite comprises a minimal Go implementation of QUIC which is
currently draft-27 and TLS-1.3 compatible, as well as several
currently draft-29 and TLS-1.3 compatible, as well as several
test scenarii built upon this implementation. The test suite outputs its
result as JSON files, which contains the result, the decrypted packets
exchanged, as well as a pcap file and exporter secrets.
Expand Down
6 changes: 3 additions & 3 deletions common.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ import (
)

// TODO: Reconsider the use of global variables
var QuicVersion uint32 = 0xff00001c // See https://tools.ietf.org/html/draft-ietf-quic-transport-08#section-4
var QuicALPNToken = "hq-28" // See https://www.ietf.org/mail-archive/web/quic/current/msg01882.html
var QuicH3ALPNToken = "h3-28" // See https://tools.ietf.org/html/draft-ietf-quic-http-17#section-2.1
var QuicVersion uint32 = 0xff00001d // See https://tools.ietf.org/html/draft-ietf-quic-transport-08#section-4
var QuicALPNToken = "hq-29" // See https://www.ietf.org/mail-archive/web/quic/current/msg01882.html
var QuicH3ALPNToken = "h3-29" // See https://tools.ietf.org/html/draft-ietf-quic-http-17#section-2.1

const (
MinimumInitialLength = 1252
Expand Down
8 changes: 4 additions & 4 deletions crypto.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"github.com/mpiraux/pigotls"
)

var quicVersionSalt = []byte{ // See https://tools.ietf.org/html/draft-ietf-quic-tls-23#section-5.2
0xc3, 0xee, 0xf7, 0x12, 0xc7, 0x2e, 0xbb, 0x5a,
0x11, 0xa7, 0xd2, 0x43, 0x2b, 0xb4, 0x63, 0x65,
0xbe, 0xf9, 0xf5, 0x02,
var quicVersionSalt = []byte{ // See https://tools.ietf.org/html/draft-ietf-quic-tls-29#section-5.2
0xaf, 0xbf, 0xec, 0x28, 0x99, 0x93, 0xd2, 0x4c,
0x9e, 0x97, 0x86, 0xf1, 0x9c, 0x61, 0x11, 0xe0,
0x43, 0x90, 0xa8, 0x99,
}

const (
Expand Down

0 comments on commit e76b77f

Please sign in to comment.