From d429ce14a8e48d8d047400eacb5edbbe4f75adfd Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Sat, 13 Jun 2020 22:53:52 +0200 Subject: [PATCH] define flags to be 257. Closes #20 --- .../draft-vandijk-dprive-ds-dot-signal-and-pin.md | 13 +++++++++---- poc/test.go | 2 +- poc/test.py | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/draft-vandijk-dprive-ds-dot-signal-and-pin/draft-vandijk-dprive-ds-dot-signal-and-pin.md b/draft-vandijk-dprive-ds-dot-signal-and-pin/draft-vandijk-dprive-ds-dot-signal-and-pin.md index 30b27be..6030766 100644 --- a/draft-vandijk-dprive-ds-dot-signal-and-pin/draft-vandijk-dprive-ds-dot-signal-and-pin.md +++ b/draft-vandijk-dprive-ds-dot-signal-and-pin/draft-vandijk-dprive-ds-dot-signal-and-pin.md @@ -103,6 +103,9 @@ Algorithm support SHOULD be handled at the TLS handshake level, which means a DN The pseudo DNSKEY record MUST NOT be present in the zone. The procedure for hashing the pseudo DNSKEY record is the same as for a normal DNSKEY as defined in RFC4034. +As DNSKEY algorithm TBD is not meant to be used for Zone Signing, the existing ZONE and SEP flags do not mean anything. +This specification statically defines the flags value as 257 for optimal compatibility with existing registry operations. + The pseudo DNSKEY type can be used in CDNSKEY and CDS (as defined in [@!RFC7344]) records. These records MAY be present in the zone. For those familiar with TLSA ([@RFC6698]), key matching for this protocol is identical to that provided by `TLSA 3 1 0` for (C)DNSKEY. @@ -116,6 +119,8 @@ We assume that we are working with a domain `example.com.` with one name server, ## Generating and placing the (C)DNSKEY/DS records +[NOTE: this section uses '225' instead of 'TBD' because otherwise the code does not work. We need to fix this before publication.] + We will walk you through the CDNSKEY/DS generation, demonstrating it in terms of basic shell scripting and some common tools. First, we extract the SubjectPublicKeyInfo: @@ -152,13 +157,13 @@ openssl s_client -connect ns.example.com:853