Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupportedEntryType = errors.New("unsupported entry type")
Functions ¶
This section is empty.
Types ¶
type DBEntry ¶
type DBEntry struct { Type string `json:"type"` Name string `json:"name"` Issuer string `json:"issuer"` Group string `json:"group"` Info DBEntryInfo `json:"info"` }
type DBEntryInfo ¶
type Vault ¶
type Vault struct { Version int `json:"version"` Header VaultHeader `json:"header"` DB string `json:"db"` }
func NewVaultFromFile ¶
type VaultHeader ¶
type VaultHeader struct { Slots []VaultHeaderSlot `json:"slots"` Params VaultHeaderParams `json:"params"` }
type VaultHeaderParams ¶
type VaultHeaderSlot ¶
type VaultHeaderSlot struct { Type int `json:"type"` UUID string `json:"uuid"` Key string `json:"key"` KeyParams VaultHeaderSlotKeyParams `json:"key_params"` N int `json:"n"` R int `json:"r"` P int `json:"p"` Salt string `json:"salt"` Repaired bool `json:"repaired"` IsBackup bool `json:"is_backup"` }
Click to show internal directories.
Click to hide internal directories.