Closed alekibango closed 10 years ago
Tested on debian sid and also with latest git code, having the same result.
This simple tests always leads to: "Yubikey personalization error: invalid option/argument value", which is really not telling much.
$ ykpersonalize -1 -v -flegacy -sfile.legacy -a11111111111111111111111111111111 -o fixed=ccccbbbbcccc -o serial-api-visible ; cat file.legacy ; ykpersonalize -1 -v -flegacy -ifile.legacy Firmware version 2.4.2 Touch level 2305 Program sequence 3 Serial number : 2222222 fixed: m:ccccbbbbcccc uid: 000000000000 key: h:11111111111111111111111111111111 acc_code: h:000000000000 ticket_flags: APPEND_CR config_flags: extended_flags: SERIAL_API_VISIBLE Firmware version 2.4.2 Touch level 2305 Program sequence 3 Serial number : 2222222 Yubikey personalization error: invalid option/argument value $
So the real problem here is that configuration import is only possible with the ycfg format, not legacy. I'll push a fix for the error and a clarification of the docs momentarily.
Tested on debian sid and also with latest git code, having the same result.
This simple tests always leads to: "Yubikey personalization error: invalid option/argument value", which is really not telling much.