Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Calculate

func Calculate(ctx context.Context, name string, sec store.Secret) (twofactor.OTP, string, error)

    Calculate will compute a OTP code from a given secret

    func WriteQRFile

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

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

      Types

      This section is empty.

      Source Files