Hi,

On 7/04/2016 2:22 AM, Russell Coker via luv-main wrote:
> So my plan now is to use something simple for sending GPG encrypted mail 
> (which is a small portion of my email) and use Kmail for the majority of mail 
> for which it works quite well.

Simple?  Is this simple enough?

$ gpg -e -s -a --default-key B7EFE2FB \
     -r [email protected]| \
     mailx -s 'test gpg cli' [email protected] \
           -b [email protected]

Type your passphrase, then type the message and end the message with
<ctrl-d>.


That does encryption and signing [you may want one or both] with ascii
armouring of STDIN to STDOUT.


If your desired signing key is in your gpg.conf file, then you don't
need the --default-key option.

Oh and the -b is optional, for bcc to yourself...

Cheers
AndrewM

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
luv-main mailing list
[email protected]
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main

Reply via email to