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

Re: How to activate a given GPG key through a macro...



--- Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx> schrieb:

OK, I've applied the conditional version:

set pgp_encrypt_only_command="pgpewrap gpg --batch
--quiet --no-verbose --output - --encrypt --textmode
--armor --always-trust %?a? --encrypt-to %a? -- -r %r
-- %f"
set pgp_encrypt_sign_command="pgpewrap gpg
--passphrase-fd 0 --batch --quiet --no-verbose
--textmode --output - --encrypt --sign %?a?-u %a?
--armor --always-trust %?a?--encrypt-to %a? -- -r %r
-- %f"

and it works perfectly, as expected. THANKS!!!

Though, when leaving the "pgp_sign_as=" empty, it
still reverts to default pgp key instead of not
applying pgp at all to that identity (intended
behavior), even when I modify the "set
pgp_sign_command=" line to: 

set pgp_sign_command="gpg --no-verbose --batch
--output - --passphrase-fd 0 --armor --detach-sign
--textmode %?a? %a? %f"

(which last part I very likely misunderstood....)

Franz


      __________________________________  
Yahoo! Clever: Sie haben Fragen? Yahoo! Nutzer antworten Ihnen. 
www.yahoo.de/clever