Pass: Difference between revisions
No edit summary |
|||
Line 8: | Line 8: | ||
==Tavakasutus== | ==Tavakasutus== | ||
gpg --gen-key | |||
==Käsud== | ==Käsud== |
Revision as of 08:16, 30 April 2017
Sissejuhatus
Pass is a very simple password store that keeps passwords inside gpg2 encrypted files inside a simple directory tree residing at ~/.password-store.
The pass utility provides a series of commands for manipulating the password store, allowing the user to add, remove, edit, synchronize, generate, and manipulate passwords.
Süntaks
pass [COMMAND][OPTIONS][ARGS]
Tavakasutus
gpg --gen-key
Käsud
If no COMMAND is specified, COMMAND defaults to either show or ls, depending on the type of specifier in ARGS. Alternatively, if PASSWORD_STORE_ENABLE_EXTENSIONS is set to "true", and the file .extensions/COMMAND.bash exists inside the password store and is executable, then it is sourced into the environment, passing any arguments and environment variables. Extensions existing in a system-wide directory, only installable by the administrator, are always enabled. Otherwise COMMAND must be one of the valid commands listed below.
Several of the commands below rely on or provide additional functionality if the password store directory is also a git repository. If the password store directory is a git repository, all password store modification commands will cause a corresponding git commit. Sub-directories may be separate nested git repositories, and pass will use the inner-most directory relative to the current password. See the EXTENDED GIT EXAMPLE section for a detailed description using init and git(1). The init command must be run before other commands in order to initialize the password store with the correct gpg key id. Passwords are encrypted using the gpg key set with init. There is a corresponding bash completion script for use with tab completing password names in bash.
Kokkuvõte
Autor
Nimi: Oliver Rahula
Rühm: C11
Kuupäev: 23.04.2017