utils

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

askpass.go -- Interactive password prompt

(c) 2016 Sudhi Herle <sudhi@herle.net>

Placed in the Public Domain

This software does not come with any express or implied warranty; it is provided "as is". No claim is made to its suitability for any purpose.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Askpass

func Askpass(prompt string, verify bool) (string, error)

Askpass prompts user for an interactive password. If verify is true, confirm a second time. Mistakes during confirmation cause the process to restart upto a maximum of 2 times.

Types

This section is empty.

Jump to

Keyboard shortcuts

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