commit | 391b4714b495183baefa9cb10ac8e1600c166a59 | [log] [tgz] |
---|---|---|
author | Yauheni Kaliuta <[email protected]> | Fri Feb 01 22:20:02 2019 +0200 |
committer | Lucas De Marchi <[email protected]> | Mon Feb 04 13:51:27 2019 -0800 |
tree | a674ab2034405859716de1e75b5d15f6f4be5de5 | |
parent | dec990483bcb5f36557ab34918256a2251a6cf25 [diff] |
libkmod-signature: implement pkcs7 parsing with openssl The patch adds data fetching from the PKCS#7 certificate using openssl library (which is used by scripts/sign-file.c in the linux kernel to sign modules). In general the certificate can contain many signatures, but since kmod (modinfo) supports only one signature at the moment, only first one is taken. With the current sign-file.c certificate doesn't contain signer key's fingerprint, so "serial number" is used for the key id. Signed-off-by: Yauheni Kaliuta <[email protected]>
This is a mirror only. Please see README file for more information.