<<< Date Index >>>     <<< Thread Index >>>

Re: smime_keys init doesn't create directories



On Mon, Sep 08, 2008 at 04:35:36PM +0200, Miroslav Lichvar wrote:
> On Sun, Sep 07, 2008 at 05:19:00PM -0600, Andrew Diederich wrote:
> > > I'm using the mutt 1.5.17 package on ubuntu 8.04.  I have a thawte email
> > > certificate I'm trying to use with mutt.  About the first thing in the 
> > > smime readme is to "smime_keys init", which should create the ~/.smime/
> > > set of directories and subdirectories I have in my .muttrc.
> 
> There was an smime_keys bug fixed in 1.5.18. Try using the latest
> version of the script to see if it's better.

Ok -- I tried the 1.5.18 version, and it wasn't too different:

andrew@ubuntu:~/src/mutt$ diff mutt-1.5.18/smime_keys.pl smime_keys.pl 
23d22
< use File::Glob ':glob';
229c228
<     $answer =~ /\"(.*?)\"/ and return bsd_glob($1, GLOB_TILDE |
GLOB_NOCHECK);
---
>     $answer =~ /\"(.*?)\"/ and return $1;

But, it did make the directories!  The obvious conclusion is glob is
evil.  Or, there may be another conclusion, but that one's more fun.

Thanks for the help!  Now, off to see if I can import my certificates.

-- 
Andrew Diederich