marcopaganini / termotp

A TOTP code generator for your terminal
Apache License 2.0
21 stars 0 forks source link

Possible to add support for 2FAS? #6

Open timkgh opened 6 months ago

timkgh commented 6 months ago

It also supports an encrypted export, just like Aegis.

https://github.com/twofas/2fas-android

marcopaganini commented 6 months ago

This would be very nice. 2FAS seems to be a very polished app. I found an issue there pointing to Java code to decrypt the encrypted 2FAS backup: https://github.com/beemdevelopment/Aegis/blob/master/app/src/main/java/com/beemdevelopment/aegis/importers/TwoFASImporter.java

I'll take a look and see if I can port this to Go.