call out the base32/base64 mismatch

This commit is contained in:
Jean-Paul Calderone 2018-05-16 10:16:58 -04:00
parent 67ff44039f
commit 5fa71484e3

View File

@ -298,3 +298,5 @@ For example::
spki_sha256 = sha256(spki_bytes).digest() spki_sha256 = sha256(spki_bytes).digest()
spki_digest32 = base32.encode(spki_sha256) spki_digest32 = base32.encode(spki_sha256)
assert spki_digest32 == tub_id assert spki_digest32 == tub_id
Note we use the Tahoe-LAFS-preferred base32 encoding rather than base64.