-
Notifications
You must be signed in to change notification settings - Fork 6
Batch mode - binary key in the file? #5
Copy link
Copy link
Open
Description
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:
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels