gopass

package
v0.0.0-...-86643de Latest Latest
Warning

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

Go to latest
Published: May 10, 2019 License: BSD-2-Clause Imports: 6 Imported by: 7 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

gopass is a library for getting hidden input from a terminal.

This library's main use is to allow a user to enter a password at the command line without having it echoed to the screen.

The libary currently supports unix systems by manipulating stty.

This code is based upon code by RogerV in the golang-nuts thread: https://groups.google.com/group/golang-nuts/browse_thread/thread/40cc41e9d9fc9247

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPass

func GetPass(prompt string) (passwd string, err error)

GetPass gets input hidden from the terminal from a user. This is accomplished by turning off terminal echo, reading input from the user and finally turning on terminal echo. prompt is a string to display before the user's input.

Types

This section is empty.

Jump to

Keyboard shortcuts

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