otp

package
v1.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2021 License: MIT Imports: 5 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Calculate

func Calculate(name string, sec gopass.Secret) (twofactor.OTP, string, error)

Calculate will compute a OTP code from a given secret

func WriteQRFile

func WriteQRFile(otp twofactor.OTP, label, file string) error

WriteQRFile writes the given OTP code as a QR image to disk

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL