tor_relay_identity_ed25519 incorrect fingerprint #4

Open
opened 2025-07-13 15:31:51 +00:00 by irl · 0 comments
Owner

The fingerprint of the ed25519 key is just the base64 encoded public key bytes from the public key file and should not have hashing.

Discussion at: https://lists.torproject.org/mailman3/hyperkitty/list/tor-dev@lists.torproject.org/thread/HN6LSW5DQETGYURWURFY7FU7JLOCXMT2/

In shell:

cat /var/lib/tor/keys/ed25519_master_id_public_key | tail -c +33 | base64 | sed 's/=*$//'

Example public key file (base64 encoded because it's got weird binary in it):

PT0gZWQyNTUxOXYxLXB1YmxpYzogdHlwZTAgPT0AAAB6UEqfT3OvqdpNfw/rbOucsc5AXRUw4lcy
/SaWxruoYA==

Expected fingerprint

elBKn09zr6naTX8P62zrnLHOQF0VMOJXMv0mlsa7qGA
The fingerprint of the ed25519 key is just the base64 encoded public key bytes from the public key file and should not have hashing. Discussion at: https://lists.torproject.org/mailman3/hyperkitty/list/tor-dev@lists.torproject.org/thread/HN6LSW5DQETGYURWURFY7FU7JLOCXMT2/ In shell: ``` cat /var/lib/tor/keys/ed25519_master_id_public_key | tail -c +33 | base64 | sed 's/=*$//' ``` Example public key file (base64 encoded because it's got weird binary in it): ``` PT0gZWQyNTUxOXYxLXB1YmxpYzogdHlwZTAgPT0AAAB6UEqfT3OvqdpNfw/rbOucsc5AXRUw4lcy /SaWxruoYA== ``` Expected fingerprint ``` elBKn09zr6naTX8P62zrnLHOQF0VMOJXMv0mlsa7qGA ```
abel was assigned by irl 2025-07-13 15:31:55 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: ops/terraform-provider-tor#4
No description provided.