Re: [Integrity] typos with ni URIs

James Manger wrote:
> The ni:///sha-512 URI in 3.2.1 "Agility" needs to omit the "=" padding at
> the end of the base64url encoded value. See RFC6920 section 3 definition of
> "Digest Value":
>
>   "The digest value MUST be encoded using the base64url
>
>    [RFC4648] encoding, with no "=" padding characters."

The specification shouldn't forbid the "=" padding characters. The
fact that the draft specification has included the padding multiple
times is good evidence that authors are going to include the padding
too. It is trivial for an implementation to strip the padding. The
specification should be changed to allow the padding and to require
implementations to strip it. This would make the spec more "webby" and
author-friendly.

Cheers,
Brian

Received on Thursday, 15 January 2015 01:38:00 UTC