Skip to content

mnsilva/fop2kpxc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FOP2KPXC

When I realized I could use KeePassXC to handle Two-Factor Authentications (2FA) I got the urgency to extract my keys from the files exported from FreeOTP+ (available on Google Play and F-Droid stores).

Step-by-step usage

  1. Export data from FreeOTP+ (touch on vertical ellipsis "⋮" on top of the screen, "Export" and choose a file name and a location where to store it);
  2. Transfer the exported file to your computer;
  3. Run freeotp_fetch_keys.py <your_saved_file.json> contained in this repository; it will attempt to identify each TOTP key with a friendly name. If you see any <unknown> labels, please contribute to this project;
  4. Copy the string that follows the label;
  5. Open KeePassXC file where to place the access credentials;
  6. Right click over the entry to which we want to add 2FA and choose: "Time-based one-time password" > "Set up TOTP...";
  7. Paste the copied value from step 4 into "Key" field and choose "Default RFC 6238 token settings";
  8. Validate that both FreeOTP+ and KeePassXC (right-click, "Time-based one-time password" > "Show TOTP") show the same values.

Credits

This project is available under MIT License and it's based on a GIST published by @jleclanche.

About

FreeOTP+ to KeepassXC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages