]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
Merge tag 'keys-pefile-20140709' into keys-next
authorDavid Howells <dhowells@redhat.com>
Tue, 22 Jul 2014 20:54:05 +0000 (21:54 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 22 Jul 2014 20:54:05 +0000 (21:54 +0100)
commit6204e0025566ad3992ce649d4f44b7e8cdde2293
treebf851c8197aa6546c12c97cb205f9c75a7cae729
parent1ca72c96dbad332ebd89b5756640f881ff0e6e9e
parent98801c002f7e573b4a86bcd5b234864d375e98a0
Merge tag 'keys-pefile-20140709' into keys-next

Here's a set of changes that implement a PE file signature checker.

This provides the following facility:

 (1) Extract the signature from the PE file.  This is a PKCS#7 message
     containing, as its data, a hash of the signed parts of the file.

 (2) Digest the signed parts of the file.

 (3) Compare the digest with the one from the PKCS#7 message.

 (4) Validate the signatures on the PKCS#7 message and indicate
     whether it was matched by a trusted key.

Signed-off-by: David Howells <dhowells@redhat.com>