beemdevelopment / Aegis

A free, secure and open source app for Android to manage your 2-step verification tokens.
https://getaegis.app
GNU General Public License v3.0
8.52k stars 364 forks source link

Support importing from Duo #68

Closed nchristensen closed 2 years ago

nchristensen commented 5 years ago

Duo stores its TOTP information in its /data/data/ directory. I imported it manually but it may be helpful to users to include it as another import option. Root required of course.

zjagoo commented 4 years ago

@nchristensen Can you add some more details on how to import the file? I tried "accounts.json" and accounts_backup.json" from /data/data/com.duosecurity.duomobile/files/duokit but I was getting an error. Moreover Duo is not listed as an application that the file can be imported from. Did you use andOTP? Thanks a lot.

nchristensen commented 4 years ago

@zjagoo I think there is not a way to import the file currently. I opened the file in a text editor app and wrote down the OTP data (key, refresh time, length, etcetera). Then I chose the manual entry in Aegis and entered that information.

Trung0246 commented 2 years ago

Hi, can we have a status on how this will be implemented?

Seems like scanning the QR code generated exclusive for Duo did not work on Aegis.

alexbakker commented 2 years ago

I don't think anyone is currently working on this. Let us know if you'd like to pick this up!

Seems like scanning the QR code generated exclusive for Duo did not work on Aegis.

This proposal is just about importing TOTP data from the Duo app internal database. Adding support for a proprietary Duo protocol is not planned.

anibyl commented 2 years ago

I don't think anyone is currently working on this. Let us know if you'd like to pick this up!

Seems like scanning the QR code generated exclusive for Duo did not work on Aegis.

This proposal is just about importing TOTP data from the Duo app internal database. Adding support for a proprietary Duo protocol is not planned.

Hi! I submitted a pull request that adds OTP importing from DUO.

Trung0246 commented 2 years ago

Is it possible to integrate this library into Aegis? https://github.com/revalo/duo-bypass

alexbakker commented 2 years ago

@Trung0246 Aegis cannot support Duo's activation as we don't request the internet permission. The other parts of that library (HOTP, basically) are supported.

alexbakker commented 2 years ago

835 was merged.

anibyl commented 2 years ago

@alexbakker can we expect a new release with these changes anytime soon?

alexbakker commented 2 years ago

@anibyl I wasn't planning on it as not much has changed since v2.0.2. I suppose we could do a small release some time this month.

anibyl commented 2 years ago

@alexbakker that would be great, thank you.