Open rcoscali opened 6 years ago
+1 Excellent idea
{
"<md5 hash of secret>": {
"account": "<account>",
"encrypted": false,
"hash": "<md5 hash of secret>",
"issuer": "<issuer>",
"secret": "<secret>",
"type": "totp"
},
...
}
Did it here https://github.com/rcoscali/googleauth_db2qr. but of course require rooted phone for accessing the db /data/data/com.google.apps.authenticator2/databses copy the account.db then: $ googleauth_db2gr account.db it will do many things but, in others, generate authenticator.json U can use to import data. The importation through QRcode also runs pretty well (a nodejs server is launched and a page with qrcode is dispalyed: this the way I import them at first and it is why I didn't code the json generation)
BTW: thanks man! Very good chrome extension. I really use it every day!! ;-)
If I have time I'll hack on google authenticator for sending/receiving data to my chrome and really syncing both.
Would be nice to be ablke to import directly from google authenticator DB. I created a script for exporting android app db but I didn't found the import format (else I would had created it by myself). Still digging in code