[prev in list] [next in list] [prev in thread] [next in thread]
List: tor-dev
Subject: [tor-dev] How do Ed25519 relay IDs look like?
From: nusenu <nusenu-lists () riseup ! net>
Date: 2020-07-31 21:32:20
Message-ID: 3e4ae1c9-40cf-62f9-dd72-a3e4f5cf387a () riseup ! net
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
[Attachment #4 (multipart/mixed)]
> The only question that came up was: Will there be two types of relay fingerprints
> in the future (Ed25519)?
I assume the correct proposal for the Ed25519 keys is this:
https://gitweb.torproject.org/torspec.git/tree/proposals/220-ecc-id-keys.txt
I'm wondering what kind of format is used for a relay's Ed25519 ID in tor?
The spec says base64:
> When an ed25519 signature is present, there MAY be a "master-key-ed25519"
> element containing the base64 encoded ed25519 master key as a single
> argument. If it is present, it MUST match the identity key in
> the certificate.
examples:
grep master-key-ed 2020-07-28-19-05-00-server-descriptors |head -2
master-key-ed25519 clT/2GWmTY/qU5TBGaudAIjOUUxUdKhMY/Q5riK6G2E
master-key-ed25519 qDI9PbwtiKzpR9phLnWI99uimdwNW8+l9c7hDoWV9dQ
Is this the canonical format you use when referring to a relay's Ed25519 identity?
(So it is not a hash of the key but the entire public Ed25519 master key of the relay \
since Ed25519 keys are so short.)
What command does a relay operator need to run to find out
his relay's Ed25519 ID on the command line?
Here is the example for the RSA1024 SHA1 fingerprint:
openssl rsa -in keys/secret_id_key -outform DER -RSAPublicKey_out 2> /dev/null| \
openssl sha1 -r|cut -d" " -f1|sed -e 's/ /,/g'
also:
Are there any plans to include the Ed25519 IDs in onionoo/Relay Search?
What format would you most likely use there?
thanks,
nusenu
These are the filenames I would suggest for the well-known registry:
tor-relay-rsa-fingerprints
tor-relay-ed25519-pubkeys
--
https://mastodon.social/@nusenu
["signature.asc" (application/pgp-signature)]
_______________________________________________
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic