Closed luochen1990 closed 2 years ago
I'm trying to provide password for passphrase2pgp from stdin, but following doesn't work (still trying to get password from pinentry):
passphrase2pgp
echo "123456\n123456" | passphrase2pgp -u "test <test.example.com>" | gpg --import
Is there any other way?
I find a solution like following:
printf 123456 | passphrase2pgp -u "test <test.example.com>" -i /dev/stdin | gpg --import
I'm trying to provide password for
passphrase2pgp
from stdin, but following doesn't work (still trying to get password from pinentry):Is there any other way?