abeluck / nitrokey-get-totp

Python interface to obtain TOTP codes for Nitrokey.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Python interface to obtain TOTP codes for Nitrokey.

License:GNU Lesser General Public License v3.0


Languages

Language:Python 97.5%Language:Shell 2.5%