dim13 / otpauth

Google Authenticator migration decoder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add multi batch import

dim13 opened this issue · comments

GA export splits entries in batches of 10 and generates separate QR for each batch.

Can you be a bit more specific, what do you mean by multi batch?

commented

If you have 30 Entries in your Google Authenticator and you export from Google Authenticator App, it will present you with three QR Codes. How do you process multiple otpauth-migration:// for example to use -http=127.0.0.1:8080 to show all 30 entries instead of actually 10 because ./otpauth -link=otpauth-migration://... -http=127.0.0.1:8080 could only display one link per execution. Or do you know how to concatinate the otpauth-migration:// links manually?

if anyone might need this feature sooner, you can already script this with otpauth by merging (concatenating) multiple migration.bin files into one.

basic example:

./otpauth -link otpauth-migration://offline?data=[yourdata 1/2]
cp migration.bin migration.bin1

./otpauth -link otpauth-migration://offline?data=[yourdata 2/2]
cp migration.bin migration.bin2

cat migration.bin1 migration.bin2 > migration.bin

big thanks and kudos @dim13

greetings metachuh