diff options
author | Dmitry Kasatkin <d.kasatkin@samsung.com> | 2014-06-17 11:56:58 +0300 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2014-07-17 09:35:16 -0400 |
commit | ffb70f61bab1482a3bd0f85fd8f1e9c9909df2ca (patch) | |
tree | f25c90a65af6441434dd70dcaacb7d204b6ea00b /crypto/api.c | |
parent | b3426827c848d252ed4ca5f4d3085551be083e12 (diff) | |
download | op-kernel-dev-ffb70f61bab1482a3bd0f85fd8f1e9c9909df2ca.zip op-kernel-dev-ffb70f61bab1482a3bd0f85fd8f1e9c9909df2ca.tar.gz |
KEYS: validate certificate trust only with selected key
Instead of allowing public keys, with certificates signed by any
key on the system trusted keyring, to be added to a trusted keyring,
this patch further restricts the certificates to those signed by a
particular key on the system keyring.
This patch defines a new kernel parameter 'ca_keys' to identify the
specific key which must be used for trust validation of certificates.
Simplified Mimi's "KEYS: define an owner trusted keyring" patch.
Changelog:
- support for builtin x509 public keys only
- export "asymmetric_keyid_match"
- remove ifndefs MODULE
- rename kernel boot parameter from keys_ownerid to ca_keys
Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'crypto/api.c')
0 files changed, 0 insertions, 0 deletions