<<< Date Index >>>     <<< Thread Index >>>

Re: Auto clearsign with gpg



On Tue, Apr 27, 2004 at 12:37:41PM +0100, Stewart V. Wright wrote:
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   # create a pgp/mime signed attachment
>   set pgp_sign_command="muttgpg    --no-verbose --batch --quiet   --output - 
> --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
> 
I have it in my .muttrc file, but I still get some problems with
signature. When I send it my another address gpg that "message has wrong
structure" (sorry for translation, but it's in Czech originaly)
> Did you remember NOT to have line breaks in your 'set' commands?
Vim takes care of it ;-)
> 
> 
> 
> I appreciate the need understand rather than copy, but compare the
> values of your pgp_sign* variables to the standard set up and see what
> is different.
I enclose my gpg part of config file:
code_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 --quiet --output -
--passphrase-f
d 0 --armor --detach-sign --textmode  %?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="pgpewrap gpg --batch --quiet --no-verbose
--output
 - --encrypt --textmode --armor --always-trust  -- -r %r -- %f"
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 --quiet --output -
--passphrase-f
d 0 --armor --detach-sign --textmode  %?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="pgpewrap gpg --batch --quiet --no-verbose
--output
 - --encrypt --textmode --armor --always-trust  -- -r %r -- %f"
set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 --batch
--quiet --n
o-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor
--always-tru
st  -- -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-secr
et-keys %r"
set pgp_autosign=yes
set pgp_replyencrypt=yes
set pgp_timeout=0
set pgp_good_sign="^gpg: Good signature from"
set pgp_create_traditional=no

Hope it isn't too boring for you. I'll at your muttgpg script although I
don't use bash. Thank you for your patience.


> 
> 
> Cheers and good luck,
> 
> S.
> 
> 
> [1] http://www.liv.ac.uk/~svwright/software/#muttgpg

Zbynek

P.S. BTW, is my gpg signature readable for others?
-- 
If you cannot work with love but only with distaste it is better that you
should leave your work.
                                                     Kahlil Gibran

Attachment: pgpiCii2kklQv.pgp
Description: PGP signature