go-piv / piv-go

Keys and certificates for YubiKeys, written in Go
Apache License 2.0
366 stars 65 forks source link

Ed25519 improvements #159

Closed AGWA closed 1 month ago

AGWA commented 1 month ago

This PR includes a few minor cleanups, and most importantly, returns an error if Ed25519ctx or Ed25519ph is requested. Previously, an invalid signature was being returned. As far as I can tell, the YubiKey does not support these Ed25519 variants.