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

Bug#373224: Recognize automagically the digital signature from mozilla



El dom, 23-07-2006 a las 00:58 +0200, Rene Engelhard escribió:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> [ Hmm. Somehow this never reached d-openoffice... ]
> 
> Hi,
> 
> José L. Redrejo Rodríguez wrote:
> > I'm not a perl programmer, so I'm sure the patch can be improved by some perl guru, but it works.
> 
> See inline comments.
> 
> > +if ( ! exists $ENV{MOZILLA_CERTIFICATE_FOLDER} )
> > +{
> > +	$mozilla_default_db="";
> > +	if ( -d "$ENV{HOME}/.firefox" ) {
> > +		$mozilla_default_db=`find $ENV{HOME}/.firefox -name 'cert8.db'`;
> > +	}
> 
> There's no .firefox here. There's only .mozilla/firefox
> 
> > +	if ( $mozilla_default_db eq "" ) {
> > +		if ( -d "$ENV{HOME}/.mozilla" ) {
> > +		$mozilla_default_db=`find $ENV{HOME}/.mozilla -name 'cert8.db'`;
> > +		}
> > +	}
> 
> mozilla is here (containing .mozilla/firefox and .mozilla/default).


ok, I don't know why, but it's not my case. I'm using firefox 1.5.0.1
backported to Debian Sarge. So, it seems, the first thing to do for a
general case is finding out where the firefox config directory is.

> 
> In this case you have a problem when you use(d) both mozilla and
> firefox. Which one will be used? I think it's better looking in
> mozilla/default...
> 
> > +	if (! $mozilla_default_db eq "" ) { 
>         if ( $mozilla_default_db ne "" ) {
> 
> ;)
> 

Perfect ;-)

> A related question: Does signing then actually work? Or does it crash
> when you try to actually sign?
> 


Well, it crashed, but I recompiled openoffice (based on the work you did
for backports.org) to use the xmlsec sources contained in openoffice
sources instead of depending of Debian xmlsec packages. Since then it
works like a charm.
I've done this work for our regional Debian based distribution
(gnuLinEx, it's Sarge based with Etch backports for the desktop
applications) and has already been installed in some thousand of
computers working perfectly. So I can confirm it works perfectly.

Regards.
José L.

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente


Reply to: