vault

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteVault added in v0.1.4

func DeleteVault(encryptKey []byte, Key string)

func Init added in v0.1.2

func Init(freshInit bool) string

Vault init create masterkey & storage file if not initialzed.

func ListVault

func ListVault()

func ReadVault

func ReadVault(encryptKey []byte, Key string)

func StatusVault

func StatusVault()

func WriteVault

func WriteVault(encryptKey []byte, Key, secret string)

Types

type VaultData

type VaultData struct {
	CreatedTime int64
	Type        string
	EnctyptData []byte
	Version     int
}

Jump to

Keyboard shortcuts

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