Re: SHA256 + base64 fingerprint format

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Mon, 14 Nov 2016, Ryuzo Yamamoto wrote:

> Hi,
> I'm now adding fingerprint format method to golang crypt library.
> Here is the change set for it:
> https://go-review.googlesource.com/#/c/32814/
> 
> I'd like to make sure why the trailing "=" is removed from the result of
> base64.
> Does anybody know?

I trimmed them because they add no information to the fingerprint - they
are always present in the plain b64 encoding given the mismatch between
SHA256's output size and base64's "block" size but they don't represent
any bits of the hash.

Also they're ugly :)

-d
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux