All Projects → gcmurphy → getpass

gcmurphy / getpass

Licence: other
Portable getpass implementation for golang

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to getpass

PackageEvaluator.jl
A tool to evaluate the quality of Julia packages.
Stars: ✭ 35 (+133.33%)
Mutual labels:  unmaintained
f1
INACTIVE - http://mzl.la/ghe-archive - F1 is a browser extension that allows you to share links in a fast and fun way. Share links from within the browser, from any webpage, using the same services you already know and love. F1 is made by Mozilla.
Stars: ✭ 51 (+240%)
Mutual labels:  unmaintained
markup
DEPRECATED - This projects has been retired.
Stars: ✭ 25 (+66.67%)
Mutual labels:  unmaintained
firefoxos-loop-client
DEPRECATED - Firefox OS client for the Loop service
Stars: ✭ 27 (+80%)
Mutual labels:  unmaintained
mips
Exercism exercises in MIPS Assembly.
Stars: ✭ 19 (+26.67%)
Mutual labels:  unmaintained
jquery-tmpl-rails
jQuery Templates for the Rails asset pipeline.
Stars: ✭ 46 (+206.67%)
Mutual labels:  unmaintained
npm-mirror
DEPRECATED - A utility for mirroring a subset of npm packages from another npm registry
Stars: ✭ 38 (+153.33%)
Mutual labels:  unmaintained
obase
a port of the OpenBSD userland to Linux | unmaintained: use outils
Stars: ✭ 51 (+240%)
Mutual labels:  unmaintained
receiptverifier
INACTIVE - http://mzl.la/ghe-archive - A helper Javascript library for doing useful things with Open Web Apps.
Stars: ✭ 13 (-13.33%)
Mutual labels:  unmaintained
valgrind
DEPRECATED - git-svn copy of the valgrind subversion repo. Firefox OS specific patches applied in "fxos" branch.
Stars: ✭ 22 (+46.67%)
Mutual labels:  unmaintained
addon-sdk
DEPRECATED - The Add-on SDK repository.
Stars: ✭ 643 (+4186.67%)
Mutual labels:  unmaintained
murmur
DEPRECATED - A webapp for collecting speech samples for voice recognition testing and training
Stars: ✭ 20 (+33.33%)
Mutual labels:  unmaintained
SymPyBotics
[UNMAINTAINED] Symbolic Framework for Modeling and Identification of Robot Dynamics
Stars: ✭ 137 (+813.33%)
Mutual labels:  unmaintained
happyforms
INACTIVE - http://mzl.la/ghe-archive - Extension to Django Forms that strips spaces
Stars: ✭ 14 (-6.67%)
Mutual labels:  unmaintained
feedthefox
INACTIVE - http://mzl.la/ghe-archive - [deprecated] Firefox OS Participation Hub
Stars: ✭ 12 (-20%)
Mutual labels:  unmaintained
wp-sw-manager
INACTIVE - http://mzl.la/ghe-archive - Service Worker infrastructure for WordPress plugins.
Stars: ✭ 44 (+193.33%)
Mutual labels:  unmaintained
django-solr
Solr Search Engine ORM for Django
Stars: ✭ 24 (+60%)
Mutual labels:  unmaintained
django-snow
ServiceNow Ticket Management App for Django based projects
Stars: ✭ 16 (+6.67%)
Mutual labels:  unmaintained
mozilla-download
DEPRECATED - Download firefox / b2g-desktop / mulet
Stars: ✭ 15 (+0%)
Mutual labels:  unmaintained
B2GOS-community
DEPRECATED - Tasks management for the B2G OS working groups
Stars: ✭ 11 (-26.67%)
Mutual labels:  unmaintained
Getpass for GO.

Leverages the good work from the people over at OpenSSL.org via cgo to provide 
a simple, and cross platform getpass implementation. The API provided essentially
wraps the UI_UTIL_read_pw_string function call in <openssl/ui.h>.

// Prompt the user for their password.
func GetPass()(pw string, e os.Error)

// Prompt the user for their password, and get them to confirm it. 
func GetPassConfirm()(pw string, e os.Error)

// Full customization of the call. Arugments essentially map to UI_UTIL_read_pw_string
func GetPassWithOptions(prompt string, confirm, max int)(pw string, e os.Error)

Example Usage: 

package main

import (
    "os"
    "fmt"
    "github.com/gcmurphy/getpass"
)

func main(){
    fmt.Println("Use default prompt:")
    pw,e := getpass.GetPass()
    if e != nil {
        fmt.Println("ERROR: ", e.Error())
        os.Exit(1)
    }
    fmt.Println("Password = ", pw)
}

Install: 
* Requires: OpenSSL 
* go get 
* go build

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].