Open mikeschmt opened 4 years ago
Hi,
please use the linotp admin client from the linotp 2.11 / 2.12 package as the package you are using is a development version which is not released by now.
Best regards,
Kay Winkler
Am Mi., 12. Aug. 2020 um 10:20 Uhr schrieb Mickael Schmit < notifications@github.com>:
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.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/LinOTP/linotp-adminclient-cli/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADD6RQHLPBAG6WYS7R2KACLSAJGFLANCNFSM4P4JZ4KQ .
-- Kay Winkler - Software Development
Fon: +49 6151 86086-262 Fax: +49 6151 86086-290 Mobil: +49 1751 874258 E-Mail: Kay.Winkler@arxes-tolina.de
arxes-tolina GmbH Robert-Koch-Strasse 9, 64331 Weiterstadt http://www.arxes-tolina.de
Amtsgericht Berlin-Charlottenburg, HRB 84278 Sitz: Berlin, Geschäftsführer: Dr. Peter Heilmann, Ralf Berndt
Hi,
the suggested way to deal with yubikey tokens is to use the yubikey personalisation tool and import the generated csv into LinOTP manage ui.
Best regards, Kay Winkler
Am Mi., 12. Aug. 2020 um 10:20 Uhr schrieb Mickael Schmit < notifications@github.com>:
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.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/LinOTP/linotp-adminclient-cli/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADD6RQHLPBAG6WYS7R2KACLSAJGFLANCNFSM4P4JZ4KQ .
-- Kay Winkler - Software Development
Fon: +49 6151 86086-262 Fax: +49 6151 86086-290 Mobil: +49 1751 874258 E-Mail: Kay.Winkler@arxes-tolina.de
arxes-tolina GmbH Robert-Koch-Strasse 9, 64331 Weiterstadt http://www.arxes-tolina.de
Amtsgericht Berlin-Charlottenburg, HRB 84278 Sitz: Berlin, Geschäftsführer: Dr. Peter Heilmann, Ralf Berndt
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.