technologiespro / smart2fa

2FA Auth
GNU General Public License v3.0
6 stars 2 forks source link

Feature request: import from FreeOTP+ #1

Open DavidAnderson684 opened 2 years ago

DavidAnderson684 commented 2 years ago

Thank you for this application!

https://github.com/helloworld1/FreeOTPPlus is a popular OTP app with over 50,000 users (https://github.com/helloworld1/FreeOTPPlus). It has an "export to JSON" function.

Would you consider adding import from their export format? (My use case is wanting to use your app on the desktop without having to re-set-up every single key individually).

m-primo commented 1 year ago

Hello. I'm a contributor. You can check my fork for the updates I have made on the app, unfortunately there are no release binaries yet.

I may be able to do it, but can you please share a fake exported JSON object so I can use it to develop the code?

DavidAnderson684 commented 1 year ago

@m-primo Thanks. Actually, FreeOTP+ can export in URI format, which is just a .txt file, one key per line, like:

otpauth://totp/Site%20Title%3Ausername?secret=(secret)&algorithm=SHA1&digits=6&period=30
m-primo commented 1 year ago

@m-primo Thanks. Actually, FreeOTP+ can export in URI format, which is just a .txt file, one key per line, like:

otpauth://totp/Site%20Title%3Ausername?secret=(secret)&algorithm=SHA1&digits=6&period=30

Okay, cool.. I'll let you know when I finish updating it. Don't forget to check my fork

m-primo commented 1 year ago

Hey @DavidAnderson684 , I have updated the app and added what you've requested for. Also, I have successfully built the android executable after many failed builds.

You can check it in my fork.

If you have any other suggestions let me know. I'm planning to update some other things in the app in the future anyway.

felixmarch commented 1 year ago

Hey @DavidAnderson684 , I have updated the app and added what you've requested for. Also, I have successfully built the android executable after many failed builds.

You can check it in my fork.

If you have any other suggestions let me know. I'm planning to update some other things in the app in the future anyway.

Is the fork merged? :wink:

m-primo commented 1 year ago

Is the fork merged? 😉

I have created a pull request since then, but it's still open.