mbox series

[kmod,v3,0/2] read pkcs7 signature with openssl

Message ID 20190201202002.5508-1-yauheni.kaliuta@redhat.com (mailing list archive)
Headers show
Series read pkcs7 signature with openssl | expand

Message

Yauheni Kaliuta Feb. 1, 2019, 8:20 p.m. UTC
The same as before but with the test.

I found, that using _cleanup_() is more inconvenient, since it will
require wrappers for the types as for _cleanup_free().

Changelog:

v1->v2 no changes, just non-rfc
v2->v3 test added

Yauheni Kaliuta (2):
  testsuite: add modinfo pkcs7 signature test
  libkmod-signature: implement pkcs7 parsing with openssl

 Makefile.am                                   |   4 +-
 configure.ac                                  |  11 +
 libkmod/libkmod-internal.h                    |   3 +
 libkmod/libkmod-module.c                      |   3 +
 libkmod/libkmod-signature.c                   | 197 +++++++++++++++++-
 testsuite/module-playground/dummy.pkcs7       | Bin 0 -> 721 bytes
 testsuite/populate-modules.sh                 |   9 +
 .../test-modinfo/correct-sig_hashalgo.txt     |   2 +-
 .../test-modinfo/correct-sig_key.txt          |   2 +-
 .../test-modinfo/correct-signer.txt           |   2 +-
 testsuite/test-modinfo.c                      |   3 +-
 11 files changed, 227 insertions(+), 9 deletions(-)
 create mode 100644 testsuite/module-playground/dummy.pkcs7

Comments

Lucas De Marchi Feb. 5, 2019, 9:02 p.m. UTC | #1
On Fri, Feb 1, 2019 at 12:55 PM Yauheni Kaliuta
<yauheni.kaliuta@redhat.com> wrote:
>
> The same as before but with the test.
>
> I found, that using _cleanup_() is more inconvenient, since it will
> require wrappers for the types as for _cleanup_free().
>
> Changelog:
>
> v1->v2 no changes, just non-rfc
> v2->v3 test added

Applied, thanks!
Lucas De Marchi

>
> Yauheni Kaliuta (2):
>   testsuite: add modinfo pkcs7 signature test
>   libkmod-signature: implement pkcs7 parsing with openssl
>
>  Makefile.am                                   |   4 +-
>  configure.ac                                  |  11 +
>  libkmod/libkmod-internal.h                    |   3 +
>  libkmod/libkmod-module.c                      |   3 +
>  libkmod/libkmod-signature.c                   | 197 +++++++++++++++++-
>  testsuite/module-playground/dummy.pkcs7       | Bin 0 -> 721 bytes
>  testsuite/populate-modules.sh                 |   9 +
>  .../test-modinfo/correct-sig_hashalgo.txt     |   2 +-
>  .../test-modinfo/correct-sig_key.txt          |   2 +-
>  .../test-modinfo/correct-signer.txt           |   2 +-
>  testsuite/test-modinfo.c                      |   3 +-
>  11 files changed, 227 insertions(+), 9 deletions(-)
>  create mode 100644 testsuite/module-playground/dummy.pkcs7
>
> --
> 2.20.1
>