SyntaxFix
Write A Post
Hire A Developer
Questions
Try redirecting the output like this:
$key = & 'gpg' --decrypt "secret.gpg" --quiet --no-verbose >$null 2>&1