Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enroll YubiKey 5 Nano/NFC #1

Open
mikeschmt opened this issue Aug 12, 2020 · 2 comments
Open

Enroll YubiKey 5 Nano/NFC #1

mikeschmt opened this issue Aug 12, 2020 · 2 comments

Comments

@mikeschmt
Copy link

Hello,

My configuration:
OS: Mac OSX Mojave 10.14.6
Python: Python 3.8

I installed this repo and python-yubico repo for configure my YubiKey 5 Nano and YubiKey 5 NFC on my LinOTP Server.

But, when I want enroll my keys with linotpadm cli, I have this error:

`[10:14:07] mike@MacBook-Pro-de-Mickael:~/Documents/Softs/LinOTP$ linotpadm -U https://uri --admin=admin --password XXXXXXXXXX -C yubikey_mass_enroll --yubimode=YUBICO --yubislot=1

Thank you for running the LinOTP2 linotpadmin client

Please insert the next yubikey. uuuuuu...........
Found Yubikey with serial 'XXXXXXX'

Traceback (most recent call last):
File "/usr/local/bin/linotpadm", line 33, in
sys.exit(load_entry_point('LinOTPAdminClientCLI==3.0.dev0', 'console_scripts', 'linotpadm')())
File "/usr/local/lib/python3.8/site-packages/LinOTPAdminClientCLI-3.0.dev0-py3.8.egg/linotpadminclientcli/cli.py", line 653, in main
File "/usr/local/lib/python3.8/site-packages/LinOTPAdminClientCLI-3.0.dev0-py3.8.egg/linotpadminclientcli/cli.py", line 224, in yubi_mass_enroll
File "/usr/local/lib/python3.8/site-packages/LinOTPAdminClientCLI-3.0.dev0-py3.8.egg/linotpadminclientcli/yubikey.py", line 142, in enrollYubikey
TypeError: can only concatenate str (not "bytes") to str`

I tried with empty slot or OATH/Yubico OTP on 2 slots ...

I do configure Yubikey token before with Yubico Manager or the linotp cli configure token on YubiKey ?

Thanks you in advance,

Best regards.

@lse-gerrit
Copy link

lse-gerrit commented Oct 13, 2020 via email

@lse-gerrit
Copy link

lse-gerrit commented Oct 13, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants