Open Jacekalex opened 5 years ago
Can you add to the GNUPG :: Interface module for the --batch --no-default-keyring --keyring '/where/is/key.bin' parameters, would you like to use a key saved in a binary file?
--batch --no-default-keyring --keyring '/where/is/key.bin'
They are talking about such an example of use:
echo "some super secret text" > /tmp/message.txt gpg --batch --armor --trust-model always --no-default-keyring --keyring /etc/foo.pubkey.bin --recipient foo@bar.com --encrypt < /tmp/message.txt > /tmp/message.txt.pgp
Source: https://www.zulius.com/how-to/send-encrypted-email-from-shell-scripts-cron/
Cheers
Can you add to the GNUPG :: Interface module for the
--batch --no-default-keyring --keyring '/where/is/key.bin'
parameters, would you like to use a key saved in a binary file?They are talking about such an example of use:
Source: https://www.zulius.com/how-to/send-encrypted-email-from-shell-scripts-cron/
Cheers