Hello Cornelius!
I tried to form a csv file using data from an xml and importing csv works well.
Should I make my own converter xml->csv and then import csv or it is going to be implemented soon? We have a lot of token data in safenet xmls...
But as a matter of fact it is still there:
https://github.com/privacyidea/privacyidea/blob/master/privacyidea/lib/importotp.py#L312
...and also well test covered:
https://coveralls.io/builds/4680044/source?filename=privacyidea%2Flib%
2Fimportotp.py#L312
Cool. You see. We even have tested code, which we do not use. ;-)
What is your time frame? The import will be rewired in version 2.10.
will be a bit more than one line... due to some help texts ;-)
<?xml version="1.0" encoding="utf-8"?><Tokens> <Token serial="AM436666"> <CaseModel>5</CaseModel> <Model>517</Model> <ProductionDate>10/07/2013</ProductionDate> <ProductName>eTPass 6.20</ProductName> <Applications> <Application ConnectorID="{a61c4073-2fc8-4170-99d1-9f5b70a2cec6}"> <Seed>ffffffffffffffffffffffffffffffffffffffff</Seed>
<MovingFactor>1</MovingFactor> </Application> </Applications> </Token></Tokens>
Is your eToken Pass an HOTP or an TOTP token?
40 -> SHA1