Yubico / yubikey-piv-manager

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

Fix size checking on certificates #17

Closed dagheyman closed 6 years ago

dagheyman commented 8 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.