privacyideaadm icon indicating copy to clipboard operation
privacyideaadm copied to clipboard

yubikey_mass_enroll: --filename stores not all needed data

Open jh23453 opened this issue 9 years ago • 1 comments

When using yubikey_mass_enroll --yubimode YUBICO we store prefix and tokenid in table tokeninfo.

When I use --filename to later import the file in Privacyidea, we only store the secret. So a token after import can only be used for /validate/check, only after the first use in privacyidea we can use the token in /ttype/yubikey.

I think we need to add the missing data to the csv-file and enhance the token import.

jh23453 avatar Mar 23 '16 05:03 jh23453

:-) You are most probably right!

cornelinux avatar Mar 23 '16 10:03 cornelinux