From 543e4116eb660f817cf806b3a28f760fdfcbecd9 Mon Sep 17 00:00:00 2001 From: Manu Sporny Date: Fri, 29 Dec 2023 19:09:08 -0500 Subject: [PATCH] Clarify that base64url encoding shouldn't have padding. Co-authored-by: Dave Longley --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 1e65114..cbb4867 100644 --- a/index.html +++ b/index.html @@ -553,7 +553,7 @@

BitstringStatusListCredential

credentialSubject.encodedList The `encodedList` property of the credential subject MUST be -the GZIP-compressed [[RFC1952]], base64url-encoded [[RFC4648]] bitstring values +the GZIP-compressed [[RFC1952]], base64url-encoded (with no padding) [[RFC4648]] bitstring values for the associated range of verifiable credential status values. The uncompressed bitstring MUST be at least 16KB in size. The bitstring MUST be encoded such that the first index, with a value of zero @@ -837,7 +837,7 @@

Bitstring Generation Algorithm

  • Generate a |compressed bitstring| by using the GZIP compression algorithm [[RFC1952]] on the |bitstring| -and then base64url-encoding [[RFC4648]] the result. +and then base64url-encoding (with no padding) [[RFC4648]] the result.
  • Return the |compressed bitstring|. @@ -862,7 +862,7 @@

    Bitstring Expansion Algorithm

  • Generate an |uncompressed bitstring| by using the -base64url-decoding [[RFC4648]] algorithm on the +base64url-decoding (with no padding) [[RFC4648]] algorithm on the |compressed bitstring| and then expanding the output using the GZIP decompression algorithm [[RFC1952]].