Commit graph

27 commits

Author SHA1 Message Date
43c442ad20 Update obfs4 e2e test to include new ED25519 Tor format and RSA hashed fingerprint outputs 2025-09-10 14:06:28 +02:00
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
b406226f0f add aarch64-darwin to supported systems for dev shell 2025-09-10 13:49:21 +02:00
4eadc8416e Add hashed fingerprint functionality to RSA relay identity keys
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
005634ff1c Update README 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
0951242b32 flake: build tor alpha 2025-06-06 08:58:37 +02:00
c26ebe7420 README: fix ci badge 2025-06-03 15:15:07 +02:00
d362b9fdcf e2e-test: use opentofu 2025-06-03 14:43:58 +02:00
1fc36c9cea ci: rename ci job 2025-06-03 14:42:35 +02:00
dc49717829 Use upstream lyrebird 2025-06-03 14:41:04 +02:00
eb9188f1e6 Fix CI 2025-06-03 14:37:44 +02:00
d39efbd1e2 Add CI 2025-06-03 14:34:20 +02:00
6b623eb3a3 Add e2e test using opentofu cli 2025-06-03 14:28:37 +02:00
bd06c2e4b3 Update docs 2025-06-03 14:08:16 +02:00
a4442dcfbe Remove cruft 2025-06-03 13:48:00 +02:00
c66e01c813 Update readme 2025-06-03 13:35:53 +02:00
7724c245d5 Complete examples 2025-06-03 13:33:14 +02:00
9fe172e8f2 Fix linter warning 2025-06-03 13:28:44 +02:00
1c7de4fc91 Add nix devshell 2025-06-03 13:25:51 +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
63ed6316bc init 2025-06-03 13:14:26 +02:00