Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLS uses an empty quoted string for these #4579

Merged
merged 1 commit into from Jan 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .lint.py
Expand Up @@ -7,7 +7,7 @@
parser = argparse.ArgumentParser(description="Lint markdown drafts.")
parser.add_argument("files", metavar="file", nargs="+", help="Files to lint")
parser.add_argument("-l", dest="maxLineLength", default=80)
parser.add_argument("-f", dest="maxFigureLineLength", default=65)
parser.add_argument("-f", dest="maxFigureLineLength", default=66)

args = parser.parse_args()

Expand Down
24 changes: 12 additions & 12 deletions draft-ietf-quic-tls.md
Expand Up @@ -2080,35 +2080,35 @@ The secrets for protecting client packets are:

~~~
client_initial_secret
= HKDF-Expand-Label(initial_secret, "client in", _, 32)
= HKDF-Expand-Label(initial_secret, "client in", "", 32)
= c00cf151ca5be075ed0ebfb5c80323c4
2d6b7db67881289af4008f1f6c357aea

key = HKDF-Expand-Label(client_initial_secret, "quic key", _, 16)
key = HKDF-Expand-Label(client_initial_secret, "quic key", "", 16)
= 1f369613dd76d5467730efcbe3b1a22d

iv = HKDF-Expand-Label(client_initial_secret, "quic iv", _, 12)
iv = HKDF-Expand-Label(client_initial_secret, "quic iv", "", 12)
= fa044b2f42a3fd3b46fb255c

hp = HKDF-Expand-Label(client_initial_secret, "quic hp", _, 16)
hp = HKDF-Expand-Label(client_initial_secret, "quic hp", "", 16)
= 9f50449e04a0e810283a1e9933adedd2
~~~

The secrets for protecting server packets are:

~~~
server_initial_secret
= HKDF-Expand-Label(initial_secret, "server in", _, 32)
= HKDF-Expand-Label(initial_secret, "server in", "", 32)
= 3c199828fd139efd216c155ad844cc81
fb82fa8d7446fa7d78be803acdda951b

key = HKDF-Expand-Label(server_initial_secret, "quic key", _, 16)
key = HKDF-Expand-Label(server_initial_secret, "quic key", "", 16)
= cf3a5331653c364c88f0f379b6067e37

iv = HKDF-Expand-Label(server_initial_secret, "quic iv", _, 12)
iv = HKDF-Expand-Label(server_initial_secret, "quic iv", "", 12)
= 0ac1493ca1905853b0bba03e

hp = HKDF-Expand-Label(server_initial_secret, "quic hp", _, 16)
hp = HKDF-Expand-Label(server_initial_secret, "quic hp", "", 16)
= c206b8d9b9f0f37644430b490eeaa314
~~~

Expand Down Expand Up @@ -2265,18 +2265,18 @@ secret
= 9ac312a7f877468ebe69422748ad00a1
5443f18203a07d6060f688f30f21632b

key = HKDF-Expand-Label(secret, "quic key", _, 32)
key = HKDF-Expand-Label(secret, "quic key", "", 32)
= c6d98ff3441c3fe1b2182094f69caa2e
d4b716b65488960a7a984979fb23e1c8

iv = HKDF-Expand-Label(secret, "quic iv", _, 12)
iv = HKDF-Expand-Label(secret, "quic iv", "", 12)
= e0459b3474bdd0e44a41c144

hp = HKDF-Expand-Label(secret, "quic hp", _, 32)
hp = HKDF-Expand-Label(secret, "quic hp", "", 32)
= 25a282b9e82f06f21f488917a4fc8f1b
73573685608597d0efcb076b0ab7a7a4

ku = HKDF-Expand-Label(secret, "quic ku", _, 32)
ku = HKDF-Expand-Label(secret, "quic ku", "", 32)
= 1223504755036d556342ee9361d25342
1a826c9ecdf3c7148684b36b714881f9
~~~
Expand Down