Re: How to activate a given GPG key through a macro...
- To: mutt-users@xxxxxxxx
- Subject: Re: How to activate a given GPG key through a macro...
- From: "P.M." <promulgato@xxxxxxxx>
- Date: Tue, 25 Sep 2007 02:33:26 +0200 (CEST)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=Evo7GwUTfjqwHLehm6pVeJvia9M13oT8y7HMBTeuoHG+nSa86ufXei+qcq26Zs6u0O9itmfR46mKRqPnSjBiFH7kgACNyccCKq9eLOo5/mobOdBlJh6Ts9tkyuGQuaXuLNGOPdy1N/33uWF+23zcCMLEtuOLrYgZw4d63Gunl0k=;
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Sender: owner-mutt-users@xxxxxxxx
--- 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