Documentation
¶
Overview ¶
Package passmgr defines a store for credentials.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface {
// List retrieves a list of all Subjects known to the store.
// The Secrets map of the returned Subjects is empty. To retrieve the
// complete Subject including its secrets, the Load method needs to be
// used.
List() []Subject
// Load looks up a Subject, identified by its User and URL fields.
// It returns the complete Subject including its secrets and a flag
// indicating whether the lookup was successful or not.
Load(Subject) (s Subject, ok bool)
// Store adds a new Subject to the store, or updates an existing one.
Store(Subject)
// Delete removes a subject from the store. It returns false if the
// Subject to delete could not be found.
Delete(Subject) bool
}
Store provides access to stored credentials.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
passmgr
command
Passmgr is a simple password manager which allows to securely store passphrases and retrieve them via commandline.
|
Passmgr is a simple password manager which allows to securely store passphrases and retrieve them via commandline. |
|
Package filestore implements a secure passmgr.Store.
|
Package filestore implements a secure passmgr.Store. |
Click to show internal directories.
Click to hide internal directories.