The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Package:Pass"
(Added a missing space) |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Ebuild | |||
|Summary=Pass is a password manager following the Unix philosophy. | |||
|CatPkg=app-admin/pass | |||
|Homepage=http://www.passwordstore.org/ | |||
}} | |||
From the [http://www.passwordstore.org/|pass website]: | From the [http://www.passwordstore.org/|pass website]: | ||
<blockquote> | <blockquote> | ||
Line 11: | Line 14: | ||
== Installation == | == Installation == | ||
{{note|You need to have set up [[Package:Gnupg|gpg]] to use ''pass''. Check out the [http://wiki.gentoo.org/wiki/GnuPG Gentoo GnuPG article] and read [https://www.gnupg.org/gph/en/manual.html The GNU Privacy Handbook] if you don't know what GPG is.}} | |||
You can install 'pass' the usual way: | You can install 'pass' the usual way: | ||
<console> | <console> | ||
Line 19: | Line 25: | ||
However if you want the features like zsh completion or dmenu script you should add some USe flags to configure pass to your needs. | However if you want the features like zsh completion or dmenu script you should add some USe flags to configure pass to your needs. | ||
If you have 'equery' installed you can check the all available USE flags including their description using: | If you have ''equery'' installed you can check the all available USE flags including their description using: | ||
<console> | <console> | ||
Line 26: | Line 32: | ||
{{fancynote|Soon the wiki will list the use flags of packages too!}} | {{fancynote|Soon the wiki will list the use flags of packages too!}} | ||
For example if you want pass the abillity to import passwords form other other password managers you should add 'importers': | For example if you want pass the abillity to import passwords form other other password managers you should add ''importers'': | ||
<console> | <console> | ||
###i## echo "app-admin/pass importers" >> /etc/portage/package.use" | ###i## echo "app-admin/pass importers" >> /etc/portage/package.use" | ||
</console> | </console> | ||
{{fancynote|'importers' can import passwords from: | {{fancynote|''importers'' can import passwords from: | ||
* 1Password | * 1Password | ||
* KeepassX | * KeepassX | ||
Line 58: | Line 64: | ||
Now you can show your password using: | Now you can show your password using: | ||
<console> | <console> | ||
$ ##i## | $ ##i## pass Work/Mailaccount | ||
asdf | asdf | ||
</console> | </console> | ||
{{fancytip|Use the option ''-c'' to copy the password to clipboard instead of displaying it on the screen. It will be deleted from clipboard after several seconds.}} | {{fancytip|Use the option ''-c'' to copy the password to clipboard instead of displaying it on the screen. It will be deleted from clipboard after several seconds.}} | ||
{{EbuildFooter}} |
Latest revision as of 07:23, January 26, 2015
Pass
We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.
From the website:
With pass, each password lives inside of a gpg encrypted file whose filename is the title of the website or resource that requires the password. These encrypted files may be organized into meaningful folder hierarchies, copied from computer to computer, and, in general, manipulated using standard command line file management utilities.
pass makes managing these individual password files extremely easy. All passwords live in ~/.password-store, and pass provides some nice commands for adding, editing, generating, and retrieving passwords. It is a very short and simple shell script. It's capable of temporarily putting passwords on your clipboard and tracking password changes using git.
You can edit the password store using ordinary unix shell commands alongside the pass command. There are no funky file formats or new paradigms to learn. There is bash completion so that you can simply hit tab to fill in names and commands, as well as completion for zsh and fish available in the completion folder. The community has even produced a GUI client, an iOS app, a Firefox plugin, a dmenu script, and even an emacs package.
Installation
You need to have set up gpg to use pass. Check out the Gentoo GnuPG article and read The GNU Privacy Handbook if you don't know what GPG is.
You can install 'pass' the usual way:
root # emerge -a pass
USE Flags
However if you want the features like zsh completion or dmenu script you should add some USe flags to configure pass to your needs.
If you have equery installed you can check the all available USE flags including their description using:
root # equery u pass
Soon the wiki will list the use flags of packages too!
For example if you want pass the abillity to import passwords form other other password managers you should add importers:
root # echo "app-admin/pass importers" >> /etc/portage/package.use"
importers can import passwords from:
- 1Password
- KeepassX
- Keepass2
- Figaro's Password Manager
- Lastpass
- Ked Password Manager
- Revelation Password Manager
- Password Gorilla
- PWSafe
- KWallet
Example usage
This is how you initialize pass and store a password:
user $ pass init "mystore" mkdir: created directory „/home/user/.password-store/“ Password store initialized for mystore user $ pass insert Work/Mailaccount mkdir: created directory „/home/user/.password-store/Work“ Enter password for Work/Mailaccount: **** Retype password for Work/Mailaccount: ****
Now you can show your password using:
user $ pass Work/Mailaccount asdf
Use the option -c to copy the password to clipboard instead of displaying it on the screen. It will be deleted from clipboard after several seconds.