New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export function #28
Comments
Thank you for pointing that out, however, the 2FAS codes can be exported into a JSON file, which is supported by other applications. |
How do I export them to JSON? I can export them are in .2fas |
The exported file is a JSON file. It's just named .2fas so that it's recognisable, and you know it's from our app. |
It would be more convenient if you follow the example of Ravio OTP, which can create a QR code for each item, in case a future app does not allow the amount from a json file. |
You can use some bash to get QR codes from the non-encrypted backup: jq -r '.services[] | .name + "," + .secret + "," + .otp.link' backup.2fas |
while read -r line; do
IFS=',' read -r name secret uri <<< $line;
echo $uri | sed "s/\[hidden\]/$secret/" | qrencode -o "$name".png
done Not ideal but works. |
We will be working on this feature, but it currently has a very low priority. Example: https://github.com/S1m0nk4c/2fas-backup-to-QR Please be aware that this is a 3rd party solution and it is not supported by us. |
Lacks a proper export function for importing into other apps.
Suppose 2FAS stops working in the future, how do you get 2FA codes in the next app?
Ravio OTP can create a QR code for each item you can scan.
The text was updated successfully, but these errors were encountered: