creds

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

README

Install

make install compiles and installs and activates creds service into systemd

creds unseal opens the key file for interaction then use in environments

Missing

  • Automatically download keypass file
  • Automatically merge keypass file entries to central storage

Documentation

Index

Constants

This section is empty.

Variables

Functions

func PrintGroup

func PrintGroup(group gokeepasslib.Group)

func ReadPasswordBytes

func ReadPasswordBytes() ([]byte, error)

func WalkGroup

func WalkGroup(group gokeepasslib.Group, cb WalkCallback)

Types

type AttachMsg

type AttachMsg struct {
	Password   string
	SourceFile string
}

type Config

type Config struct {
	Keypassfile   string
	Listenaddress string
}

func ReadConfig

func ReadConfig() (*Config, error)

ReadConfig via viper

type Cred

type Cred struct {
	// contains filtered or unexported fields
}

func NewCred

func NewCred(conf *Config) *Cred

func (*Cred) Attach

func (p *Cred) Attach(w http.ResponseWriter, r *http.Request)

func (*Cred) DebugPrint

func (p *Cred) DebugPrint()

func (*Cred) Read

func (p *Cred) Read(filename, pass string) error

func (*Cred) Seal

func (p *Cred) Seal(w http.ResponseWriter, r *http.Request)

func (*Cred) SecretHandler

func (p *Cred) SecretHandler(w http.ResponseWriter, r *http.Request)

func (*Cred) Unseal

func (p *Cred) Unseal(w http.ResponseWriter, r *http.Request)

func (*Cred) Walk

func (p *Cred) Walk(cb WalkCallback)

type WalkCallback

type WalkCallback func(entry gokeepasslib.Entry)

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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