Skip to content

ctbfourone/totpgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

totpgen.rb

This was originally intended to be used in conjunction with Evgeny Gridasov's OpenVPN OTP plug-in, but it could be used with other things like PAM or Wireguard.

By default this will generate a new TOTP secret for your current user and draw a QR code to your terminal for scanning it with your 2FA application.

It requires the following rubygems:

  • base32
  • rqrcode
  • optimist

Screenshot

totpgen.rb Screenshot

Authors

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

About

An uncomplicated TOTP generator script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages