Re: using gpg protected files to read passwords

Charles Cazabon <[email protected]>
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
Lugubris <[email protected]> wrote:
> 
> I know about gnome keyring's integration, will there be an option for using
> gpg protected files to read passwords? pass.gpg will have the saved password
> and getmail will read it from that file.

getmail can get the password from any arbitrary external command; see the
password_command parameter.  Just write a shellscript that will produce the
password from the gpg file for getmail to read.

Note you can't interact with that process (i.e. see its output or provide
keyboard input to it), as it's run as a separate process behind the scenes.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon
GPL'ed software available at:               http://pyropus.ca/software/
-----------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.