gopass: Index | Files

package secrets

import ""


Package Files


type Config Uses

type Config struct {
    // contains filtered or unexported fields

Config is an encrypted config store

func New Uses

func New(dir, passphrase string) (*Config, error)

New will load the given file from disk and try to unseal it

func (*Config) Get Uses

func (c *Config) Get(key string) (string, error)

Get loads the requested key from disk

func (*Config) Set Uses

func (c *Config) Set(key, value string) error

Set writes the requested key to disk

func (*Config) Unset Uses

func (c *Config) Unset(key string) error

Unset removes the key from the storage

Package secrets imports 10 packages (graph). Updated 2019-03-28. Refresh now. Tools for package owners.