support for asymmetric crypto keys and new signature format v0.5
authorDmitry Kasatkin <dmitry.kasatkin@intel.com>
Mon, 11 Feb 2013 11:59:01 +0000 (13:59 +0200)
committerDmitry Kasatkin <dmitry.kasatkin@intel.com>
Mon, 11 Feb 2013 14:12:08 +0000 (16:12 +0200)
commit076fd302bbcc3b9e68db73ba08e388feb53c891b
tree73970a14f07f533ebeec460b3046dca928b7a225
parent1d24a94bb556b2038f64249cfa238463bc327618
support for asymmetric crypto keys and new signature format

Asymmetric keys were introduced in linux-3.7 to verify the signature on
signed kernel modules. The asymmetric keys infrastructure abstracts the
signature verification from the crypto details. Asymmetric crypto keys
support allows to import X509 public key certificate in a DER format
into the kernel keyring. Asymmetric keys require a new signature format.
'evmctl -x' or 'evmctl --x509' option can be used to utilize new
signature format.

Using of key filename after the file name for signing and verification commands
is a bit odd. This patch add '--key' parameter to specify non-default key file.

Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
README
src/evmctl.c