Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1330072
| From | David Howells <dhowells@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: How to add additional blacklist entries? |
| Date | 2016-02-09 11:50 +0100 |
| Message-ID | <r0e1S-2PZ-47@gated-at.bofh.it> (permalink) |
| References | (7 earlier) <qY7xw-3G4-7@gated-at.bofh.it> <qZUwa-63L-17@gated-at.bofh.it> <qZWok-7it-59@gated-at.bofh.it> <qZXaH-7Ql-59@gated-at.bofh.it> <qZZFw-1eh-5@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: > > You can link from any key you have LINK permission on. Further, add_key() > > can add directly. > > Oh, for some reason I thought the system blacklist keyring was limited > to the new key type with just a description. I was able to add, but > also remove a key from the system blacklist. I guess the KEY_FLAG_KEEP > is not set on the system blacklist. With patch 18 you can. Prior to that it's not possible to modify it from userspace at all. > The keys being added to the IMA keyring are signed x509 certs (eg. > openssl ca -ss_cert). It would be nice to be able to include the skid > in the description, without a payload, and sign that. I have no idea if > that Is possible or if it makes sense. I'm open to suggestions. I think we need a new keyctl or syscall for this. We need to run through the X.509 parser, but we don't actually want to keep any of the payload - and, in fact, we don't even necessarily want to create an asymmetric-type key, though it's not a complete loss if we do that and create one with a blacklist subtype. The blacklist subtype would just return an error from all operation points, but would otherwise be handled as normal. David
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [RFC PATCH 02/20] KEYS: Add a system blacklist keyring [ver #2] David Howells <dhowells@redhat.com> - 2016-02-03 16:30 +0100
Re: [RFC PATCH 02/20] KEYS: Add a system blacklist keyring [ver #2] Mimi Zohar <zohar@linux.vnet.ibm.com> - 2016-02-08 14:40 +0100
Re: [RFC PATCH 02/20] KEYS: Add a system blacklist keyring [ver #2] David Howells <dhowells@redhat.com> - 2016-02-08 15:00 +0100
Re: [RFC PATCH 02/20] KEYS: Add a system blacklist keyring [ver #2] Mimi Zohar <zohar@linux.vnet.ibm.com> - 2016-02-08 16:10 +0100
How to add additional blacklist entries? David Howells <dhowells@redhat.com> - 2016-02-08 17:00 +0100
Re: How to add additional blacklist entries? Mimi Zohar <zohar@linux.vnet.ibm.com> - 2016-02-08 17:40 +0100
Re: How to add additional blacklist entries? David Howells <dhowells@redhat.com> - 2016-02-08 17:50 +0100
Re: How to add additional blacklist entries? Mimi Zohar <zohar@linux.vnet.ibm.com> - 2016-02-08 20:30 +0100
Re: How to add additional blacklist entries? David Howells <dhowells@redhat.com> - 2016-02-09 11:50 +0100
Re: How to add additional blacklist entries? Mimi Zohar <zohar@linux.vnet.ibm.com> - 2016-02-10 15:10 +0100
Re: [RFC PATCH 02/20] KEYS: Add a system blacklist keyring [ver #2] David Howells <dhowells@redhat.com> - 2016-02-08 16:00 +0100
Re: [RFC PATCH 02/20] KEYS: Add a system blacklist keyring [ver #2] Mimi Zohar <zohar@linux.vnet.ibm.com> - 2016-02-08 17:50 +0100
Re: [RFC PATCH 02/20] KEYS: Add a system blacklist keyring [ver #2] David Howells <dhowells@redhat.com> - 2016-02-19 12:50 +0100
csiph-web