otp

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 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