Yubico / yubikey-piv-manager

Tool for configuring your PIV-enabled YubiKey
https://developers.yubico.com/yubikey-piv-manager/
GNU General Public License v3.0
42 stars 7 forks source link

Fix size checking on certificates #17

Closed dagheyman closed 5 years ago

dagheyman commented 7 years ago

Don't rely on checking the size of the file (which may contain extra information, different encodings etc), but try to import the certificate and return a error if the actual certificate is too large.