pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/31466: mutt-devel SMIME problems



>Number:         31466
>Category:       pkg
>Synopsis:       mutt-devel SMIME problems
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 04 17:01:00 +0000 2005
>Originator:     Jeff Ito
>Release:        NetBSD 3.99.8
>Organization:
>Environment:
NetBSD 3.99.8 (HAMACHI.DDB) #1: Mon Sep 12 06:57:29 EDT 2005
>Description:
There are two problems related to S/MIME in the mutt-devel port, as of version 
1.5.11.

The first is simple, smime_keys refers to /usr/bin/perl rather than 
/usr/pkg/bin/perl

The second is when trying to use SMIME and "Sign As" the certificate file shows 
up as i.e. "12345678." as opposed to "12345678.0", this problem does not occur 
if you simply use "sign" which reads your default key in from muttrc.  Of 
course when mutt tries to pass openssl "12345678." it isnt found and results in 
an error.

The second problem (and possible fix) has been sent to mutt-dev mailing list.
>How-To-Repeat:

Using SMIME try to sign a message with the "Sign As" method.
>Fix:
--- smime_keys.pl.orig  2005-10-04 13:00:13.000000000 -0400
+++ smime_keys.pl       2005-10-04 13:00:21.000000000 -0400
@@ -1,4 +1,4 @@
-#! /usr/bin/perl -w
+#! /usr/pkg/bin/perl -w

 # Copyright (C) 2001,2002 Oliver Ehli <elmy%acm.org@localhost>
 # Copyright (C) 2001 Mike Schiraldi <raldi%research.netsol.com@localhost>


--- smime.c.orig        2005-10-04 12:39:36.000000000 -0400
+++ smime.c     2005-10-04 12:39:56.000000000 -0400
@@ -1989,7 +1989,7 @@

     if ((p = smime_ask_for_key (_("Sign as: "), NULL, 0)))
     {
-      p[mutt_strlen (p)-1] = '\0';
+      p[mutt_strlen (p)] = '\0';
       mutt_str_replace (&SmimeDefaultKey, p);

       msg->security |= SIGN;





Home | Main Index | Thread Index | Old Index