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:57:15 -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=yeuG4ME6+spkzzgf43E+6E4 LER4=; b=YbL7CVNiegq2QVBlO8NRdB3YwVtfyBs2gxk4dQK4JIRWwi5OJ914bTs 4T0CN7rsKo7X2Btk5fkw3R2cceVO+ALZiXAlnB//ZvgNvv8Qm2/OyI63cz9+jh2O awDSyMtA8Oe1XWhFDmhPNwokit6IJVUq5bNO5quZphbpc5QLkq3U=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=mXn5rftndwLiprRCWaHcHHo8VGFUagAcpMRHjdmIFK2/uCyod07uGWCku9eBufgnEywUQXBrbX7QZKK3kQPHCBwGsESHuhHncNK5P9jz8NtqO83JuaadoRvHPUiSD2qjIOH2fZFpr8CZspVlwqWUSN3joIOXbh2VfzaH6ynKmjs=; 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: <20080907185352.GC36161@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> <20080907184644.GA49935@xxxxxxxxxxxxx> <20080907185352.GC36161@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 02:53 PM, quoth Peter Davis:
> I guess all I really need would be for mutt to have an environment
> variable (or some such thing) that I could use to pass the password
> on the command line:
>
> macro index G "!inc -user pfd@xxxxxxxxxxxxx -pass $MYPASSWORD\n"
>
> Is that do-able?
Do-able? Yes. Wise from a security standpoint? No. Anyone on your
machine can do a `ps axw` (or a similar command) to discover your
password while the inc command is running.
If you really don't care, why not save your password to disk. Heck,
you could even do this:
macro index G "!inc -user pfd@xxxxxxxxxxxxx -pass `cat ~/.pfdpass`\n"
~Kyle
- --
When the people fear the government, there is tyranny; when the
government fears the people, there is liberty.
-- Thomas Jefferson
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iEYEARECAAYFAkjEJAsACgkQBkIOoMqOI14WeACePW9hQZFmnTDA+YEhrv2mEQaJ
eYYAniUYATybd5aqASebZLiDWzDlK8cT
=oEAB
-----END PGP SIGNATURE-----