passmgr

package module
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2022 License: BSD-3-Clause Imports: 0 Imported by: 0

README

passmgr

Build Status Go Report Card GoDoc

passmgr is a simple portable password manager.

Usage

Just call passmgr from your command line. The application will tell you how to proceed.

Read the command documentation for more detailed instructions and examples.

Install

Download the latest release for your platform, or build from source: go get github.com/urld/passmgr/cmd/passmgr

Dependencies
Platforms
  • OSX
  • Windows
  • Linux (requires xclip or xsel command to be installed, probably works on other *nix platforms too)

Limitations

  • no protection against keyloggers
  • no protection against cliboard spies

TODO

  • look into improved clipboard handling hn comment

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.

type Subject

type Subject struct {
	User    string
	URL     string
	Secrets map[string]string
}

Subject contains various secrets for a given user name. Usually the URL and User fields are used as unique identifiers.

Directories

Path Synopsis
cmd
passmgr
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.

Jump to

Keyboard shortcuts

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