Reimplementation of the original OXOTP work of @IMSHOX, with added compatibility for M5StickCPlus and M5StickCPlus 2, and a new web application.
1. Grab the binaries for your specific board and flash it using flash download tool (More info HERE )
or
Build from source using Arduino IDE. [See #HowToBuild for more information.]
2. For the first time use, by going to the wifi settings the SSID and password of the access point to connect for the configuration will be printed on screen. Connect at this AP and going to address specified (for the first time should be http://192.168.4.1/)
3. On the configuration section of the webapp you can also specify your router ssid and password by changing the wireless mode to host (it will automatically fallback to AP mode if connection fails)
-
5. Currently you can only manually add OTPs by providing the secrets of your 2FA ( a web QRCode reader functionality may come later).
You can extract the secret keys from another authenticator app you already use, for example by using extract_otp_secrets.
(Be sure the extracted secrets are in Base32 format e.g 'OXXA6YXXVTTP4U25'
- Clone the repo and open OXOTP.ino with Arduino IDE 2.
- Import all the dependencies:
- M5Unified library
- ArduinoHTTPClient
- ArduinoMDNS
- Arduino_ESP32_OTA
- https://github.com/lucadentella/TOTP-Arduino
- https://github.com/bblanchon/ArduinoJson
- https://github.com/rpolitex/ArduinoNvs
- Select 'Minimal SPIFFS' partition scheme (required for OTA updates)
- Build and flash it with Arduino IDE 2
OXOTP+ is intended to be used as an alternative or backup for your currently 2FA authentication app. Using a dedicated device is great because your phone can be easily lost, stolen, hacked , etc.
Always keep a backup (even on paper) of your secrets if you intend to use this as your main 2FA system.
Add a battery indicatorDONEOTA updatesBeautify the UI, add an alternative Light UIMake poweroff timer and screen brightness tweakable- Add API for Exporting secrets
- Add Pincode for the webapp
- Embed a QRCode reader in the webapp
- M5StickCPLus 2
- M5StickCPlus
- M5Stick (not tested yet)
This software is licensed under the MIT License, to read the full license HERE.
- Based on https://github.com/IMSHOX
- Pico CSS, a splendid and lightweight css framework (https://github.com/picocss/pico)
- truetype2gfx - https://rop.nl/truetype2gfx/
- and the creators of all the libraries used.