From 42d5e182466be1a4b9509b0f0ec4bf19b9561ce4 Mon Sep 17 00:00:00 2001 From: Vi Grey Date: Sun, 8 Oct 2023 19:37:18 +0000 Subject: Change Base to Encoding in GAME_IDENTIFIER packet --- CHANGELOG.md | 6 +++ docs/latest/draft-tasd-spec.html | 10 ++--- docs/latest/draft-tasd-spec.txt | 62 +++++++++++++-------------- docs/tasd-spec-0001/draft-tasd-spec-0001.html | 10 ++--- docs/tasd-spec-0001/draft-tasd-spec-0001.txt | 62 +++++++++++++-------------- src/docs/draft-tasd-spec-0001.xml | 14 +++--- 6 files changed, 86 insertions(+), 78 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf7da0d..1e77cc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), although currently without version numbers added. +## 2023-10-08 + +### Changed +- Base to Encoding in GAME_IDENTIFIER packet + + ## 2023-10-08 ### Changed diff --git a/docs/latest/draft-tasd-spec.html b/docs/latest/draft-tasd-spec.html index 97e2188..e4be46b 100644 --- a/docs/latest/draft-tasd-spec.html +++ b/docs/latest/draft-tasd-spec.html @@ -2883,9 +2883,9 @@ li > p:last-of-type:only-child {
            0          1          2         3...       3+NLEN...
-      +----------+----------+----------+==========+================+
-      | Type (A) | Base (A) | NLEN (N) | Name (S) | Identifier (A) |
-      +----------+----------+----------+==========+================+
+      +----------+--------------+----------+==========+================+
+      | Type (A) | Encoding (A) | NLEN (N) | Name (S) | Identifier (A) |
+      +----------+--------------+----------+==========+================+
 
       Type (Binary Data):                     [1 octet]
          [01] - MD5 Hash
@@ -2903,7 +2903,7 @@ li > p:last-of-type:only-child {
          [0D] - SHAKE-128 Hash
          [0E] - SHAKE-256 Hash
          [FF] - Other
-      Base (Binary Data):                     [1 octet]
+      Encoding (Binary Data):                 [1 octet]
          [01] - Raw Binary
          [02] - Case Insensitive Base 16 (Hex) - RFC 4648
          [03] - Case Insensitive Base 32 - RFC 4648
@@ -2919,7 +2919,7 @@ li > p:last-of-type:only-child {
               
Hash, checksum, or identifier algorithm Identifier is using.
-
Base
+
Encoding
Describes the data encoding of Identifier.
diff --git a/docs/latest/draft-tasd-spec.txt b/docs/latest/draft-tasd-spec.txt index 4ce0604..ef2f59e 100644 --- a/docs/latest/draft-tasd-spec.txt +++ b/docs/latest/draft-tasd-spec.txt @@ -1082,41 +1082,41 @@ Table of Contents GAME_IDENTIFIER packets MUST be in the following format: - 0 1 2 3... 3+NLEN... - +----------+----------+----------+==========+================+ - | Type (A) | Base (A) | NLEN (N) | Name (S) | Identifier (A) | - +----------+----------+----------+==========+================+ - - Type (Binary Data): [1 octet] - [01] - MD5 Hash - [02] - SHA1 Hash - [03] - SHA224 Hash - [04] - SHA256 Hash - [05] - SHA384 Hash - [06] - SHA512 Hash - [07] - SHA512/224 Hash - [08] - SHA512/256 Hash - [09] - SHA3-224 Hash - [0A] - SHA3-256 Hash - [0B] - SHA3-384 Hash - [0C] - SHA3-512 Hash - [0D] - SHAKE-128 Hash - [0E] - SHAKE-256 Hash - [FF] - Other - Base (Binary Data): [1 octet] - [01] - Raw Binary - [02] - Case Insensitive Base 16 (Hex) - RFC 4648 - [03] - Case Insensitive Base 32 - RFC 4648 - [04] - Base 64 - RFC 4648 - [FF] - Other - NLEN (Unsigned Integer) [1 octet] - Name (String) [NLEN octets] - Identifier (Binary Data) [PLEN - 2 octets] + 0 1 2 3... 3+NLEN... + +----------+--------------+----------+==========+================+ + | Type (A) | Encoding (A) | NLEN (N) | Name (S) | Identifier (A) | + +----------+--------------+----------+==========+================+ + + Type (Binary Data): [1 octet] + [01] - MD5 Hash + [02] - SHA1 Hash + [03] - SHA224 Hash + [04] - SHA256 Hash + [05] - SHA384 Hash + [06] - SHA512 Hash + [07] - SHA512/224 Hash + [08] - SHA512/256 Hash + [09] - SHA3-224 Hash + [0A] - SHA3-256 Hash + [0B] - SHA3-384 Hash + [0C] - SHA3-512 Hash + [0D] - SHAKE-128 Hash + [0E] - SHAKE-256 Hash + [FF] - Other + Encoding (Binary Data): [1 octet] + [01] - Raw Binary + [02] - Case Insensitive Base 16 (Hex) - RFC 4648 + [03] - Case Insensitive Base 32 - RFC 4648 + [04] - Base 64 - RFC 4648 + [FF] - Other + NLEN (Unsigned Integer) [1 octet] + Name (String) [NLEN octets] + Identifier (Binary Data) [PLEN - 2 octets] *Type* Hash, checksum, or identifier algorithm *Identifier* is using. - *Base* + *Encoding* Describes the data encoding of *Identifier*. *NLEN* diff --git a/docs/tasd-spec-0001/draft-tasd-spec-0001.html b/docs/tasd-spec-0001/draft-tasd-spec-0001.html index 97e2188..e4be46b 100644 --- a/docs/tasd-spec-0001/draft-tasd-spec-0001.html +++ b/docs/tasd-spec-0001/draft-tasd-spec-0001.html @@ -2883,9 +2883,9 @@ li > p:last-of-type:only-child {
            0          1          2         3...       3+NLEN...
-      +----------+----------+----------+==========+================+
-      | Type (A) | Base (A) | NLEN (N) | Name (S) | Identifier (A) |
-      +----------+----------+----------+==========+================+
+      +----------+--------------+----------+==========+================+
+      | Type (A) | Encoding (A) | NLEN (N) | Name (S) | Identifier (A) |
+      +----------+--------------+----------+==========+================+
 
       Type (Binary Data):                     [1 octet]
          [01] - MD5 Hash
@@ -2903,7 +2903,7 @@ li > p:last-of-type:only-child {
          [0D] - SHAKE-128 Hash
          [0E] - SHAKE-256 Hash
          [FF] - Other
-      Base (Binary Data):                     [1 octet]
+      Encoding (Binary Data):                 [1 octet]
          [01] - Raw Binary
          [02] - Case Insensitive Base 16 (Hex) - RFC 4648
          [03] - Case Insensitive Base 32 - RFC 4648
@@ -2919,7 +2919,7 @@ li > p:last-of-type:only-child {
               
Hash, checksum, or identifier algorithm Identifier is using.
-
Base
+
Encoding
Describes the data encoding of Identifier.
diff --git a/docs/tasd-spec-0001/draft-tasd-spec-0001.txt b/docs/tasd-spec-0001/draft-tasd-spec-0001.txt index 4ce0604..ef2f59e 100644 --- a/docs/tasd-spec-0001/draft-tasd-spec-0001.txt +++ b/docs/tasd-spec-0001/draft-tasd-spec-0001.txt @@ -1082,41 +1082,41 @@ Table of Contents GAME_IDENTIFIER packets MUST be in the following format: - 0 1 2 3... 3+NLEN... - +----------+----------+----------+==========+================+ - | Type (A) | Base (A) | NLEN (N) | Name (S) | Identifier (A) | - +----------+----------+----------+==========+================+ - - Type (Binary Data): [1 octet] - [01] - MD5 Hash - [02] - SHA1 Hash - [03] - SHA224 Hash - [04] - SHA256 Hash - [05] - SHA384 Hash - [06] - SHA512 Hash - [07] - SHA512/224 Hash - [08] - SHA512/256 Hash - [09] - SHA3-224 Hash - [0A] - SHA3-256 Hash - [0B] - SHA3-384 Hash - [0C] - SHA3-512 Hash - [0D] - SHAKE-128 Hash - [0E] - SHAKE-256 Hash - [FF] - Other - Base (Binary Data): [1 octet] - [01] - Raw Binary - [02] - Case Insensitive Base 16 (Hex) - RFC 4648 - [03] - Case Insensitive Base 32 - RFC 4648 - [04] - Base 64 - RFC 4648 - [FF] - Other - NLEN (Unsigned Integer) [1 octet] - Name (String) [NLEN octets] - Identifier (Binary Data) [PLEN - 2 octets] + 0 1 2 3... 3+NLEN... + +----------+--------------+----------+==========+================+ + | Type (A) | Encoding (A) | NLEN (N) | Name (S) | Identifier (A) | + +----------+--------------+----------+==========+================+ + + Type (Binary Data): [1 octet] + [01] - MD5 Hash + [02] - SHA1 Hash + [03] - SHA224 Hash + [04] - SHA256 Hash + [05] - SHA384 Hash + [06] - SHA512 Hash + [07] - SHA512/224 Hash + [08] - SHA512/256 Hash + [09] - SHA3-224 Hash + [0A] - SHA3-256 Hash + [0B] - SHA3-384 Hash + [0C] - SHA3-512 Hash + [0D] - SHAKE-128 Hash + [0E] - SHAKE-256 Hash + [FF] - Other + Encoding (Binary Data): [1 octet] + [01] - Raw Binary + [02] - Case Insensitive Base 16 (Hex) - RFC 4648 + [03] - Case Insensitive Base 32 - RFC 4648 + [04] - Base 64 - RFC 4648 + [FF] - Other + NLEN (Unsigned Integer) [1 octet] + Name (String) [NLEN octets] + Identifier (Binary Data) [PLEN - 2 octets] *Type* Hash, checksum, or identifier algorithm *Identifier* is using. - *Base* + *Encoding* Describes the data encoding of *Identifier*. *NLEN* diff --git a/src/docs/draft-tasd-spec-0001.xml b/src/docs/draft-tasd-spec-0001.xml index 6a1f4aa..35f3945 100644 --- a/src/docs/draft-tasd-spec-0001.xml +++ b/src/docs/draft-tasd-spec-0001.xml @@ -786,9 +786,9 @@ GAME_IDENTIFIER packets MUST be in the following format:
Type
Hash, checksum, or identifier algorithm Identifier is using.
-
Base
+
Encoding
Describes the data encoding of Identifier.
NLEN
Length of Name
Name
-
Name of Type meant if the hash, checksum, or identifier algorithm Identifier is using is not included in Type. If Type is [FF], Name SHOULD NOT be empty (0 octet length string).
+
Name of Type meant if the hash, checksum, or identifier algorithm Identifier is using is not included in Type. If Type is [FF], Name SHOULD NOT be empty (0 octet length string).
Identifier
Game hash, checksum, or identifier data.
PLEN
@@ -1922,6 +1922,8 @@