lib

package
v0.0.0-...-f0dc997 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Vault

type Vault struct {
	Plaintext []byte
	// contains filtered or unexported fields
}

Vault struct

func (*Vault) DecryptVaultWithKey

func (v *Vault) DecryptVaultWithKey(vaultPath string, keyPath string) error

DecryptVaultWithKey decrypts vault with private id_rsa key read from path

func (*Vault) EditVaultFile

func (v *Vault) EditVaultFile()

EditVaultFile vault.Path file

func (*Vault) ReadAuthorizedKeys

func (v *Vault) ReadAuthorizedKeys(path string)

ReadAuthorizedKeys file from path

func (*Vault) ReadStdIn

func (v *Vault) ReadStdIn()

ReadStdIn content from stdin?

func (*Vault) StoreSecuredVault

func (v *Vault) StoreSecuredVault(vaultPath string) error

StoreSecuredVault encrypts Vault and stores it on vaultPath

Jump to

Keyboard shortcuts

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