- Cloning google-authenticator-exporter
- Build google-authenticator-exporter container (you need docker to be installed) for exporting in JSON format out TOTP secret
- Exporting QR from Google Authenticator App
- Download add2FA.py script
- Executing add2FA.py for creating the 'totp.conf' file for flipperzero
-
Let clone the goole-authenticator-exporter repository
git clone https://github.com/krissrex/google-authenticator-exporter
-
Let build the docker container
cd google-authenticator-exporter && docker build . --tag google-authenticator-exporter:0.0.1
-
Let put this container on fire
mkdir my_totps && docker run -v ./my_totps:/src -it --rm google-authenticator-exporter:0.0.1
- SUGGEST: You can use 'zbarcam' command to scan the QR Code exported from Google Authenticator. It should look like this 'otpauth-migration://offline?data=ttteoetjrhejhte...etc'
-
Decode the QR and copy the value
-
The script once the container is running will ask for totpUri. Just paste the QR code value copied & press enter
-
Just type 'y' & press enter
-
Choose the name for the json file just be sure that includes '/src/. Example
-
/src/my_totp.json
-
-
-
Check if json has been created & download script
cd my_totps && wget https://raw.githubusercontent.com/IadRabbit/FlipperZero_Authenticator_Import/main/add2FA.py
-
Let execute this beauty
-
First download from your flipper the 'totp.conf' file (DO NOT CHANGE NAME FILE & BACKUP your current 'totp.conf' file) and put it inside the 'my_totps' folder
-
Let execute the script
-
-
The 'totp.conf' would be just updated no previous configuration will be deleted
-
If you have multiple json file exported DO NOT worry all '.json' file will be parsed and added to 'totp.conf'
-
python3 add2FA.py
-
-
-
Your new dolphin key
- Replace the 'totp.conf' file with the new one inside your FlipperZero