Skip to content

Instantly share code, notes, and snippets.

@Oprax
Oprax / aegis2freotp.py
Created October 7, 2025 11:17
Convert Aegis Authenticator export to FreeOTP format
#!/usr/bin/env python3
"""
Convert Aegis Authenticator export to FreeOTP format
"""
import json
import base64
import struct
import sys

Keybase proof

I hereby claim:

  • I am oprax on github.
  • I am oprax (https://keybase.io/oprax) on keybase.
  • I have a public key ASAiISd43jH3n806KBY3vQINTZ2zmtyNctRX9h-T4z915go

To claim this, I am signing this object: