LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-11-2019, 09:57 AM   #1
christr
LQ Newbie
 
Registered: Sep 2011
Posts: 21

Rep: Reputation: Disabled
mutt -- Trying to setup S/MIME PKI encrypted emails -- problem with smime_keys


I'm need to setup the ability to send PKI encrypted emails from the command line. From everything I've read Mutt seems to be the only solution for this, but correct me if I'm wrong.

So far the most promising article I've found on how to do this is here.

The first thing this and other articles I've found discuss is to run the "smime_keys init" command to build the required directories it will need under ~/.smime. I've tried this on multiple distributions including Debian, Red Hat, and CentOS. I even compiled a version of mutt directly from the source. No matter what I try it always comes back with an error as shown below.

Code:
-bash-4.2$ smime_keys init
smime_keys is not set in mutt's configuration file at /usr/bin/smime_keys line 62.
-bash-4.2$
I'm not a perl guru by any means, but I'm strong with other scripting languages. I've read through the smime_keys script that's included with mutt several times, but I'm not finding what's wrong. Any suggestions would be appreciated.
 
Old 07-12-2019, 07:39 PM   #2
scasey
Senior Member
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.6
Posts: 3,264

Rep: Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106
From the link you posted:
Quote:
Make sure you have installed mutt with ssl-enabled.
I suspect that is not the case.
 
Old 07-13-2019, 09:56 AM   #3
christr
LQ Newbie
 
Registered: Sep 2011
Posts: 21

Original Poster
Rep: Reputation: Disabled
How do you do this? I haven’t been able to find instructions on how.
 
Old 07-13-2019, 04:26 PM   #4
scasey
Senior Member
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.6
Posts: 3,264

Rep: Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106
Again, from the link you posted
Quote:
Preparation

Make sure you have installed mutt with ssl-enabled. If you don't have installed, read my previous post about compiling mutt.
I found the previous post here.

I presume the relevant section on that page is the one headed
Compiling mutt with support for tls, sasl, imap, and gpgme -- but I haven't read it.
 
Old 07-13-2019, 06:09 PM   #5
christr
LQ Newbie
 
Registered: Sep 2011
Posts: 21

Original Poster
Rep: Reputation: Disabled
Thank you for the response, but I’ve exhausted all of my know research options. Hopefully someone will know the answer to this, or has done it before.
 
Old 07-13-2019, 07:42 PM   #6
scasey
Senior Member
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.6
Posts: 3,264

Rep: Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106
Research done. The link in #4 is by the same person whose instructions you were following.
Are those compile instructions not clear? What don't you get?
 
Old 07-13-2019, 09:39 PM   #7
christr
LQ Newbie
 
Registered: Sep 2011
Posts: 21

Original Poster
Rep: Reputation: Disabled
That’s for GPG. All I’ve been finding is articles on GPG/PGP. I need x.509 / PKI certificate based encryption in mutt.
 
Old 07-13-2019, 09:45 PM   #8
scasey
Senior Member
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.6
Posts: 3,264

Rep: Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106
Have you done the compile following those instructions?

And did you then still get the error?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Another Mutt Problem: MIME Viewing & mailcap HaroldWho Slackware 6 02-20-2013 03:35 PM
[SOLVED] Mutt does not change the "unread" flag on the IMAP server and other Mutt questions TobiSGD Linux - Software 1 10-09-2012 08:44 AM
mutt does not honour mutt.rc 'use_from' entry when accepting piped input davidchall Linux - Software 0 05-28-2012 02:13 AM
Mutt experts - Mutt won't use the Maildir I specify in .muttrc moistTowelette Debian 2 08-24-2009 08:04 AM
Mutt question: "How can I configure mutt for not automarking as read??" xowl Linux - Software 0 09-25-2007 09:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration