anza-cryptography-source/curve25519/solana-ed25519/src/ed_sigs
zz-sol c41adab68f
Validate SPKI OID/bytes and add pkcs8 tests (#43)
Add strict SPKI validation and tests for PKCS#8 public keys. Introduce OID and ALGORITHM_ID constants and refactor SPKI parsing into verification_key_bytes_from_spki which verifies the algorithm OID, parameters, and key byte length/format, returning appropriate pkcs8::spki::Error values. Update TryFrom/EncodePublicKey/DecodePublicKey implementations to use the new helper and to propagate/mapping errors correctly. Add two tests (behind the pkcs8 feature) to assert rejection of SPKI docs with the wrong algorithm OID and with malformed key bytes.
2026-06-10 06:44:35 -04:00
..
tests Validate SPKI OID/bytes and add pkcs8 tests (#43) 2026-06-10 06:44:35 -04:00
batch.rs fix pkcs8 (#41) 2026-06-10 06:44:17 -04:00
error.rs refactor and merge curve and ed crates (#6) 2026-03-26 08:09:10 -04:00
signing_key.rs ci: check each feature individually (#18) 2026-05-20 10:23:03 +08:00
tests.rs refactor and merge curve and ed crates (#6) 2026-03-26 08:09:10 -04:00
verification_key.rs Validate SPKI OID/bytes and add pkcs8 tests (#43) 2026-06-10 06:44:35 -04:00