Skip to content

hpsaturn/esp32_potp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32 POTP (Portable Google Authenticator)

[status: in developing]

Portable EAP Protected One-Time Password (EAP-POTP) or GoogleAuthenticator hardware for provides two-factor user authentication. This is a PlatformIO DIY project for WeMOS like board with ESP32 and OLED SSD1306 display, see materials and instructions below.

Development Status:

  • WifiManager
  • Wifi OTA Handler
  • DeepSleep mode (testing)
  • GUI overlay tests
  • RFC 4793 implementation
  • Sync RTC via Bluetooth
  • GUI Page viewer for OTP codes
  • Android GoogleAuth POTP sync
  • Vulnerability security test
  • 3D print case?
  • Resina case?
  • Latex case?

DIY Building

Dependencies

Please install before, PlatformIO open source ecosystem for IoT development.

Compile and firmware upload

Setup WiFi

Setup your WiFi on secrets.load and run:

git clone https://github.com/hpsaturn/esp32_wemos_oled.git
cd esp32_wemos_oled
cp secrets.load.sample secrets.load
chmod 755 secrets.load

Compile firmware and deploy

platformio run --target upload

OTA Updates (Optional)

For faster firmware updates via air (OTA)

platformio run --target upload --upload-port 192.168.1.107
Library installation Troubleshooting

if you have the next error:

src/Main.cpp:27:18: fatal error: sha1.h: No such file or directory
compilation terminated.

it is because the TOTP Arduino library is broken, please clean and remove hidden directories with rm -rf .pioenvs .piolibdeps and run git pull origin master again.

Basic Connection

alt text

Board WeMOS like OLED:

alt text

About

Portable EAP Google Authenticator ESP32 hardware.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published