Re: smime_keys

2013-10-21 Thread Блогер
 I got Attribute 'localKeyID' wasn't set. at /usr/local/bin/smime_keys line
 603. on command smime_keys add_p12 file.p12. What is going wrong?

I see no reply on my message. Or I miss something?

-- 
() кампания ASCII Ribbon - против писем в HTML формате
/\ www.asciiribbon.org   - против проприетарных вложений



smime_keys

2013-10-12 Thread Блогер
I got Attribute 'localKeyID' wasn't set. at /usr/local/bin/smime_keys line
603. on command smime_keys add_p12 file.p12. What is going wrong?

-- 
() кампания ASCII Ribbon - против писем в HTML формате
/\ www.asciiribbon.org   - против проприетарных вложений



Re: manually adding keys when smime_keys perl script cannot

2012-10-28 Thread Remco Rijnders
On Sat, Oct 13, 2012 at 06:43:46PM +, Tony's wrote in 
k5ccp1$bs5$1...@ger.gmane.org:

Has anyone figured out how to add keys for S/MIME without using the
smime_keys script?

I suspect smime_keys is just a wrapper script and everything can
probably be done using openssl.  Due to my lack of PERL skills,
and this bug:

 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690255

I am blocked from using mutt and S/MIME with my self-signed keys.


While it is not an answer to your original question, would it not work if 
you added your own root certificate with smime_keys add_root ? Then it 
should hopefully accept your own certificate too.


Remco


pgpWQODbq3IwO.pgp
Description: PGP signature


Re: manually adding keys when smime_keys perl script cannot

2012-10-28 Thread Tony's unattended mail
On 2012-10-28, Remco Rijnders re...@webconquest.com wrote:

 While it is not an answer to your original question, would it not work if=
=20
 you added your own root certificate with smime_keys add_root ? Then it=20
 should hopefully accept your own certificate too.

Thanks for the suggestion.  That was actually one of the first things
I tried.  As root, I ran:

  $ smime_keys add_root ~user/user.crt
  Enter a label, name or description for this certificate: self

Then I tried again to add my key as a user:

  $ smime_keys add_p12 my.pfx

  NOTE: This will ask you for two passphrases:
 1. The passphrase you used for exporting
 2. The passphrase you wish to secure your private key with.

  Enter Import Password:
  MAC verified OK
  Enter PEM pass phrase:
  Verifying - Enter PEM pass phrase:
  Couldn't identify root certificate!
  No root and no intermediate certificates. Can't continue.
at /usr/bin/smime_keys line 708.

The .crt file that I added as a root cert is the same one that was
used to create the .pfx file.



manually adding keys when smime_keys perl script cannot

2012-10-16 Thread Tony's unattended mail
Has anyone figured out how to add keys for S/MIME without using the
smime_keys script?

I suspect smime_keys is just a wrapper script and everything can
probably be done using openssl.  Due to my lack of PERL skills,
and this bug:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690255

I am blocked from using mutt and S/MIME with my self-signed keys.



Re: smime_keys init doesn't create directories

2008-09-08 Thread Miroslav Lichvar
On Sun, Sep 07, 2008 at 05:19:00PM -0600, Andrew Diederich wrote:
 On Mon, Aug 18, 2008 at 08:11:30PM -0600, Andrew Diederich wrote:
 
 Has anyone run into a scenario where smime_keys init doesn't create
 any directories or files?  Alternately, is there any documentation about
 what files, formats, and directory structure smime_keys is supposed to
 make, so I can do it by hand?  I've read through the perl script,
 but it's a bit light on internal documentation.
 
  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.

-- 
Miroslav Lichvar


Re: smime_keys init doesn't create directories

2008-09-08 Thread Andrew Diederich
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:

[EMAIL PROTECTED]:~/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


Re: smime_keys init doesn't create directories

2008-09-07 Thread Andrew Diederich
On Mon, Aug 18, 2008 at 08:11:30PM -0600, Andrew Diederich wrote:

Has anyone run into a scenario where smime_keys init doesn't create
any directories or files?  Alternately, is there any documentation about
what files, formats, and directory structure smime_keys is supposed to
make, so I can do it by hand?  I've read through the perl script,
but it's a bit light on internal documentation.

 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.
 
 Unfortunately, no directories or the .index files are created.  I
 threw some print statements in the smime_keys perl script, and it looks
 like it's getting all the correct variables.  I'm not a perlmonger, so
 I'm not sure how to change the script for force it to really create the
 files and directories it needs.  Also, since it's not working quite
 right, if I make the files by hand, I don't know why the script isn't
 working, so it may break further when I need it.
 
 Has anyone else ran into where smime_keys init doesn't init, and fixed
 it?  Thanks for the help.

-- 
Andrew Diederich


smime_keys init doesn't create directories

2008-08-18 Thread Andrew Diederich
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.

Unfortunately, no directories or the .index files are created.  I
threw some print statements in the smime_keys perl script, and it looks
like it's getting all the correct variables.  I'm not a perlmonger, so
I'm not sure how to change the script for force it to really create the
files and directories it needs.  Also, since it's not working quite
right, if I make the files by hand, I don't know why the script isn't
working, so it may break further when I need it.

Has anyone else ran into where smime_keys init doesn't init, and fixed
it?  Thanks for the help.

-- 
Andrew Diederich


'smime_keys init' error with mutt 1.5.1

2002-09-18 Thread Timo T. Rajala

Hi!

Maybe this question should go to the development list, however it's more
a user question so I post it here. The OS is RH 7.3.

Here is the commands and the output from them:
~$ smime_keys init
Died at /usr/local/bin/smime_keys line 236.
~$
~$ perl --version

This is perl, v5.6.1 built for i386-linux

Anybody who has encountered this little error and knows how to fix it?

Regards,
-- 
Timo T. Rajala



Re: 'smime_keys init' error with mutt 1.5.1

2002-09-18 Thread Timo T. Rajala

* Timo T. Rajala [EMAIL PROTECTED] writes:
 Here is the commands and the output from them:
 ~$ smime_keys init
 Died at /usr/local/bin/smime_keys line 236.

Should have included relevant rows from 'smime_keys', here they are:

231 #  directory setup routines
232 #
233
234
235 sub mkdir_recursive ($) {
236 my $path = shift or die;
237 my $tmp_path;
238
239 for my $dir (split /\//, $path) {
240 $tmp_path .= $dir/;
241
242 -d $tmp_path
243 or mkdir $tmp_path, 0700
244 or die Can't mkdir $tmp_path: $!;
245 }
246 }

-- 
Timo T. Rajala



Re: 'smime_keys init' error with mutt 1.5.1

2002-09-18 Thread Will Yardley

Timo T. Rajala wrote:
 * Timo T. Rajala [EMAIL PROTECTED] writes:

  Here is the commands and the output from them:
  ~$ smime_keys init
  Died at /usr/local/bin/smime_keys line 236.
 
 Should have included relevant rows from 'smime_keys', here they are:

I've gotten this too. Try copying a ca-bundle (ca-bundle.crt) to
~/.smime/.

Also make the directories:
~/.smime/keys/
~/.smime/certificates
(all with permissions of 0700).

-- 
Will Yardley
input: william  @ hq . newdream . net . 




Re: 'smime_keys init' error with mutt 1.5.1

2002-09-18 Thread Timo T. Rajala

* Will Yardley [EMAIL PROTECTED] writes:
 I've gotten this too. Try copying a ca-bundle (ca-bundle.crt) to
 ~/.smime/.
 
 Also make the directories:
 ~/.smime/keys/
 ~/.smime/certificates
 (all with permissions of 0700).

I did so, then I tried 'smime_keys init' again: No problems :-)

Thanks!

-- 
Timo T. Rajala



Re: 'smime_keys init' error with mutt 1.5.1

2002-09-18 Thread René Clerc

* Will Yardley [EMAIL PROTECTED] [18-09-2002 11:52]:

 Timo T. Rajala wrote:
  * Timo T. Rajala [EMAIL PROTECTED] writes:
 
   Here is the commands and the output from them:
   ~$ smime_keys init
   Died at /usr/local/bin/smime_keys line 236.
  
  Should have included relevant rows from 'smime_keys', here they are:
 
 I've gotten this too. Try copying a ca-bundle (ca-bundle.crt) to
 ~/.smime/.
 
 Also make the directories:
 ~/.smime/keys/
 ~/.smime/certificates
 (all with permissions of 0700).

But isn't this what smime_keys init is supposed to do?

-- 
René Clerc  - ([EMAIL PROTECTED])

All you need is love.
-John Lennon



msg31016/pgp0.pgp
Description: PGP signature


Re: 'smime_keys init' error with mutt 1.5.1

2002-09-18 Thread Timo T. Rajala

* René Clerc [EMAIL PROTECTED] writes:
 * Will Yardley [EMAIL PROTECTED] [18-09-2002 11:52]:
  Also make the directories:
  ~/.smime/keys/
  ~/.smime/certificates
  (all with permissions of 0700).
 
 But isn't this what smime_keys init is supposed to do?

Yes. But it also creates empty .index files under keys/
and certificates/. That's all, AFAIK.

-- 
Timo T. Rajala



smime_keys

2002-04-01 Thread Rocco Rutte

Hey,

I finally had some time to left to set up S/MIME with Mutt 1.5.0 on
Debian and FreeBSD. According to the documentation, I initially try
to run 'smime_keys init'. The sample smime.rc is sourced in .muttrc,
OpenSSL is installed on both systems.

In fact, on FreeBSD (and this is extraordinary strange) it refuses to
run since it the scrip at least requires version 1.5.0. I have 1.5.0i.
On Debian it suddenly dies at line 236 without any verbosity.

So I looked at the source of the script and set everything up by hand so
that it now seems to work. Anybody else having had such trouble?

Cheers, Rocco.



msg26485/pgp0.pgp
Description: PGP signature


smime_keys

2002-03-29 Thread Rocco Rutte

Hey,

I finally had some time to left to set up S/MIME with Mutt 1.5.0 on
Debian and FreeBSD. According to the documentation, I initially try
to run 'smime_keys init'. The sample smime.rc is sourced in .muttrc,
OpenSSL is installed on both systems.

In fact, on FreeBSD (and this is extraordinary strange) it refuses to
run since it the scrip at least requires version 1.5.0. I have 1.5.0i.
On Debian it suddenly dies at line 236 without any verbosity.

So I looked at the source of the script and set everything up by hand so
that it now seems to work. Anybody else having had such trouble?

Cheers, Rocco.



msg26405/pgp0.pgp
Description: PGP signature