On 13:44:46 Oct 28, Benjamin Adams wrote:
> I'm trying to generate pgp to use with email.  Anyone know a simple
> how to?  or can help me with commandline tool? thanks
> 

I was in the same boat as you several months ago and after a lot of
dilly dallying I ended up enabling it in my favorite mail client
mutt(1).

Actually mutt makes life simple in many ways and PGP is no exception.

You have to learn to use a tiny proportion of the vast options that GNU
privacy guard offers you. It is typical GNU bloat-ware and has mile long
man pages.

Anyway please find an excerpt from my muttrc that could get you going
assuming that you know how to use mutt already...

There are several tiny HOWTOs on the Internet for solving your problem
if you google for 'mutt pgp'.

Hope this helps.

-Girish


# My PGP settings
# GnuPG commands
set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch 
--output - %f"
set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - 
%f"
#set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 
--armor --detach-sign --textmode %?a?-u %a? %f"
set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 
--armor  --textmode --clearsign %?a?-u %a? %f"
set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 
0 --armor --textmode --clearsign %?a?-u %a? %f"
set pgp_encrypt_only_command="/usr/local/bin/pgpewrap gpg -v --batch --output - 
--encrypt --encrypt-to 0x48e0da0a --textmode --armor --always-trust -- -r %r -- 
%f"
set pgp_encrypt_sign_command="/usr/local/bin/pgpewrap gpg --passphrase-fd 0 -v 
--batch --output - --encrypt --encrypt-to 0x48e0da0a --sign %?a?-u %a? --armor 
--always-trust -- -r %r -- %f"
set pgp_import_command="gpg --no-verbose --import -v %f"
set pgp_export_command="gpg --no-verbose --export --armor %r"
set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs 
%r"
set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons 
--list-keys %r" 
set pgp_list_secring_command="gpg --no-verbose --batch --with-colons 
--list-secret-keys %r" 
set pgp_getkeys_command=""
set pgp_sign_as="S"
set pgp_autoinline
set pgp_replyinline
set crypt_autosign
set crypt_replysign
set crypt_verify_sig
set crypt_autosign

Reply via email to