Fix Ed25519 fingerprint to use base64 encoded public key bytes

fixes #4
This commit is contained in:
Abel Luck 2025-09-10 13:48:52 +02:00
parent b406226f0f
commit 5bf771ac96
3 changed files with 31 additions and 13 deletions

View file

@ -52,5 +52,5 @@ output "public_key_fingerprint_sha256" {
- `algorithm` (String) Name of the algorithm used when generating the private key (always 'Ed25519')
- `id` (String) Unique identifier based on public key fingerprint
- `private_key_pem` (String, Sensitive) Private key data in PEM (RFC 1421) format
- `public_key_fingerprint_sha256` (String) SHA256 fingerprint of the public key in hex format
- `public_key_fingerprint_sha256` (String) Base64 encoded public key bytes (32 bytes) without padding, used as the Tor Ed25519 fingerprint
- `public_key_pem` (String) Public key data in PEM (RFC 1421) format