Difference between pages "Package:Vifm" and "Package:Pass"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
(better description and features from vifm wiki)
 
m (added link to Gnupg ebuild)
 
Line 1: Line 1:
{{Ebuild
{{Ebuild
|Summary=Console file manager with vi(m)-like keybindings
|Summary=Pass is a password manager following the Unix philosophy.
|CatPkg=app-misc/vifm
|CatPkg=app-admin/pass
|Maintainer=
|Maintainer=
|Homepage=http://vifm.info/
|Homepage=http://www.passwordstore.org/
}}
}}
'''Vifm''' is an [https://en.wikipedia.org/wiki/Ncurses ncurses] based file manager with [https://en.wikipedia.org/wiki/Vi vi] like keybindings/modes/options/commands/configuration, which also borrows some useful ideas from [https://en.wikipedia.org/wiki/Mutt_(email_client) mutt]. If you use vi, vifm gives you complete keyboard control over your files without having to learn a new set of commands.
From the [http://www.passwordstore.org/|pass website]:
<blockquote>
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.


== Features ==
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.


* cross-platform (GNU/Linux, *BSD, Solaris, Windows, Mac OS)
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.
* [https://en.wikipedia.org/wiki/UTF-8 UTF-8] support
</blockquote>
* user mappings (almost like in vi)
* ranges in command-line commands
* user defined commands (support ranges)
* registers
* operation undoing/redoing
* [https://en.wikipedia.org/wiki/Filesystem_in_Userspace FUSE] file systems support
* trash
* multiple files renaming (also known as "bulk renaming" or [https://en.wikipedia.org/wiki/Batch_renaming "batch renaming"])
* filename modifiers
* Color schemes
* file name color according to generic file type
* path specific colorscheme customization
* bookmarks
* operation backgrounding
* customizable file viewers
* handy [https://en.wikipedia.org/wiki/Less_(Unix) less]-like preview mode with support of colors
* (interactive) filtering out and searching for files using regular expressions
* one or two pane view
* shell-like command line editing
* multicolumn view
* [https://en.wikipedia.org/wiki/Ls ls]-like view
* customizable file name prefixes and suffixes
* built-in integration with [https://en.wikipedia.org/wiki/GNU_Screen GNU Screen] and [https://en.wikipedia.org/wiki/Tmux tmux]
* external editing of command line


== Color themes ==
== Installation ==
There is [https://github.com/vifm/vifm-colors seperate git repository] containing a collection of color themes for vifm.


If you would like to just have one theme you could download it via wget like this:
{{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:
<console>
<console>
$ ##i## wget -P ~/.vifm/colors https://raw.githubusercontent.com/vifm/vifm-colors/master/solarized-dark
###i## emerge -a pass
</console>
</console>


If you prefer to download all themes you could clone the entire repository, and stay up to date.
=== 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:


<console>
<console>
$ ##i## rm -rf ~/.vifm/colors
###i## equery u pass
$ ##i## git clone https://github.com/vifm/vifm-colors ~/.vifm/colors
</console>
</console>
{{fancynote|Soon the wiki will list the use flags of packages too!}}


To check for updates just type
For example if you want pass the abillity to import passwords form other other password managers you should add ''importers'':
<console>
<console>
$ ##i## cd ~/.vifm/colors.
###i## echo "app-admin/pass importers" >> /etc/portage/package.use"
$ ##i## git pull
</console>
</console>


== USE-Flags ==
{{fancynote|''importers'' can import passwords from:
* X
* 1Password
* extended-keys
* KeepassX
* gtk
* Keepass2
* magic
* Figaro's Password Manager
* developer
* Lastpass
* vim
* Ked Password Manager
* vim-syntax
* Revelation Password Manager
* Password Gorilla
* PWSafe
* KWallet}}
 
== Example usage ==
This is how you initialize pass and store a password:
 
<console>
$ ##i## pass init "mystore"
mkdir: created directory „/home/user/.password-store/“
Password store initialized for mystore
$ ##i## pass insert Work/Mailaccount
mkdir: created directory „/home/user/.password-store/Work“
Enter password for Work/Mailaccount: ****
Retype password for Work/Mailaccount: ****
</console>
 
Now you can show your password using:
<console>
$ ##i## passWork/Mailaccount
asdf
</console>


{{PageNeedsUpdates}}
{{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}}
{{EbuildFooter}}

Revision as of 18:32, September 30, 2014

Pass

   Tip

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

   Note

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
   Note

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"
   Note

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 $  passWork/Mailaccount
asdf
   Tip

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.