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: Mon, 24 Sep 2007 00:50:45 +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:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=G3ndsxdEF0eljA+SCYk8aE17JwqRlldpqIQ82em7yf+lQ2S0p9FePcKH3olzwGEYaDsRi+CMi7Wm8KrEXdaryXd38jqRBnMi5x+JQHq2f3SvxZOG716P/1G4S6qW5KmNXz9KfY72HTPUsenOXM4OEH7nB3079/taF0F/N4Kff+s=;
- In-reply-to: <20070923215759.GO8500@xxxxxxxxxxxxx>
- 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:
Thank you very much for your reply.
I apologize for not being too quick in grasping the
advice you just gave - being very new to this stuff -
so please be patient with me...
> There are several ways to do it. You could include
> the command to
> change pgp_sign_as in the macro that you use to
> change your return
> address, or you could set it in send-hooks. Depends
> on which seems
> more elegant to you.
The only pgp references to a specific key value that I
currently have in my .muttrc (which works perfectly
with the current one-key setup) are as follows:
set pgp_sign_as=0x31577172
set pgp --encrypt-to=0x31577172
What would seem elegant to me is to replace those key
values with a $VARIABLE that can be changed on the fly
by changing a single value in the macro sequences I
use to change return address, hostname, realname, Bcc
field, etc. for each email address I have.
As I said, I do not know how to specifically go about
it in my .muttrc... Would you give me an example of
exactly what code to put in the place of the current
key value (0x31577172) and in the macro sequence
(set="what_do_I_put_here?") to make it work?
> No, but you need to have the sign-as included in
> your pgp_*_command
> settings. For example, my pgp_encrypt_sign_command
> includes:
>
> %?a?-u %a?
You lost me there... how that works goes beyond what I
am able to grasp at this time...
Franz
Wissenswertes zum Thema PC, Zubehör oder Programme. BE A BETTER
INTERNET-GURU! www.yahoo.de/clever