David Howells
2c7fd3675e
PKCS#7: Check content type and versions
...
We only support PKCS#7 signed-data [RFC2315 sec 9] content at the top level,
so reject anything else. Further, check that the version numbers in
SignedData and SignerInfo are 1 in both cases.
Note that we don't restrict the inner content type. In the PKCS#7 code we
don't parse the data attached there, but merely verify the signature over
it.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-By: David Woodhouse <David.Woodhouse@intel.com>
2015-08-12 17:01:00 +01:00
..
2015-08-12 17:01:00 +01:00
2015-04-22 08:00:42 +10:00
2015-06-25 23:29:24 +08:00
2015-05-11 15:06:43 +08:00
2015-03-31 21:21:04 +08:00
2015-06-22 15:49:16 +08:00
2015-06-03 10:48:35 +08:00
2015-01-13 22:29:11 +11:00
2015-06-24 16:49:49 -07:00
2015-01-26 11:34:22 +11:00
2015-06-25 23:18:32 +08:00
2015-06-03 10:48:34 +08:00
2013-06-25 19:15:17 +08:00
2015-06-22 15:49:30 +08:00
2015-04-11 15:53:35 -04:00
2015-04-22 09:30:21 +08:00
2015-04-11 15:53:35 -04:00
2015-04-22 09:30:18 +08:00
2014-11-24 22:43:57 +08:00
2015-03-31 21:21:03 +08:00
2014-11-24 22:43:57 +08:00
2015-05-13 10:31:37 +08:00
2015-05-13 10:31:38 +08:00
2015-05-13 10:31:34 +08:00
2011-09-22 21:25:25 +10:00
2015-01-13 22:29:11 +11:00
2015-01-13 22:29:11 +11:00
2015-01-13 22:29:11 +11:00
2015-01-13 22:29:11 +11:00
2013-08-14 20:42:03 +10:00
2014-11-26 20:06:30 +08:00
2015-05-13 10:31:39 +08:00
2015-06-04 15:04:49 +08:00
2015-06-17 15:35:11 +08:00
2015-06-22 15:49:28 +08:00
2010-02-16 20:31:37 +08:00
2014-11-26 20:06:30 +08:00
2010-02-16 20:31:04 +08:00
2014-11-24 22:43:57 +08:00
2015-01-13 22:29:11 +11:00
2013-09-12 15:31:34 +10:00
2015-01-13 22:29:11 +11:00
2015-06-03 10:48:37 +08:00
2015-05-22 11:25:55 +08:00
2015-06-22 15:49:27 +08:00
2014-03-21 21:54:28 +08:00
2014-11-26 20:06:30 +08:00
2015-01-20 14:44:15 +11:00
2014-11-24 22:43:57 +08:00
2015-01-13 22:29:11 +11:00
2015-06-11 21:55:28 +08:00
2014-11-26 20:06:30 +08:00
2015-06-22 15:49:29 +08:00
2015-06-22 15:49:28 +08:00
2014-11-24 22:43:57 +08:00
2015-04-23 14:18:09 +08:00
2015-06-17 15:35:05 +08:00
2011-07-08 17:21:21 +08:00
2015-01-13 22:29:11 +11:00
2013-10-25 17:14:03 -04:00
2014-11-26 20:06:30 +08:00
2015-04-23 14:18:10 +08:00
2015-06-25 23:18:32 +08:00
2015-06-25 23:18:33 +08:00
2015-06-21 19:59:28 +08:00
2014-11-24 22:43:57 +08:00
2014-11-26 20:06:30 +08:00
2014-11-24 22:43:57 +08:00
2014-11-24 22:43:57 +08:00
2014-11-24 22:43:57 +08:00
2015-06-25 23:18:32 +08:00
2015-03-31 21:21:13 +08:00
2014-11-24 22:43:57 +08:00
2015-05-18 12:20:18 +08:00
2013-12-09 20:09:12 +08:00
2014-11-24 22:43:57 +08:00
2014-11-26 20:06:30 +08:00
2015-04-21 10:19:55 +08:00
2015-06-03 10:48:35 +08:00
2015-06-17 15:35:11 +08:00
2015-04-23 14:18:09 +08:00
2008-07-10 20:35:12 +08:00
2014-11-24 22:43:57 +08:00
2014-11-24 22:43:57 +08:00
2014-11-24 22:43:57 +08:00
2014-11-24 22:43:57 +08:00
2015-06-22 15:49:18 +08:00
2015-06-17 17:03:53 +08:00
2015-06-17 17:03:53 +08:00
2015-06-17 17:03:53 +08:00
2015-01-13 22:29:11 +11:00
2015-06-03 10:51:25 +08:00
2014-11-24 22:43:57 +08:00
2015-06-22 15:49:28 +08:00
2015-01-13 22:29:11 +11:00
2015-04-10 21:39:40 +08:00
2015-04-10 21:39:41 +08:00
2015-04-10 21:39:41 +08:00
2015-04-21 10:19:54 +08:00
2015-06-18 14:45:33 +08:00
2015-06-18 14:45:32 +08:00
2015-01-13 22:29:11 +11:00
2015-06-25 23:18:33 +08:00
2015-06-17 17:03:54 +08:00
2015-01-13 22:29:11 +11:00
2011-11-09 11:53:32 +08:00
2015-01-13 22:29:11 +11:00
2014-11-26 20:06:30 +08:00
2015-01-13 22:29:11 +11:00
2014-11-26 20:06:30 +08:00
2012-10-11 13:42:32 +11:00
2014-11-26 20:06:30 +08:00
2015-05-01 11:16:37 +08:00