Re: Prompt for, and remember, a password?
- To: mutt-users@xxxxxxxx
- Subject: Re: Prompt for, and remember, a password?
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Sun, 7 Sep 2008 13:46:44 -0500
- Cc: Peter Davis <pfd@xxxxxxxxxxxxx>
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=default; bh=XyBSmQqqEPNuexy2xYfqMKx 5oaE=; b=dxdYwSCTjSWtOwLDO33GvEj6S+wFzjBbS0ERHKwGxmrZRUojjl0TUxb tTwBmVbnfjdtJxvfVSoOdT5QAtEmdaMi7ShnfAQb8/rY2Ms7I0Hhxv3/992UW9FR 2tqFz1KzyjTqW5ynGMvxHjH11M3fyZ1GjVVEfTlfEL2n94D/hZK4=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=XDRd4BJs8bJg1E6AYgXme3GGFVTcdm5V/0Mcpsx+Bf/KJsNdCe8yhtcndjw/02A+qWPWL/orwNdzz4dSiRBlpukArhhDa2qmjEEsFF/ZGYL7TtJiLYEQqWaT5IBT7gR30PVYAiZc7saa0Fmy1WJzuIJf8pnYwjIV9q1r/Qw3wYQ=; h=Received:Received:Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <20080907171031.GA36161@xxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx, Peter Davis <pfd@xxxxxxxxxxxxx>
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <20080907171031.GA36161@xxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-08-31)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday, September 7 at 01:10 PM, quoth Peter Davis:
> I've got mutt set up to use the MH inc command to retrieve mail from
> a pop server. This let's me use MH's maildelivery to sort messages
> into folders, etc.
>
> macro index G "!inc -user pfd@xxxxxxxxxxxxx\n"
> macro pager G "!inc -user pfd@xxxxxxxxxxxxx\n"
>
> Is there a way to get mutt to prompt me for the password, and then
> remember it so I won't have to re-type it each time I do a G?
Generally? No. Mutt doesn't do generic password management for
third-party applications; and even if it did, there's no sufficiently
generic method of providing the password to whatever command you
happen to be running.
I don't know much about MH's inc command, but presumably you can put
the password for it into a config file. If that's true, then you can
use gpg to encrypt that config file, and decrypt it as necessary, and
once you have that working, you can use gpg-agent to cache the gpg
decryption password. That's, admittedly, pretty roundabout, but I
can't think of a better way.
~Kyle
- --
Always forgive your enemies; nothing annoys them so much.
-- Oscar Wilde
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iEYEARECAAYFAkjEISgACgkQBkIOoMqOI15vzACdGtQEk/Y47peC8oaQzGmVXvZ3
NK0AnA26sRyK0hFDK1k/HKPDpZXc08wT
=pQQd
-----END PGP SIGNATURE-----