lsd0001

LSD0001: GNU Name System
Log | Files | Refs | README

commit 48c22e541507d819a0f50810ad407260f48ac6ef
parent 518369161f62b33412e1d5e409fa207bee92edbe
Author: Schanzenbach, Martin <mschanzenbach@posteo.de>
Date:   Sun,  8 Sep 2019 11:51:45 +0200

update

Diffstat:
Mdraft-schanzen-gns.txt | 148++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------
Mdraft-schanzen-gns.xml | 93+++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------
2 files changed, 169 insertions(+), 72 deletions(-)

diff --git a/draft-schanzen-gns.txt b/draft-schanzen-gns.txt @@ -63,15 +63,15 @@ Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 2. Resource Records . . . . . . . . . . . . . . . . . . . . . . 2 2.1. Wire format . . . . . . . . . . . . . . . . . . . . . . . 2 - 2.2. Examples . . . . . . . . . . . . . . . . . . . . . . . . 3 - 2.3. Serialization format . . . . . . . . . . . . . . . . . . 3 - 2.4. Internationalization and Character Encoding . . . . . . . 3 - 2.5. Security Considerations . . . . . . . . . . . . . . . . . 3 - 3. Record Resolution . . . . . . . . . . . . . . . . . . . . . . 3 - 4. Namespace Revocation . . . . . . . . . . . . . . . . . . . . 4 - 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 4 - 6. Normative References . . . . . . . . . . . . . . . . . . . . 4 - Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 4 + 2.2. Examples . . . . . . . . . . . . . . . . . . . . . . . . 4 + 2.3. Serialization format . . . . . . . . . . . . . . . . . . 4 + 2.4. Internationalization and Character Encoding . . . . . . . 4 + 2.5. Security Considerations . . . . . . . . . . . . . . . . . 5 + 3. Record Resolution . . . . . . . . . . . . . . . . . . . . . . 5 + 4. Namespace Revocation . . . . . . . . . . . . . . . . . . . . 5 + 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 5 + 6. Normative References . . . . . . . . . . . . . . . . . . . . 5 + Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 5 1. Introduction @@ -116,29 +116,94 @@ Internet-Draft The GNU Name System July 2019 A GNS resource record has the following format: - 0 1 2 3 4 5 6 7 - +-----+-----+-----+-----+-----+-----+-----+-----+ - | SIGNATURE | - | | - | | - | | - +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ - | PUBLIC KEY | - | | - +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ - | SIZE | - +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ - | PURPOSE | - | | - +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ - | EXPIRATION | - +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ - / RDATA / - / / - +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ + 0 1 2 3 4 5 6 7 + +-----+-----+-----+-----+-----+-----+-----+-----+ + | SIGNATURE | + | | + | | + | | + | | + | | + | | + | | + +-----+-----+-----+-----+-----+-----+-----+-----+ + | ECDH PUBLIC KEY | + | | + | | + | | + +-----+-----+-----+-----+-----+-----+-----+-----+ + | BDATA SET SIZE | PURPOSE | + +-----+-----+-----+-----+-----+-----+-----+-----+ + | EXPIRATION | + +-----+-----+-----+-----+-----+-----+-----+-----+ + / BDATA SET / + / / + +-----+-----+-----+-----+-----+-----+-----+-----+ Figure 1 + + + + + + + + + + + + + + + + + + + + + + + +Schanzenbach Expires January 24, 2020 [Page 3] + +Internet-Draft The GNU Name System July 2019 + + + A single entry in the decrypted BDATA SET has the following format: + + 0 1 2 3 4 5 6 7 + +-----+-----+-----+-----+-----+-----+-----+-----+ + | EXPIRATION | + +-----+-----+-----+-----+-----+-----+-----+-----+ + | PUBLIC KEY | + | | + | | + | | + +-----+-----+-----+-----+-----+-----+-----+-----+ + | RDATA SIZE | TYPE | + +-----+-----+-----+-----+-----+-----+-----+-----+ + | FLAGS | RDATA | + +-----+-----+-----+-----+ | + / / + / / + | | + +-----+-----+-----+-----+-----+-----+-----+-----+ + + Figure 2 + + The a PKEY RDATA has the following format: + + 0 1 2 3 4 5 6 7 + +-----+-----+-----+-----+-----+-----+-----+-----+ + | PUBLIC KEY | + | | + | | + | | + +-----+-----+-----+-----+-----+-----+-----+-----+ + + Figure 3 + 2.2. Examples TODO @@ -151,24 +216,23 @@ Internet-Draft The GNU Name System July 2019 TODO -2.5. Security Considerations - TODO -3. Record Resolution - - TODO +Schanzenbach Expires January 24, 2020 [Page 4] + +Internet-Draft The GNU Name System July 2019 +2.5. Security Considerations + TODO -Schanzenbach Expires January 24, 2020 [Page 3] - -Internet-Draft The GNU Name System July 2019 +3. Record Resolution + TODO 4. Namespace Revocation @@ -213,12 +277,4 @@ Author's Address - - - - - - - - -Schanzenbach Expires January 24, 2020 [Page 4] +Schanzenbach Expires January 24, 2020 [Page 5] diff --git a/draft-schanzen-gns.xml b/draft-schanzen-gns.xml @@ -72,34 +72,75 @@ <t> TODO </t> - <figure anchor="figure_example"> - <preamble>A GNS resource record has the following format:</preamble> - <artwork> - 0 1 2 3 4 5 6 7 - +-----+-----+-----+-----+-----+-----+-----+-----+ - | SIGNATURE | - | | - | | - | | - +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ - | PUBLIC KEY | - | | - +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ - | SIZE | - +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ - | PURPOSE | - | | - +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ - | EXPIRATION | - +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ - / RDATA / - / / - +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ - </artwork> - <!-- <postamble>which is a very simple example.</postamble>--> - </figure> + <figure anchor="figure_record_block"> + <preamble>A GNS resource record has the following format:</preamble> + <artwork> + 0 1 2 3 4 5 6 7 + +-----+-----+-----+-----+-----+-----+-----+-----+ + | SIGNATURE | + | | + | | + | | + | | + | | + | | + | | + +-----+-----+-----+-----+-----+-----+-----+-----+ + | ECDH PUBLIC KEY | + | | + | | + | | + +-----+-----+-----+-----+-----+-----+-----+-----+ + | BDATA SET SIZE | PURPOSE | + +-----+-----+-----+-----+-----+-----+-----+-----+ + | EXPIRATION | + +-----+-----+-----+-----+-----+-----+-----+-----+ + / BDATA SET / + / / + +-----+-----+-----+-----+-----+-----+-----+-----+ + </artwork> + <!-- <postamble>which is a very simple example.</postamble>--> + </figure> + <figure anchor="figure_gnsrecord"> + <preamble>A single entry in the decrypted BDATA SET has the following format:</preamble> + <artwork> + 0 1 2 3 4 5 6 7 + +-----+-----+-----+-----+-----+-----+-----+-----+ + | EXPIRATION | + +-----+-----+-----+-----+-----+-----+-----+-----+ + | PUBLIC KEY | + | | + | | + | | + +-----+-----+-----+-----+-----+-----+-----+-----+ + | RDATA SIZE | TYPE | + +-----+-----+-----+-----+-----+-----+-----+-----+ + | FLAGS | RDATA | + +-----+-----+-----+-----+ | + / / + / / + | | + +-----+-----+-----+-----+-----+-----+-----+-----+ + </artwork> + <!-- <postamble>which is a very simple example.</postamble>--> + </figure> + + <figure anchor="figure_pkeyrecord"> + <preamble>The a PKEY RDATA has the following format:</preamble> + <artwork> + 0 1 2 3 4 5 6 7 + +-----+-----+-----+-----+-----+-----+-----+-----+ + | PUBLIC KEY | + | | + | | + | | + +-----+-----+-----+-----+-----+-----+-----+-----+ + </artwork> + <!-- <postamble>which is a very simple example.</postamble>--> + </figure> </section> + <section anchor="examples" title="Examples"> <t> TODO