Werner Koch
efecbb7a3f
gpg: Fix use of deprecated RSA_E and RSA_E with newer libgcrypts.
...
* g10/misc.c (pubkey_get_npkey): Map RSA_E and RSA_S to RSA.
(pubkey_get_nskey): Ditto.
(pubkey_get_nsig): Ditto.
(pubkey_get_nenc): Ditto.
(pubkey_nbits): Take care of RSA_E and RSA_S.
--
The problem was that parse_key did not know about RSA_S and thus used
an opaque MPI which later crashed Libgcrypt. It is possible to fix
that also in Libgcrypt but we better do it here as well.
A test key using RSA_S is 0x98EEB6F7D87171CF.
Reported-by: Hanno Böck
2014-04-16 14:50:02 +02:00
..
2013-11-27 09:32:43 +01:00
2011-08-04 12:22:04 +02:00
2013-04-25 09:33:33 +02:00
2009-12-21 16:19:09 +00:00
2011-07-07 11:20:53 +02:00
2011-12-02 19:28:02 +01:00
2012-05-24 10:55:11 +02:00
2007-11-19 16:03:50 +00:00
2009-09-03 11:29:25 +00:00
2007-07-04 19:49:40 +00:00
2013-12-11 10:33:25 +01:00
2007-11-19 16:03:50 +00:00
2007-11-19 16:03:50 +00:00
2007-11-19 16:03:50 +00:00
2013-10-11 09:18:01 +02:00
2013-12-11 10:33:25 +01:00
2013-04-23 18:06:46 +02:00
2007-07-04 19:49:40 +00:00
2007-11-19 16:03:50 +00:00
2007-07-04 19:49:40 +00:00
2007-07-04 19:49:40 +00:00
2013-10-04 08:53:49 +02:00
2013-05-07 21:17:04 +02:00
2013-11-27 09:32:43 +01:00
2013-01-03 20:21:20 +01:00
2013-08-19 11:22:11 +02:00
2007-12-04 15:00:14 +00:00
2013-10-04 13:44:39 +02:00
2007-07-04 19:49:40 +00:00
2013-01-03 20:21:20 +01:00
2009-12-21 16:19:09 +00:00
2013-10-11 09:18:01 +02:00
2013-10-11 09:18:01 +02:00
2011-07-01 10:33:43 +02:00
2012-05-24 10:55:11 +02:00
2009-07-20 11:02:20 +00:00
2009-04-03 10:34:22 +00:00
2007-07-04 19:49:40 +00:00
2013-10-11 09:18:01 +02:00
2013-12-11 10:33:25 +01:00
2013-12-11 10:33:25 +01:00
2013-05-07 21:17:04 +02:00
2007-11-19 16:03:50 +00:00
2014-04-16 14:50:02 +02:00
2007-07-04 19:49:40 +00:00
2000-07-31 08:04:16 +00:00
2013-11-27 09:32:43 +01:00
2013-08-06 10:04:12 +02:00
2009-09-03 20:51:55 +00:00
2011-07-22 13:56:14 +02:00
2013-10-11 09:18:01 +02:00
2013-04-23 18:06:46 +02:00
2008-10-03 20:00:46 +00:00
2012-12-19 11:29:37 +01:00
2011-06-13 14:35:30 +02:00
2007-07-04 19:49:40 +00:00
2010-05-12 10:53:02 +00:00
2007-07-04 19:49:40 +00:00
2009-06-05 14:11:03 +00:00
2000-07-31 08:04:16 +00:00
2009-06-24 14:03:09 +00:00
2008-12-12 12:01:20 +00:00
2008-12-12 08:54:50 +00:00
2010-03-12 17:24:06 +00:00
2010-02-12 15:15:34 +00:00
2009-06-05 14:11:03 +00:00
2011-08-04 12:22:04 +02:00
2013-10-11 09:18:01 +02:00
2009-05-26 09:29:02 +00:00
2009-08-06 20:12:00 +00:00
2008-12-11 17:44:52 +00:00
2008-10-20 13:53:23 +00:00
2013-10-11 09:25:58 +02:00
2013-10-11 09:25:58 +02:00
2007-11-19 16:03:50 +00:00
2013-10-11 09:25:58 +02:00
2012-01-19 23:03:56 -05:00
2008-10-20 13:53:23 +00:00