8000 GitHub - JamesParrott/py-avdu: A Python port of Avdu, A utility to view one-time passwords generated from Aegis Authenticator backups.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A Python port of Avdu, A utility to view one-time passwords generated from Aegis Authenticator backups.

License

Notifications You must be signed in to change notification settings

JamesParrott/py-avdu

Repository files navigation

Py-avdu

An unofficial incomplete port of Sammy-T's avdu. It was re-written in Python by Claude (and the hundreds of thousands of coders whose work it was trained on), The main function was added and it was packaged for PyPI by James Parrott (who should be held responsible).

I use this myself, simply for peace of mind before factory resetting my phone, by exporting my encrypted vault from Aegis, simply as a check to make sure I can generate TOTP codes without a phone, to access all my accounts in case of a problem reinstalling Aegis.

Before deleting any credentials or factory resetting any devices, please verify that you really can generate the same correct codes from your own backup vault, as from the original authenticator app the backup was taken from.

Overview

What's worse than rolling your own Crypto?
Rolling your own Crypto with an LLM.

Py-Avdu is a little bit better than both of those cases for two reasons:

  • Instead of rolling my own crypto completely from scratch I gave Claude, Sammy-T's avdu, and asked it to port it.
  • This decrypts encrypted vaults only. Encryption of the vaults in the first place should be done by Aegis. Py-avdu should only be used locally.

Aegis is a fantastic app. But its developers currently have no intention to support any other platform than Android.

I have no reason to be suspicious of Avdu in the slightest - I'm personally just far more comfortable security-auditting Python code than Go code.

If you do discover a bug, please raise an issue, and I'll do my best to fix it. If a bug that's a major security concern can't be fixed or worked around, then ultimately I will sunset this project.

Py-Avdu does generate TOTP codes correctly from a password-encrypted Aegis backup vault (from my own one at least).
However at the time of writing, no further functionality is implemented - Py-Avdu is definitely an incomplete port of Avdu.

Beware ye, would be Vibe Coders.

Claude's code to decrypt my vault worked great. Unfortunately ChatGPT's port of Avdu's TOTP generator produced incorrect TOTP codes. Luckily there is a trustworthy library from PyAuth (PyOTP) to use instead which fits the bill precisely.

Alternatives

About

A Python port of Avdu, A utility to view one-time passwords generated from Aegis Authenticator backups.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0