arekinath / pivy

Tools for using PIV tokens (like Yubikeys) as an SSH agent, for encrypting data at rest, and more
193 stars 26 forks source link

piv: parse deprecated chuid value #37

Closed FStelzer closed 1 year ago

FStelzer commented 1 year ago

Authentication Key Map is deprecated and no longer present in the recent PIV Nist spec. Older tokens seem to still contain it sometimes. So just parse & skip it instead of aborting because of an unrecognized tag.

See #36

arekinath commented 1 year ago

Looks good to me! Thanks!