You are not logged in.

#1 2013-10-16 07:02:11

systemovich
Member
Registered: 2013-05-27
Posts: 20

[SOLVED] [mutt] On startup, does not source encrypted password file

I followed the Arch wiki instructions for managing Mutt passwords securely using GPG. (https://wiki.archlinux.org/index.php/Mu … management).

When I start Mutt, I get this error:

Error in /home/systemovich/.mutt/muttrc, line 3: gpg2 -dq /home/systemovich/.my-pwds.gpg | : No such file or directory
source: errors in /home/systemovich/.mutt/muttrc
Press any key to continue...

What could be the problem?

~/.mutt/muttrc:

# GPG Support.
source /etc/Muttrc.gpg.dist
source "gpg2 -dq $HOME/.my-pwds.gpg | "

# Credentials.
set imap_user	= systemovich@example.net
set imap_pass	= $my_pw 

# Folders.
set folder		= imaps://imap.example.net/
set spoolfile	= +INBOX
set imap_check_subscribed

# Allow Mutt to open new IMAP connection automatically.
unset imap_passive

# Keep IMAP connection alive by polling intermittently.
set imap_keepalive = 300

# Frequency for checking for new mail, in seconds.
set mail_check = 900

# SMTP Settings.
set smtp_url	= smtps://$imap_user:$my_pw@smtp.example.net/
set ssl_starttls	= yes
set realname	= "John Doe"
set from          = $imap_user 
set use_from	= yes

Last edited by systemovich (2013-10-17 09:34:16)

Offline

#2 2013-10-16 16:10:51

immae
Member
Registered: 2013-10-16
Posts: 2

Re: [SOLVED] [mutt] On startup, does not source encrypted password file

Just remove the space between | and ":

source "gpg2 -dq $HOME/.my-pwds.gpg |"

Offline

#3 2013-10-17 09:33:51

systemovich
Member
Registered: 2013-05-27
Posts: 20

Re: [SOLVED] [mutt] On startup, does not source encrypted password file

immae wrote:

Just remove the space between | and ":

source "gpg2 -dq $HOME/.my-pwds.gpg |"

Thanks, immae. That did the trick.

The way the line is displayed on the wiki page is deceptive. I added a note for others who might retype it, instead of copying and pasting it.

Offline

#4 2013-10-17 09:46:02

immae
Member
Registered: 2013-10-16
Posts: 2

Re: [SOLVED] [mutt] On startup, does not source encrypted password file

Yep, I tried to edit the wiki also but I couldn't remove the space between the pipe and the quote...

Offline

Board footer

Powered by FluxBB