![]() |
![]()
| ![]() |
![]()
NAMEgopass - The standard Unix password manager SYNOPSISgopass [global options] command [command options] [,arguments...] GLOBAL OPTIONS
COMMANDSageage commands Built-in commands for the age backend. These allow limited
interactions with the gopass specific age identities.
aliasPrint domain aliases Print defined domain aliases. auditDecrypt all secrets and scan for weak or leaked passwords This command decrypts all secrets and checks for common flaws and (optionally) against a list of previously leaked passwords. Flags
catDecode and print content of a binary secret to stdout, or encode and insert from stdin This command is similar to the way cat works on the command line. It can either be used to retrieve the decoded content of a secret similar to 'cat file' or vice versa to encode the content from STDIN to a secret. cloneClone a password store from a git repository This command clones an existing password store from a git remote to a local password store. Can be either used to initialize a new root store or to add a new mounted sub-store. Needs at least one argument (git URL) to clone from. Accepts a second argument (mount location) to clone and mount a sub-store, e.g. 'gopass clone git@example.com/store.git foo/bar' Flags
configDisplay and edit the configuration file This command allows for easy printing and editing of the configuration. Without argument, the entire config is printed. With a single argument, a single key can be printed. With two arguments a setting specified by key can be set to value. Flags
convertConvert a store to different backends Convert a store to a different set of backends Flags
copyCopy secrets from one location to another This command copies an existing secret in the store to another location. This also works across different sub-stores. If the source is a directory it will automatically copy recursively. In that case, the source directory is re-created at the destination if no trailing slash is found, otherwise the contents are flattened (similar to rsync). Flags
createEasy creation of new secrets This command starts a wizard to aid in creation of new secrets. Flags deleteRemove one or many secrets from the store This command removes secrets. It can work recursively on folders. Recursing across stores is purposefully not supported. Flags
editEdit new or existing secrets Use this command to insert a new secret or edit an existing one using your $EDITOR. It will attempt to create a secure temporary directory for storing your secret while the editor is accessing it. Please make sure your editor doesn't leak sensitive data to other locations while editing. Note: If $EDITOR is not set we will try 'editor'. If that's not available either we fall back to 'vi'. Consider using 'update-alternatives --config editor to change the defaults. Flags
envRun a subprocess with a pre-populated environment This command runs a sub process with the environment populated from the keys of a secret. Flags
findSearch for secrets This command will first attempt a simple pattern match on the name of the secret. If there is an exact match it will be shown directly; if there are multiple matches, a selection will be shown. Flags fsckCheck store integrity, clean up artifacts and possibly re-write secrets Check the integrity of the given sub-store or all stores if none are specified. Will automatically fix all issues found, i.e. it will change permissions, re-write secrets and remove outdated configs. Flags
fscopyCopy files from or to the password store This command either reads a file from the filesystem and writes the encoded and encrypted version in the store or it decrypts and decodes a secret and writes the result to a file. Either source or destination must be a file and the other one a secret. If you want the source to be securely removed after copying, use 'gopass binary move' fsmoveMove files from or to the password store This command either reads a file from the filesystem and writes the encoded and encrypted version in the store or it decrypts and decodes a secret and writes the result to a file. Either source or destination must be a file and the other one a secret. The source will be wiped from disk or from the store after it has been copied successfully and validated. If you don't want the source to be removed use 'gopass binary copy' generateGenerate a new password Dialog to generate a new password and write it into a new or existing secret. By default, the new password will replace the first line of an existing secret (or create a new one). Flags
gitRun a git command inside a password store: gopass git [--store=<store>] <git-command> If the password store is a git repository, execute a git command specified by git-command-args. Flags
grepSearch for secrets files containing search-string when decrypted. This command decrypts all secrets and performs a pattern matching on the content. Flags
historyShow password history Display the change history for a secret Flags
initInitialize new password store. Initialize new password storage and use gpg-id for encryption. Flags
insertInsert a new secret Insert a new secret. Optionally, echo the secret back to the console during entry. Or, optionally, the entry may be multiline. Prompt before overwriting existing secret unless forced. Flags
linkCreate a symlink This command creates a symlink from one entry in a mounted store to another entry. Important: Does not cross mounts! listList existing secrets This command will list all existing secrets. Provide a folder prefix to list only certain subfolders of the store. Flags
mergeMerge multiple secrets into one This command implements a merge workflow to help deduplicate secrets. It requires exactly one destination (may already exist) and at least one source (must exist, can be multiple). gopass will then merge all entries into one, drop into an editor, save the result and remove all merged entries. Flags
mountsEdit mounted stores This command displays all mounted password stores. It offers several subcommands to create or remove mounts. moveMove secrets from one location to another This command moves a secret from one path to another. This also works across different sub-stores. If the source is a directory, the source directory is re-created at the destination if no trailing slash is found, otherwise the contents are flattened (similar to rsync). Flags
otpGenerate time- or hmac-based tokens Tries to parse an OTP URL (otpauth://). URL can be TOTP or HOTP. The URL can be provided on its own line or on a key value line with a key named 'totp'. Flags
processProcess a template file This command processes a template file. It will read the template file and replace all variables with their values. pwgenGenerate passwords Print any number of password to the console. The optional length parameter specifies the length of each password. Flags
rcsRun a RCS command inside a password store If the password store is a git repository, execute a git command specified by git-command-args. recipientsEdit recipient permissions This command displays all existing recipients for all mounted stores. The subcommands allow adding or removing recipients. Flags
setupInitialize a new password store This command is automatically invoked if gopass is started without any existing password store. This command exists so users can be provided with simple one-command setup instructions. Flags
showDisplay the content of a secret Show an existing secret and optionally put its first line on the clipboard. If put on the clipboard, it will be cleared after 45 seconds. Flags
sumCompute the SHA256 checksum This command decodes an Base64 encoded secret and computes the SHA256 checksum over the decoded data. This is useful to verify the integrity of an inserted secret. syncSync all local stores with their remotes Sync all local stores with their git remotes, if any, and check any possibly affected gpg keys. Flags
templatesEdit templates List existing templates in the password store and allow for editing and creating them. unclipInternal command to clear clipboard Clear the clipboard if the content matches the checksum. Flags
updateCheck for updates This command checks for gopass updates at GitHub and automatically downloads and installs any missing update. versionDisplay version This command displays version and build time information. REPORTING BUGSReport bugs to <https://github.com/gopasspw/gopass/issues/new> COPYRIGHTCopyright © 2021 Gopass Authors This program is free software; you may redistribute it under the terms of the MIT license. This program has absolutely no warranty.
|