Skip to content

Commit

Permalink
Clarify that base64url encoding shouldn't have padding.
Browse files Browse the repository at this point in the history
Co-authored-by: Dave Longley <[email protected]>
  • Loading branch information
msporny and dlongley committed Jan 13, 2024
1 parent 7883615 commit 543e411
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ <h3>BitstringStatusListCredential</h3>
<td id="encodedList">credentialSubject.encodedList</td>
<td>
The `encodedList` property of the credential <a>subject</a> 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 <a>verifiable credential</a> 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
Expand Down Expand Up @@ -837,7 +837,7 @@ <h3>Bitstring Generation Algorithm</h3>
<li>
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.
</li>
<li>
Return the |compressed bitstring|.
Expand All @@ -862,7 +862,7 @@ <h3>Bitstring Expansion Algorithm</h3>
</li>
<li>
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]].
</li>
Expand Down

0 comments on commit 543e411

Please sign in to comment.