privacyideaadm
privacyideaadm copied to clipboard
yubikey_mass_enroll: --filename stores not all needed data
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.
:-) You are most probably right!