How to activate a given GPG key through a macro...
- To: mutt-users@xxxxxxxx
- Subject: How to activate a given GPG key through a macro...
- From: "P.M." <promulgato@xxxxxxxx>
- Date: Sun, 23 Sep 2007 22:41:27 +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=gjuCbUdjS9/pZu9oal8unyWlLGjryoE78h+FMmpKvlVI2WIL4+Ymy4ymQKcs6NOd00kqXMmEwhHl2EGMscstdp0FLWGeRb/WR7Lh+S3FTuDeBNkZJKIk31y0txafvOrEdIY2CDZyx6kif2jta2lzA+B+0yQCB2Dc12zCz+/nLCs=;
- 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
I've searched the net, the manual and various How-To's
and not found this information anywhere.
I have a few gpg keys corresponding to a few different
email addresses. When sending out mail within Mutt, I
choose which address to make active through a macro
key. So I am wondering how can I also include a
command within each macro that activates the gpg key
relative to that email address.
This way, I would just assign a variable to the
various pgp entries in my .muttrc, for instance:
set pgp_sign_as=$UID
set pgp --encryption-to=$UID
and so forth....
and then assign the value of $UID each time I need to
switch through a single command (added to the macro
sequence activating a particular address), eg:
set UID=0xD214....
The problem is, I do not know how to do this properly
within Mutt. How do I do it???
Also, is it necessary to run the command, 'pgp
--local-user <key>' each time I switch to a different
gpg key, or the abovementioned setup will suffice?
By the way, I run Mutt 1.4.2.3 (not right now, I'm
writing this from my GF's laptop, while she's
sleeping... :))
Thanks so much,
Franz
Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies und viel
mehr bietet das neue Yahoo! Mail - www.yahoo.de/mail