passwd

package module
v0.0.0-...-0f63324 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2018 License: ISC Imports: 6 Imported by: 3

README

passwd

Let your golang programs access passwords in a secure way.

Currently supported operating systems:

  • Mac OS X
  • Linux
  • Plan 9
  • Windows

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnsupportedOS = errors.New("not supported")

Functions

func Get

func Get(prompt string) ([]byte, error)

Get displays a prompt to, and reads in a password from /dev/tty (/dev/cons). Get turns off character echoing while reading the password. The calling process should zero the password as soon as possible.

Types

This section is empty.

Jump to

Keyboard shortcuts

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