Assertion failure from gnupg with enigmail 1.2

2011-07-12 Thread Doug Barton
I sent the following message to the enigmail list but they punted me to
you. :) To clarify, I can take the same command line and run it in a
terminal against a text file just fine. If you lot can tell me what the
failed assertion means, I can go back to the enigmail folks with more data.


Thanks,

Doug



Howdy,

I'm getting some odd errors with enigmail 1.2 and tb5 on FreeBSD. I just
sent a message to a mailing list and the sign replies to signed mail
auto-option kicked in, which is great. :)  The problem is, the signature
on my message fails to validate, which has never happened to me before.

So then I tried sending myself a simple message and I get this:

enigmail /usr/local/bin/gpg2 --charset utf8 --batch --no-tty
--status-fd 2 -t --clearsign -u 0x1A1ABC84 --use-agent
Assertion failed: (data), function mpi_from_sexp, file pkglue.c, line 41.

That line from pkglue.c:

static gcry_mpi_t
mpi_from_sexp (gcry_sexp_t sexp, const char * item)
{
  gcry_sexp_t list;
  gcry_mpi_t data;

  list = gcry_sexp_find_token (sexp, item, 0);
  assert (list);
  data = gcry_sexp_nth_mpi (list, 1, 0);
  assert (data); line 41
  gcry_sexp_release (list);
  return data;
}


Doug

-- 

Nothin' ever doesn't change, but nothin' changes much.
-- OK Go

Breadth of IT experience, and depth of knowledge in the DNS.
Yours for the right price.  :)  http://SupersetSolutions.com/

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Assertion failure from gnupg with enigmail 1.2

2011-07-12 Thread Doug Barton
Ok, this patch was sent to me by someone who chose to reply privately.
It works, does it seem like the right thing to do?

http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2011-July/214517.html


Thanks,

Doug


On 07/12/2011 12:09, Doug Barton wrote:
 I sent the following message to the enigmail list but they punted me to
 you. :) To clarify, I can take the same command line and run it in a
 terminal against a text file just fine. If you lot can tell me what the
 failed assertion means, I can go back to the enigmail folks with more data.
 
 
 Thanks,
 
 Doug
 
 
 
 Howdy,
 
 I'm getting some odd errors with enigmail 1.2 and tb5 on FreeBSD. I just
 sent a message to a mailing list and the sign replies to signed mail
 auto-option kicked in, which is great. :)  The problem is, the signature
 on my message fails to validate, which has never happened to me before.
 
 So then I tried sending myself a simple message and I get this:
 
 enigmail /usr/local/bin/gpg2 --charset utf8 --batch --no-tty
 --status-fd 2 -t --clearsign -u 0x1A1ABC84 --use-agent
 Assertion failed: (data), function mpi_from_sexp, file pkglue.c, line 41.
 
 That line from pkglue.c:
 
 static gcry_mpi_t
 mpi_from_sexp (gcry_sexp_t sexp, const char * item)
 {
   gcry_sexp_t list;
   gcry_mpi_t data;
 
   list = gcry_sexp_find_token (sexp, item, 0);
   assert (list);
   data = gcry_sexp_nth_mpi (list, 1, 0);
   assert (data);   line 41
   gcry_sexp_release (list);
   return data;
 }
 
 
 Doug
 



-- 

Nothin' ever doesn't change, but nothin' changes much.
-- OK Go

Breadth of IT experience, and depth of knowledge in the DNS.
Yours for the right price.  :)  http://SupersetSolutions.com/


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Assertion failure from gnupg with enigmail 1.2

2011-07-12 Thread David Tomaschik
Sorry, this was intended to be sent to the entire list, but I composed
it in a hurry my apologies.

On Tue, Jul 12, 2011 at 4:24 PM, David Tomaschik
da...@systemoverlord.com wrote:
 assert() kills the program if the value in the parentheses evaluates
 to FALSE.  In this case, that means that data evaluates to FALSE,
 which is most likely NULL.

 In this particular case, I recommend looking at
 http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2011-July/214517.html

 David


 On Tue, Jul 12, 2011 at 3:09 PM, Doug Barton do...@dougbarton.us wrote:
 I sent the following message to the enigmail list but they punted me to
 you. :) To clarify, I can take the same command line and run it in a
 terminal against a text file just fine. If you lot can tell me what the
 failed assertion means, I can go back to the enigmail folks with more data.


 Thanks,

 Doug



 Howdy,

 I'm getting some odd errors with enigmail 1.2 and tb5 on FreeBSD. I just
 sent a message to a mailing list and the sign replies to signed mail
 auto-option kicked in, which is great. :)  The problem is, the signature
 on my message fails to validate, which has never happened to me before.

 So then I tried sending myself a simple message and I get this:

 enigmail /usr/local/bin/gpg2 --charset utf8 --batch --no-tty
 --status-fd 2 -t --clearsign -u 0x1A1ABC84 --use-agent
 Assertion failed: (data), function mpi_from_sexp, file pkglue.c, line 41.

 That line from pkglue.c:

 static gcry_mpi_t
 mpi_from_sexp (gcry_sexp_t sexp, const char * item)
 {
  gcry_sexp_t list;
  gcry_mpi_t data;

  list = gcry_sexp_find_token (sexp, item, 0);
  assert (list);
  data = gcry_sexp_nth_mpi (list, 1, 0);
  assert (data);         line 41
  gcry_sexp_release (list);
  return data;
 }


 Doug

 --

        Nothin' ever doesn't change, but nothin' changes much.
                        -- OK Go

        Breadth of IT experience, and depth of knowledge in the DNS.
        Yours for the right price.  :)  http://SupersetSolutions.com/

 ___
 Gnupg-users mailing list
 Gnupg-users@gnupg.org
 http://lists.gnupg.org/mailman/listinfo/gnupg-users




 --
 David Tomaschik, RHCE, LPIC-1
 System Administrator/Open Source Advocate
 OpenPGP: 0x5DEA789B
 http://systemoverlord.com
 da...@systemoverlord.com




-- 
David Tomaschik, RHCE, LPIC-1
System Administrator/Open Source Advocate
OpenPGP: 0x5DEA789B
http://systemoverlord.com
da...@systemoverlord.com

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Assertion failure from gnupg with enigmail 1.2

2011-07-12 Thread Werner Koch
On Tue, 12 Jul 2011 23:59, do...@dougbarton.us said:

 It works, does it seem like the right thing to do?

Yes, this patch is correct.  I was not aware that FreeBSD jumped to
Libgcrypt 1.5.0 so fast ;-).



Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Assertion failure from gnupg with enigmail 1.2

2011-07-12 Thread Doug Barton
On 07/12/2011 20:45, Werner Koch wrote:
 On Tue, 12 Jul 2011 23:59, do...@dougbarton.us said:
 
 It works, does it seem like the right thing to do?
 
 Yes, this patch is correct.  I was not aware that FreeBSD jumped to
 Libgcrypt 1.5.0 so fast ;-).

We rock. :)



-- 

Nothin' ever doesn't change, but nothin' changes much.
-- OK Go

Breadth of IT experience, and depth of knowledge in the DNS.
Yours for the right price.  :)  http://SupersetSolutions.com/


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users