Skip to content
zakijssPublic

About

TOTP 2FA codes on a Miyoo Mini Plus (Onion OS), encrypted with the device key and locked with a code pressed on the buttons.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

A clear purple Miyoo Mini Plus on a stand showing two-factor codes in MiniKey, on a stone table with a teapot

CI Release License: MIT

MiniKey

Your 2FA codes (TOTP) on a Miyoo Mini Plus, sealed with the device key and a code you press on the buttons. Part of MiniDeck.

  • Imports otpauth:// links exported from Ente Auth, Aegis or 2FAS, then erases the plain file.
  • An unlock code of 6 to 16 presses of the d-pad and A, B, X, Y; growing waits after wrong codes, kept across restarts.
  • Locks itself after three minutes untouched; Y > Auto-lock sets 1, 3, 5 or 10 minutes, and Options also hides the next code or sorts the accounts by name.
  • Corrects the codes when the device's clock is off, checked against an HTTPS server.

A grey Miyoo Mini Plus lying on a window sill next to a keyring, showing two-factor codes in MiniKey

Using it

Copy the export into App/MiniKey/ or the root of the card and open MiniKey; the first time, choose the unlock code. A shows a code; Y imports more accounts, changes the code or removes an account.

The card alone opens nothing: the accounts need the key in the device's internal flash and your code. Keep your 2FA backups elsewhere too.

Install

  • MiniMart: open MiniMart, then Apps > MiniKey. It checks the download and keeps your settings on updates.
  • Zip: download minikey-VERSION.zip from Releases, unzip it onto the root of the SD card, and restart.
  • Every MiniDeck app at once: minideck-all.zip.

Requirements

A Miyoo Mini Plus on Onion OS 4.4, with Wi-Fi. Other devices and firmwares aren't supported.

Building

make check                     # vet, tests, scripts
make package VERSION=1.0.0     # dist/: the release zip, app.json, SHA256SUMS
make deploy HOST=root@miyoo    # build and copy to a device over SSH

Go runs in Docker unless you pass GO=go (Go 1.27). The interface, themes and networking come from the MiniDeck library; see its development notes and contributing guide.

License

MIT. Third-party components are listed in NOTICE. Not made by or affiliated with Miyoo.

About

TOTP 2FA codes on a Miyoo Mini Plus (Onion OS), encrypted with the device key and locked with a code pressed on the buttons.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages