-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BIP155: Mention SHA3-256 explicitly #1002
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bip-0155.mediawiki
Outdated
@@ -166,10 +166,11 @@ onion_address = base32(PUBKEY | CHECKSUM | VERSION) + ".onion" | |||
CHECKSUM = H(".onion checksum" | PUBKEY | VERSION)[:2] | |||
|
|||
where: | |||
- PUBKEY is the 32 bytes ed25519 master pubkey of the hidden service. | |||
- PUBKEY is the 32 bytes ed25519 master pubkey of the hidden service | |||
- VERSION is an one byte version field (default value '\x03') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While here, if you are inclined to, could s/an one/a one/
and remove the EOL whitespace at line 155: The new message introduces a separate network ID for <code>TORV2</code>.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
a5a6a50
to
6ef71b3
Compare
ACK 6ef71b3 Duplicating the Tor spec into this BIP does not seem very useful to me, but, ok, since we already have some of it, why not clarify what is |
ACK 6ef71b3
The reason part of the Tor spec is rehashed here is because the specific
internals of the address format are relevant to the encoding.
…On Mon, Oct 5, 2020, 19:24 Luke Dashjr ***@***.***> wrote:
Assigned #1002 <#1002> to @laanwj
<https://github.com/laanwj>.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#1002 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA65NV7XYQS7FYPJRDG5HDSJH6LDANCNFSM4R3OCQFQ>
.
|
It seems better to clarify that
CHECKSUM
in Tor onion v3 address uses SHA3-256 hash function.