Python interface to obtain TOTP codes for Nitrokey.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
nitro_get_otp.py
otpmenu
requirements.txt

README.md

Usage

Easily obtain Nitrokey TOTP codes.

  • Install libnitrokey, libnitrokey-dev (header package), dmenu and xclip for your distribution.
  • Install the required Python library.
  • Make sure the library and header paths are correctly set in the get_library function.

Place the otpmenu and nitro_get_otp.py in the same directory, preferably in your PATH, i.e. ${HOME}/bin.

Run otpmenu.

Credits

This code is based on the python_bindings_example from the Nitrokey project.