e2fa

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNeedsPassword = errors.New("this Aegis backup is encrypted and needs a password")

Functions

func BuildOTPAuthURI

func BuildOTPAuthURI(e model.VaultEntry) string

func ParseOTPAuthURI

func ParseOTPAuthURI(raw string) (model.VaultEntry, error)

Types

type Codec

type Codec struct{}

func New

func New() Codec

func (Codec) LoadAnyFile

func (c Codec) LoadAnyFile(path, password string) (model.Vault, string, error)

func (Codec) LoadFile

func (Codec) LoadFile(path string, password string) (model.Vault, error)

func (Codec) SaveCSVFile

func (Codec) SaveCSVFile(path string, vault model.Vault) error

func (Codec) SaveEncryptedFile

func (Codec) SaveEncryptedFile(path string, vault model.Vault, password string) error

func (Codec) SavePlainFile

func (Codec) SavePlainFile(path string, vault model.Vault) error

Jump to

Keyboard shortcuts

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