top
(README.md)
# getpasswd in Go [![GoDoc](https://godoc.org/github.com/howeyc/gopass?status.svg)](https://godoc.org/github.com/howeyc/gopass) [![Build Status](https://secure.travis-ci.org/howeyc/gopass.png?branch=master)](http://travis-ci.org/howeyc/gopass)

Retrieve password from user terminal or piped input without echo.

Verified on BSD, Linux, and Windows.

Example:
```go
package main

import "fmt"
import "github.com/howeyc/gopass"

func main() {
	fmt.Printf("Password: ")

	// Silent. For printing *'s use gopass.GetPasswdMasked()
	pass, err := gopass.GetPasswd()
	if err != nil {
		// Handle gopass.ErrInterrupted or getch() read error
	}

	// Do something with pass
}
```

Caution: Multi-byte characters not supported!

Imported by 332 package(s)

  1. github.com/1851616111/fabric/peer/network
  2. github.com/1lann/tport
  3. github.com/3rf/winpass
  4. github.com/Alkorin/sail/me
  5. github.com/AllTheDucks/docserver
  6. github.com/AppliedTrust/mytotp
  7. github.com/AustinDizzy/securitycenter-cli/auth
  8. github.com/BitfuryLightning/lnd/uspv
  9. github.com/BrianIp/orchestrator/go/ssl
  10. github.com/Carrotman42/otp-pwman
  11. github.com/CrowdProcess/crp-cli
  12. github.com/Cutehacks/qpm/qpm/commands
  13. github.com/Danwakefield/go-minilock/minilock-cli
  14. github.com/EOGILE/hydra/cli/hydra-host/handler
  15. github.com/Fiery/go-run
  16. github.com/Fiery/godo
  17. github.com/Fiery/godo/util
  18. github.com/G-Node/gin-cli/auth
  19. github.com/GoogleCloudPlatform/kubernetes/pkg/client/unversioned/clientcmd
  20. github.com/JNPRAutomate/jmcom
  21. github.com/Joushou/jirafs
  22. github.com/Kunde21/go-prompt
  23. github.com/LA5NTA/pat
  24. github.com/Ledgercn/go-StellarWallet/menu
  25. github.com/Lesterpig/fabric/peer
  26. github.com/LightningNetwork/lnd/uspv
  27. github.com/ListHub/shipyard/cli
  28. github.com/LoRaWanSoFa/ttn/ttnctl/cmd
  29. github.com/MiLk/hummingbird-go/main
  30. github.com/Netflix-Skunkworks/go-jira
  31. github.com/OttoAllmendinger/reop/go
  32. github.com/PaulMaddox/drac-kvm
  33. github.com/Peksa/go-dl/src
  34. github.com/RC1140/go-jira
  35. github.com/Senjai/gh/github
  36. github.com/Shelnutt2/db2struct/db2struct
  37. github.com/Sn0rt/kubernetes/pkg/client/unversioned/clientcmd
  38. github.com/SommerEngineering/SSHTunnel
  39. github.com/SommerEngineering/Sync
  40. github.com/Ter0/coffer
  41. github.com/TheThingsNetwork/ttn/ttnctl/cmd
  42. github.com/TrevorAustin/hub/github
  43. github.com/UKCloud/vcd-healthcheck
  44. github.com/Xe/flitter/drill
  45. github.com/Xe/tools/atheme
  46. github.com/a-palchikov/kubernetes/pkg/client/unversioned/clientcmd
  47. github.com/adamvduke/bcrypt-cli/commands
  48. github.com/adecaro/fabric/peer
  49. github.com/adrienkohlbecker/ejson-kms/utils
  50. github.com/ailispaw/talk2docker/commands
  51. github.com/alexander-bauer/gh/github
  52. github.com/andresgaragiola/fabric/peer
  53. github.com/andyxning/kubernetes/pkg/client/unversioned/clientcmd
  54. github.com/ansel1/godo
  55. github.com/appliedtrust/mytotp
  56. github.com/appscode/appctl/pkg/cmd
  57. github.com/asannou/vuls/commands
  58. github.com/austindizzy/securitycenter-cli/auth
  59. github.com/awakenetworks/turnpike/examples/auth/client
  60. github.com/aykevl/blog
  61. github.com/azlyth/secret
  62. github.com/b1101/ttn/ttnctl/cmd
  63. github.com/baek0429/simplediary
  64. github.com/bam365/tempest/go
  65. github.com/barracudanetworks/wbd
  66. github.com/bazooka-ci/bazooka/cli/bzk
  67. github.com/bcicen/shipyard/cli
  68. github.com/benjic/hub/github
  69. github.com/beyondblog/shipyard/cli
  70. github.com/bobbyabraham/fabric/peer
  71. github.com/bradbeam/go-chef-ssh
  72. github.com/brightbox/gobrightbox-cli/cli
  73. github.com/bronze1man/kmg/kmgSsh
  74. github.com/bulters/obc-peer
  75. github.com/cabrel/xfcm
  76. github.com/caesarxuchao/client-go/tools/clientcmd
  77. github.com/calavera/gh/github
  78. github.com/cathalgarvey/go-minilock/minilock-cli
  79. github.com/catyguan/fabric/peer
  80. github.com/cblach/kii
  81. github.com/cellofellow/pianopub-cli
  82. github.com/chr4/trousseau/trousseau
  83. github.com/chrisroseatcat/secure/wrap
  84. github.com/ckeyer/fabric/peer
  85. github.com/ckuroki/ora_dump
  86. github.com/clearraining/shipyard/cli
  87. github.com/clns/gitlab-cli/cmd
  88. github.com/cmcoffee/go-ask
  89. github.com/coduno/cli
  90. github.com/conseweb/lnd/uspv
  91. github.com/cvvs/hydra/cli/hydra-host/handler
  92. github.com/d4l3k/upass
  93. github.com/danielhtshih/fabric/peer
  94. github.com/danieljoos/keyfwd
  95. github.com/danwakefield/go-minilock/minilock-cli
  96. github.com/daveshanley/gobeepme/console
  97. github.com/dbratus/loghub
  98. github.com/dbrower/go-jira
  99. github.com/dchest/scryptutil
  100. github.com/dcu/1p/cli
  101. github.com/defektive/hub/github
  102. github.com/derekparker/kubernetes/pkg/client/unversioned/clientcmd
  103. github.com/douglarek/gist
  104. github.com/dpapathanasiou/go-one-password
  105. github.com/dubek/fabric/peer
  106. github.com/echa/turnpike/examples/auth/client
  107. github.com/ehazlett/dialogue/cli
  108. github.com/elcct/kubernetes/pkg/client/unversioned/clientcmd
  109. github.com/eogile/hydra/cli/hydra-host/handler
  110. github.com/epuska/go_passgen
  111. github.com/fabiofalci/sconsify
  112. github.com/freman/hipclean
  113. github.com/future-architect/vuls/commands
  114. github.com/gauthampamu/fabric/peer
  115. github.com/gedex/gh/github
  116. github.com/geetarista/gethub/steps
  117. github.com/gerhard/tracker/config
  118. github.com/ghaskins/hyperledger-fabric
  119. github.com/ghaskins/obc-peer
  120. github.com/github/hub/github
  121. github.com/github/orchestrator/go/ssl
  122. github.com/glennsb/atm/main
  123. github.com/glennsb/drac-kvm
  124. github.com/glennsb/swat
  125. github.com/go-emd/emd
  126. github.com/go-godo/godo
  127. github.com/go-godo/godo/util
  128. github.com/gogosphere/gogetthychotic
  129. github.com/goopi/krane
  130. github.com/hako/go-prompt
  131. github.com/helmi03/golang-stuff/github.com/jingweno/gh/github
  132. github.com/hiremaga/sprout
  133. github.com/hironobu-s/conoha-vps/command
  134. github.com/hoshi-takanori/go-web-sample/util
  135. github.com/howeyc/goscp
  136. github.com/howeyc/scryptutil
  137. github.com/hyperledger/fabric/peer/network
  138. github.com/iameli/kubernetes/pkg/client/unversioned/clientcmd
  139. github.com/incredlabs/shipyard/cli
  140. github.com/jackspirou/objstore
  141. github.com/jakecoffman/sshh
  142. github.com/jandre/go-prompt
  143. github.com/jandre/secrets/secrets
  144. github.com/jcesario/orchestrator/go/ssl
  145. github.com/jd1123/trousseau
  146. github.com/jgable/gh/github
  147. github.com/jiangzhx/fabric
  148. github.com/jingweno/gh/github
  149. github.com/jkhelil/kubernetes/pkg/client/unversioned/clientcmd
  150. github.com/jmcvetta/napping/examples/github_auth_token
  151. github.com/jojopoper/go-StellarWallet/menu
  152. github.com/joliss/gh/github
  153. github.com/jonbalbarin/tracker/config
  154. github.com/joushou/jirafs
  155. github.com/jpeters71/gtailer
  156. github.com/jroes/gh/github
  157. github.com/jshirley/go-jira
  158. github.com/jsimonetti/tlstun/client
  159. github.com/justinfenn/mcmd
  160. github.com/karteek/hap.go
  161. github.com/karteek/hap2
  162. github.com/katamaritaco/obc-peer
  163. github.com/kcuzner/goblog/cli
  164. github.com/kevinhankens/napping/examples/github_auth_token
  165. github.com/khrt/go-gist
  166. github.com/kintone/cli-kintone
  167. github.com/kohkimakimoto/gluaquestion
  168. github.com/koyue/godo
  169. github.com/kubernetes/kubernetes/pkg/client/unversioned/clientcmd
  170. github.com/kward/venue/venuelib
  171. github.com/la5nta/pat
  172. github.com/laher/sshutils-go/keyring
  173. github.com/laher/sshutils-go/pwauth
  174. github.com/laohanlinux/sshutils-go/keyring
  175. github.com/laohanlinux/sshutils-go/pwauth
  176. github.com/ledgercn/go-StellarWallet/menu
  177. github.com/lenon/huell/cli
  178. github.com/lightningnetwork/lnd/uspv
  179. github.com/lirm/fabric/peer
  180. github.com/listhub/shipyard/cli
  181. github.com/lordnynex/go-jira
  182. github.com/lornajane/hub/github
  183. github.com/lth2015/fabric/peer
  184. github.com/macedo/godo
  185. github.com/mantyr/go-minilock/minilock-cli
  186. github.com/maran/ethwallet-go
  187. github.com/martingartonft/napping/examples/github_auth_token
  188. github.com/martinrlilja/uuevents-cli
  189. github.com/mathieupassenaud/sail/me
  190. github.com/mathphreak/reop/go
  191. github.com/mattes/fugu
  192. github.com/maufl/ldapsh
  193. github.com/mcduan/identity-toolkit-go/gitkitcli
  194. github.com/mcenatie/fabric/peer
  195. github.com/mcenatie/obc-peer
  196. github.com/mdietz/identity-toolkit-go/gitkitcli
  197. github.com/mephux/envdb
  198. github.com/mfriesen/sms
  199. github.com/mgarciap/fabric/peer
  200. github.com/mgutz/gosu
  201. github.com/mgutz/gosu/util
  202. github.com/micanzhang/pg
  203. github.com/micanzhang/qb
  204. github.com/michaeldowling/fabric/peer
  205. github.com/mikedanese/kubernetes/pkg/client/unversioned/clientcmd
  206. github.com/milescrabill/perm
  207. github.com/milliant/shipyard/cli
  208. github.com/milliyang/golang-stuff/github.com/jingweno/gh/github
  209. github.com/mino0123/sve
  210. github.com/monsti/monsti/utils/bcrypt
  211. github.com/moosingin3space/Gopherbox/GBServer/GBServerAuth
  212. github.com/mozilla-services/github-perm-auditor
  213. github.com/mpyw/twhelp-go/prompt
  214. github.com/mpyw/twhelp/prompt
  215. github.com/mrkaspa/iloopstoolbelt/command
  216. github.com/mt-sync-theme/mt-sync-theme
  217. github.com/mwgg/passera/src
  218. github.com/mxlje/go-minilock/minilock-cli
  219. github.com/myENA/mkpasswd
  220. github.com/nablaone/npass
  221. github.com/nanobox-io/nanobox-cli/util/print
  222. github.com/nanobox-io/nanobox/util/print
  223. github.com/nashiox/vuls/commands
  224. github.com/nexocrew/3nigm4/3n4cli
  225. github.com/nhurel/dim/cli
  226. github.com/nodar-chkuaselidze/belkin-router-restart
  227. github.com/npe9/drac-kvm
  228. github.com/o3ma/o3
  229. github.com/oleiade/trousseau
  230. github.com/openblockchain/obc-peer/peer
  231. github.com/outbrain/orchestrator/go/ssl
  232. github.com/pagodabox/pagodabox-cli/util
  233. github.com/pancakeio/pk
  234. github.com/parampavar/fabric/peer
  235. github.com/pearkes/gethub/steps
  236. github.com/pengwynn/gh/github
  237. github.com/percona/toolkit-go/pt-mongodb-query-profiler
  238. github.com/percona/toolkit-go/pt-mongodb-summary
  239. github.com/phonkee/gopypi
  240. github.com/ploe/jam/bazaar
  241. github.com/polym/upx
  242. github.com/pranavs18/shipyard/cli
  243. github.com/pravasan/pravasan
  244. github.com/purpleidea/mgmt/remote
  245. github.com/qguv/labmap
  246. github.com/qwding/go-testcode/os
  247. github.com/r3labs/composable
  248. github.com/rakoo/fminilock/minilock-cli
  249. github.com/robvdl/gcms/cmd
  250. github.com/roganartu/go-prompt
  251. github.com/roovo/tgl/gitlab
  252. github.com/rschmukler/go-prompt
  253. github.com/runabove/sail/me
  254. github.com/russmack/shipyard/cli
  255. github.com/russross/letmein
  256. github.com/rvolosatovs/ttn/ttnctl/cmd
  257. github.com/ryokdy/cli-kintone
  258. github.com/sadayuki-matsuno/vuls-test/commands
  259. github.com/sadayuki-matsuno/vuls/commands
  260. github.com/samnardoni/gh/github
  261. github.com/samphippen/sr-ide-benchmarker
  262. github.com/satococoa/github-auth/client
  263. github.com/sbani/hydra/cli/hydra-host/handler
  264. github.com/sbinet-staging/ishell
  265. github.com/schmich/ward/ward
  266. github.com/scottjab/drac-kvm
  267. github.com/sdomino/go-util/print
  268. github.com/segmentio/go-prompt
  269. github.com/shatrugna/turnpike/examples/auth/client
  270. github.com/showwin/myquerydump
  271. github.com/shubhodeep9/Gitlines
  272. github.com/simonleung8/cf-cli-plugin/login
  273. github.com/sirlantis/wwdcdl
  274. github.com/sirnewton01/gojazz
  275. github.com/sjmudd/orchestrator/go/ssl
  276. github.com/skyscape-cloud-services/vcd-healthcheck
  277. github.com/sorenmat/hub/github
  278. github.com/souravdatta/go-ftps
  279. github.com/stengaard/trousseau
  280. github.com/stepanstipl/kubernetes/pkg/client/unversioned/clientcmd
  281. github.com/stevenschmatz/gopherbox/GBServer/GBServerAuth
  282. github.com/subutai-io/Tooling-rh-control
  283. github.com/suknark/passkus/passkus
  284. github.com/svagner/gmail2go/passwd
  285. github.com/tSU-RooT/hub/github
  286. github.com/temal-/trousseau
  287. github.com/ter0/coffer
  288. github.com/tgkokk/gh/github
  289. github.com/tj/go-prompt
  290. github.com/tmiller/auth-aws
  291. github.com/trayo/godo
  292. github.com/trifork/trireg
  293. github.com/tuxlinuxien/lesspassgo
  294. github.com/uget/uget/cli
  295. github.com/uniker/fabric/peer
  296. github.com/unixpickle/1mage.us
  297. github.com/unixpickle/dirsync/cmd
  298. github.com/usineur/go-debrid/alldebrid
  299. github.com/usineur/go-neufbox/neuf
  300. github.com/vail130/devereux/devereux
  301. github.com/viktorasm/napping/examples/github_auth_token
  302. github.com/vinzenz/mgmt/remote
  303. github.com/vmware/boot2docker-cli/vsphere
  304. github.com/vodolaz095/gossha/cli
  305. github.com/voldyman/baseBot
  306. github.com/weilaihui/shipyard/cli
  307. github.com/whawty/auth/app
  308. github.com/wujiang/hub/github
  309. github.com/yamnikov-oleg/passs
  310. github.com/yasuoza/gh/github
  311. github.com/ymd38/vuls/commands
  312. github.com/ypapax/godo
  313. github.com/yuanlv/fabric-1/peer
  314. go.mozilla.org/sops/pgp
  315. gopkg.in/Netflix-Skunkworks/go-jira.v0
  316. gopkg.in/go-godo/godo.v1
  317. gopkg.in/go-godo/godo.v2
  318. gopkg.in/go-godo/godo.v2/util
  319. gopkg.in/godo.v1
  320. gopkg.in/godo.v2
  321. gopkg.in/godo.v2/util
  322. gopkg.in/mattes/fugu.v1
  323. gopkg.in/naganumat/godo.v1
  324. gopkg.in/naganumat/godo.v2
  325. gopkg.in/naganumat/godo.v2/util
  326. gopkg.in/purpleidea/mgmt.v0/remote
  327. gopkg.in/segmentio/go-prompt.v1
  328. k8s.io/client-go/tools/clientcmd
  329. k8s.io/kubernetes/pkg/client/unversioned/clientcmd
  330. sourcegraph.com/sourcegraph/sourcegraph/auth/usercreds
  331. sourcegraph.com/sourcegraph/sourcegraph/cli/internal/usercreds
  332. src.sourcegraph.com/sourcegraph/auth/usercreds

Imports 1 package(s)

  1. golang.org/x/sys/unix