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

Cannot set pin, error: can't concat bytes to str #44

Closed opoplawski closed 5 years ago

opoplawski commented 5 years ago

Running on linux with python 3.4, I cannot set the PIN on a new yubikey. I get:

can't concat bytes to str

emlun commented 5 years ago

Hi!

Unfortunately, YubiKey PIV Manager isn't compatible with Python 3 - you'll need to run it with Python 2. Alternatively, you could use the ykman CLI (which is Python 3 compatible) to change the PIN.