1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch 2a13f7f9dc
gpgsm: Strip trailing zeroes from detached signatures.
* common/ksba-io-support.c: Include tlv.h
(struct reader_cb_parm_s): Add new fields.
(starts_with_sequence): New.
(simple_reader_cb): Handle stripping.
* common/ksba-io-support.h (GNUPG_KSBA_IO_STRIP): New.
(gnupg_ksba_create_reader): Handle the new flag.
* sm/verify.c (gpgsm_verify): Use the new flag for detached
signatures.
--

Note that this works only if --assume-binary is given.  The use case
for the feature is PDF signature checking where the PDF specs require
that the detached signature is padded with zeroes.
2023-03-08 11:00:00 +01:00
..
2018-10-25 16:53:05 -04:00
2015-10-28 10:20:17 +01:00
2021-10-06 10:35:51 +02:00
2020-02-18 18:07:46 -05:00
2015-11-17 12:50:22 +01:00
2023-01-11 11:33:26 +01:00
2021-12-20 19:34:34 +01:00
2021-12-20 19:34:34 +01:00
2018-10-25 16:53:05 -04:00
2018-10-25 16:53:05 -04:00
2019-04-16 13:24:10 +09:00
2019-07-12 12:11:26 +09:00
2020-02-18 18:07:46 -05:00
2016-03-02 14:27:30 +01:00
2023-02-23 10:23:56 +01:00
2018-10-25 16:53:05 -04:00
2018-10-24 15:56:18 -04:00
2020-11-05 11:19:15 -08:00
2022-11-30 15:56:03 +09:00
2019-10-01 10:32:31 +02:00
2018-10-24 15:56:18 -04:00
2020-02-18 18:07:46 -05:00
2020-02-18 18:07:46 -05:00
2020-02-18 18:07:46 -05:00
2022-09-14 15:42:03 +09:00
2022-04-06 13:28:15 +09:00
2022-08-02 14:35:38 +02:00
2020-04-24 15:37:48 +02:00
2022-08-02 14:35:38 +02:00
2022-08-02 14:35:38 +02:00
2023-01-20 09:07:20 +01:00
2017-02-21 13:11:46 -05:00

Common functionality used by all modules of GnuPG.