NAME
pgp - Greple module to handle PGP encrypted files
SYNOPSIS
greple -Mpgp pattern *.gpg
greple -Mpgp --pgppass 'passphrase' pattern file.gpg
DESCRIPTION
Enables searching within PGP/GPG encrypted files. Files with .pgp, .gpg, or .asc extensions are automatically decrypted. Passphrase is requested interactively once and cached for subsequent files.
REQUIREMENTS
This module requires the gpg (GnuPG) command to be installed and available in PATH.
OPTIONS
- --pgppass passphrase
-
Specify the PGP passphrase directly. Not recommended for security reasons as the passphrase may be visible in process listings or shell history. Use interactive input instead when possible.
SECURITY NOTES
The passphrase is stored in memory during execution and cleared when no longer needed.
Decrypted content is processed through pipes and not written to disk.
Avoid using --pgppass option in scripts or command history.