git-secret/man/man1/git-secret-cat.1.md
Josh Rabinowitz 23acae1265
Issue 630 hide armored2 (#661)
* use gpg --armor when hiding/encrypting files

* update changelog

* Adds SECRETS_GPG_ARMOR env variable

* Fixes lint

* One more test

* Addresses review

Co-authored-by: sobolevn <mail@sobolevn.me>
2021-06-26 16:24:26 +03:00

1.2 KiB

git-secret-cat - decrypts files passed on command line to stdout

SYNOPSIS

git secret cat [-d dir] [-p password] filename [filenames]

DESCRIPTION

git-secret-cat - Outputs to stdout the contents of the files named on the command line. As with git-secret-reveal, you'll need to have a public/private keypair that is allowed to decrypt this repo.

Note also that this command can be affected by the SECRETS_PINENTRY environment variable. See (See git-secret(7) for information using SECRETS_PINENTRY.

OPTIONS

-d  - specifies `--homedir` option for the `gpg`, basically use this option if you store your keys in a custom location.
-p  - specifies password for noinput mode, adds `--passphrase` option for `gpg`.
-h  - shows help.

MANUAL

Run man git-secret-cat to see this note.

SEE ALSO

git-secret-init(1), git-secret-tell(1), git-secret-add(1), git-secret-hide(1), git-secret-reveal(1)