ssh-vault: github.com/ssh-vault/ssh-vault Index | Files

package sshvault

import "github.com/ssh-vault/ssh-vault"

Index

Package Files

cache.go close.go create.go edit.go encode.go get_password.go get_password_prompt.go getkey.go shred.go vault.go view.go

Constants

const GITHUB = "https://github.com"

GITHUB https://github.com/<username>.keys

const SSHKEYS_ONLINE = "https://ssh-keys.online/new"

SSHKEYS_ONLINE create new pair of keys online

func Cache Uses

func Cache() *cache

Cache creates ~/.ssh/vault

func New Uses

func New(f, k, u, o, v string) (*vault, error)

New initialize vault parameters

func Shred Uses

func Shred(file string) error

Shred securely delete a file

type Locksmith Uses

type Locksmith struct {
    URL string
}

Locksmith implements Schlosser

func (Locksmith) GetKey Uses

func (l Locksmith) GetKey(u string) ([]string, error)

GetKey fetches ssh-key from url

type Schlosser Uses

type Schlosser interface {
    GetKey(string) ([]string, error)
}

Schlosser interface

Package sshvault imports 25 packages (graph). Updated 2018-09-16. Refresh now. Tools for package owners.