Repository navigation
SecureGen v2.0.0
SecureGen v2.0.0
Major security and feature release.
π Security
- AES-256-GCM transport β all web communications now encrypted with AES-256-GCM (replaces XOR)
- PIN-encrypted device key β master key protected by PIN + PBKDF2-HMAC-SHA256 at rest
- Persistent PIN lockout β failed attempt counter survives reboots; locks after 5 total attempts
- Secure memory wipe before deep sleep β keys, secrets, and session data zeroed from RAM
- PBKDF2 iterations increased to 25,000
π TOTP / HOTP
- HOTP support β counter-based codes, works offline without time sync
- SHA1 / SHA256 / SHA512, 6 and 8 digit codes, 30s / 60s periods
- QR code import β add keys by scanning QR from camera or file
- QR code export β display any key as QR on device screen and web interface
π Web Interface
- Password generator in web cabinet
- Fixed import/export system
- Reduced ESP32 β browser request count β improved performance
β‘ Hardware
- Fixed crashes on battery power when pressing buttons
- QR code for WiFi in AP mode β scan to connect instantly
- Captive portal in AP mode and WiFi setup flow
π Tools
decrypt_export.htmlβ offline browser tool for decrypting backups, editing keys and passwords
Flashing
Browser (easiest): flash.securegen.dev β one click, no software needed
esptool:
esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 921600 \
write_flash \
0x1000 bootloader.bin \
0x8000 partitions.bin \
0x10000 firmware.binOr use the single merged binary:
esptool.py --port /dev/ttyUSB0 write_flash 0x0 merged-firmware.bin