-
-
Notifications
You must be signed in to change notification settings - Fork 391
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
Add desktop apps #165
Comments
We don't have plans to port Aegis to other platforms. |
Well once #138 is implemented among many apps, you could export your keys from Aegis to some other app running on your desktop. |
Something has changed since three years ago about a Windows/MacOS/web app of Aegis ? |
No. |
(I recall I made an homebrew Perl program from some modules I found; however my desktop is far away at the moment.) |
Uh, I meant recommendations for MY desktop ;) so an 2FA-App for desktop. |
Well mine is just a sloppy Linux command line shell script... I mean Perl script. I mean for desktop how about just a CLI script. No fancy graphics. Not even "curses". |
Shame we can't get this on iOS though... just changed from Android to an iPhone to find out that I couldn't get Aegis on iOS... :( |
While no official app exists, you can use the Andriod App on Windows using the Windows Subsystem for Android. In 10 easy steps, hello beautiful! 🥇 1.) Install Windows Subsystem for Android: https://www.androidpolice.com/set-up-wsa-windows-11-android-apps/ 2.) Enable developer mode and share user folders (and probably want local network access) in Windows Subsystem for Android under Advanced Settings. 3.) Restart Windows Subsystem for Android to enable file sharing: https://www.elevenforum.com/t/restart-windows-subsystem-for-android-wsa-in-windows-11.12301/ 4.) Download WSA Sideloader from the Microsoft Store. 5.) Download and install the Aegis APK using WSA Sideloader from the Microsoft Store. Congrats, Aegis is now installed. Now you need to get your sweet codes into Aegis. 6.) I found that oddly I could not import the default Aegis file format when exported from my Galaxy S24+ phone. I had to export it as a plain text file. Fun. So yeah export your Aegis codes from your phone as a text file. 7.) Open the newly installed Amazon Appstore from your Windows start menu and Download and install X-plore . 8.) Use X-plore to copy the Aegis APK to the Windows Subsystem for Android. I suggest copying to the Downloads folder to make life easy. Temp anyways, as you can delete the export when done. 9.) Import your Aegis codes as a plain text file. 10.) Hello, beautiful codes. 💯 |
I also think a desktop app is important to have as a backup if something goes wrong with your phone. Here's what I found: Doing it manually with KeepassXC seems to be the only portable option. Tauthy https://github.com/pwltr/tauthy - recommended at #1004 may be the next best thing. I haven't tried it.
|
I haven't looked into others, but 2fast is technically portable. You can choose to use a webdav server to store your data file and so you could have 2fast running on multiple PCs, pointing to the same webdav file. Alternatively, you can create a local backup of your data file and you can just place that in a Dropbox or OneDrive folder, which is synced. When you switch PC, it'll just be picked up by the sync. Anyway, I think it's a missed opportunity for the Aegis team to not make a desktop version. I chose Authy because it was the only app that was cross platform. I'm well aware that you can get 2FA Android apps running on Windows using WSL, or even using Android mirroring with scrcpy or something else. But I needed a proper, native Windows app, so that my automation would work. I developed my own Autohotkey script for quickly grabbing the OTP code from Authy Desktop and enter that into any app. I can press certain hotkey combinations (e.g. CTRL+SHIFT+1, CTRL+SHIFT+2....) and it will pick the correct Authy 2FA code and use that. It worked great and the execution is extremely fast, much faster than having to switch to your phone screen (whether manually or whether via emulator or WSL for Android or whatever). It was always less than a second to do that, it's the quickest approach of all. I'm sure I can port this script easily to another desktop app, but the problem is trying to find a good replacement for Authy Desktop. |
Why Aegis is in the credits section of Tauthy repo, was it developed by the Aegis team ? |
@fiorins Probably because its design is seemingly inspired by Aegis. Tauthy was not developed by us. |
Same. It would be great if Aegis and Tauthy could work together and either merge their projects or make them seamlessly integrable. Since I don't create new 2FA accounts often, the KeepassXC manual method works well enough for me for now. |
Hi all, I've written a lean CLI utility that uses the encrypted backup file that's exported from Aegis to generate the OTP codes. |
Let's image this: Aegis for all OS's + Browser extension + cloud sync. Mmmm yeah soo nice😋 That would be the BEST 2FA app. |
FYI, the Andriod option I posted about probably won't work next year and beyond :( |
Update: Currently Sorry, anybody has a solution of importing encrypted JSON on Windows 10? I'm really stuck here. I don't really need to use 2FA on desktop, but at least a single backup approach in emergency case which I cannot use android, that's NOT manually import one-by-one like Keepass. And also since Aegis only supports automatic backup with encrypted JSON, I can't have un-encrypted one in my backup storage either. For example, I will call encrypted one as
Honestly, I feel so stuck right now. I'm having the backup file sitting on the desktop, and I don't know what to do with it. Ok, I can export the
And now I have another csv file on my computer with details like this
What should I do now with it? Ok, if I edit decrypt.py the last lines from if args.output != "-":
with io.open(args.output, "w") as f:
f.write(db)
else:
print(db) to output_db = {"version": 1, "header": {"slots": None, "params": None}, "db": json.loads(db)}
if args.output != "-":
with io.open(args.output, "w") as f:
json.dump(output_db, f, indent=4)
else:
print(output_db) The
|
@ntnguyen1234 I've created this Python project https://github.com/scollovati/Aegis-decrypt that allows to decrypt the Aegis vault and export its values in different formats (QR Codes with provisioning URIs included). Also it allows to generate TOTP codes on the fly. Some improvements and new formats are "in progress". |
If anyone's still interested, I created a desktop app that reads Aegis vault files and generates TOTP codes: https://github.com/Sammy-T/avda |
Add support for desktop apps in Windows, Linux, Chrome apps and Mac
The text was updated successfully, but these errors were encountered: