Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1306858
| From | David Howells <dhowells@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC PATCH 00/15] KEYS: Restrict additions to 'trusted' keyrings |
| Date | 2016-01-12 01:40 +0100 |
| Message-ID | <qPVa9-1En-5@gated-at.bofh.it> (permalink) |
| References | <qOKqu-2lS-25@gated-at.bofh.it> <qOK78-2eA-21@gated-at.bofh.it> <qOKqu-2lS-25@gated-at.bofh.it> |
| Organization | Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 |
Mimi Zohar <zohar@linux.vnet.ibm.com> wrote: Mimi Zohar <zohar@linux.vnet.ibm.com> wrote: > > The kernel may add implicitly trusted keys to a trusted-only keyring by > > asserting KEY_ALLOC_BYPASS_RESTRICTION when the key is created, but > > otherwise the key will only be allowed to be added to the keyring if it can > > be verified. The system trusted keyring is not then special in this sense > > and other trusted keyrings can be set up that are wholly independent of > > it. > > In order to have a certificate chain of trust on any of these trusted > keyrings, the system keyring needs to be special. Even if we permit > transitive trust, meaning keys on a keyring can be used to validate > other keys being added to the same keyring, the first key added to a > trusted keyring needs to be vetted against something. That something > needs to be the builtin keys on the system keyring. Note that the KEY_ALLOC_BYPASS_RESTRICTION flag is there to permit built in keys to be added by the kernel in the first place. It would not be available to userspace to use. David
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[RFC PATCH 00/15] KEYS: Restrict additions to 'trusted' keyrings David Howells <dhowells@redhat.com> - 2016-01-08 19:40 +0100
[RFC PATCH 10/15] X.509: Extract signature digest and make self-signed cert checks earlier David Howells <dhowells@redhat.com> - 2016-01-08 19:40 +0100
[RFC PATCH 03/15] KEYS: Generalise system_verify_data() to provide access to internal content David Howells <dhowells@redhat.com> - 2016-01-08 19:40 +0100
[RFC PATCH 05/15] KEYS: Add an alloc flag to convey the builtinness of a key David Howells <dhowells@redhat.com> - 2016-01-08 19:40 +0100
[RFC PATCH 12/15] X.509: Move the trust validation code out to its own file David Howells <dhowells@redhat.com> - 2016-01-08 19:40 +0100
[RFC PATCH 11/15] PKCS#7: Make the signature a pointer rather than embedding it David Howells <dhowells@redhat.com> - 2016-01-08 19:40 +0100
[RFC PATCH 01/15] X.509: Partially revert patch to add validation against IMA MOK keyring David Howells <dhowells@redhat.com> - 2016-01-08 19:40 +0100
[RFC PATCH 06/15] KEYS: Add a facility to restrict new links into a keyring David Howells <dhowells@redhat.com> - 2016-01-08 19:40 +0100
[RFC PATCH 02/15] X.509: Don't treat self-signed keys specially David Howells <dhowells@redhat.com> - 2016-01-08 19:40 +0100
[RFC PATCH 07/15] KEYS: Allow authentication data to be stored in an asymmetric key David Howells <dhowells@redhat.com> - 2016-01-08 19:40 +0100
Re: [RFC PATCH 00/15] KEYS: Restrict additions to 'trusted' keyrings Mimi Zohar <zohar@linux.vnet.ibm.com> - 2016-01-08 20:00 +0100
Re: [RFC PATCH 00/15] KEYS: Restrict additions to 'trusted' keyrings Mimi Zohar <zohar@linux.vnet.ibm.com> - 2016-01-08 20:30 +0100
Re: [RFC PATCH 00/15] KEYS: Restrict additions to 'trusted' keyrings David Howells <dhowells@redhat.com> - 2016-01-12 01:40 +0100
Re: [RFC PATCH 00/15] KEYS: Restrict additions to 'trusted' keyrings Mimi Zohar <zohar@linux.vnet.ibm.com> - 2016-01-12 03:50 +0100
Re: [RFC PATCH 00/15] KEYS: Restrict additions to 'trusted' keyrings David Howells <dhowells@redhat.com> - 2016-01-12 01:40 +0100
csiph-web