v1.1.0
v1.1.0 - TOTP Code Reader & QR Image Decoding
Cryptex can now act as a CLI authenticator — compute 6-digit TOTP codes from a base32 secret or a QR code image.
New Feature
--totp-code option accepts a base32 secret string or QR code image path
RFC 6238 compliant TOTP computation using Python stdlib
Smart detection: existing file path → QR image decode, otherwise → base32 secret
Current code, time remaining (color-coded), and next code display
Quiet mode (-q) outputs just the 6-digit code for scripting
Works with --copy and --save-keychain integrations
New Dependencies
pyzbar (QR code image decoding)
Pillow (image processing)
Code Cleanup
All in-function imports moved to top-level
Removed try/except HAS_* import guards — all dependencies are required
Quick Start
cryptex --totp-code "JBSWY3DPEHPK3PXP" # From base32 secret
cryptex --totp-code ./qr-code.png # From QR code image
cryptex --totp-code "JBSWY3DPEHPK3PXP" -q # Just the code
cryptex --totp-code "JBSWY3DPEHPK3PXP" --copy # Copy to clipboard