Commit graph

10 commits

Author SHA1 Message Date
f1cccbe22b Add Tor-specific binary format for ED25519 keys
fixes #5
2025-09-10 14:00:12 +02:00
5bf771ac96 Fix Ed25519 fingerprint to use base64 encoded public key bytes
fixes #4
2025-09-10 13:49:21 +02:00
4eadc8416e Add hashed fingerprint functionality to RSA relay identity keys
Some checks failed
CI / ci (push) Failing after 3m10s
fixes #3
2025-09-10 13:45:39 +02:00
62b243c8e4 Fix RSA fingerprint generation to use PKCS1 encoding and uppercase format
related #2
2025-09-10 13:45:39 +02:00
83df31ec80 Fix incorrect RSA identity key fingerprint generation
The fingerprint calculation was using PKIX encoding instead of the
required PKCS1 DER encoding for RSA public keys. This affected both
the relay identity resource and obfs4 node ID derivation.

- Use x509.MarshalPKCS1PublicKey instead of x509.MarshalPKIXPublicKey
- Add test case with known fingerprint vector to prevent regression
- Update both generateFingerprints and deriveNodeIdFromRsaKey functions

fixes #2
2025-09-10 13:45:39 +02:00
f60d0d655b Update documentation 2025-09-10 13:45:39 +02:00
53f019906e Implement the tor_family_identity resource 2025-09-10 13:45:39 +02:00
9fe172e8f2 Fix linter warning 2025-06-03 13:28:44 +02:00
3702fc3acb Apply make fmt 2025-06-03 13:24:01 +02:00
d8eda81e0e First working version 2025-06-03 13:23:45 +02:00