Releases: go-piv/piv-go
Releases · go-piv/piv-go
v1.7.0
v1.6.0
- Fixes for older YubiKeys that don't support attestation certificates #59
- Add yubikey 5ci form factor #63 @xoebus
- Fix retry errors detection on some older YubiKeys #64
- PIN policy can now be specified explicitly instead of being inferred by the attestation certificate #65
- Ed25519 support as implemented by SoloKeys added #69 @nickray
- FreeBSD support added #70 @gonzoua
- TouchPolicyAlways and TouchPolicyCached variables now correspond to their spec values #74 @joemiller
- cgo now uses pkg-config on Linux to discover pcsclite #75 @rawkode @philandstuff
- ECDH support added #80 @tv42
v1.5.0
v1.4.0
v1.3.0
v1.2.0
- Fix slot object IDs and add management key slot #30
NOTE: previous uses of SetCertificate for the SlotAuthentication and SlotCardAuthentication used the wrong object IDs. This updates them to use the correct values, which may cause breaking changes for previously written certificate. To migrate to the correct slots, use:
mk := piv.DefaultManagementKey
// Migrate SlotAuthenication certificate to the correct slot.
authCert, err := yk.Certificate(piv.SlotCardAuthentication)
if err != nil {
// ...
}
if err := yk.SetCertificate(mk, piv.SlotAuthentication, authCert); err != nil {
// ...
}
// Migrate SlotCardAuthentication certificate to the correct slot.
cardAuthCert, err := yk.Certificate(piv.SlotKeyManagement)
if err != nil {
// ...
}
if err := yk.SetCertificate(mk, piv.SlotCardAuthentication, cardAuthCert); err != nil {
// ...
}