Skip to contentSkip to conversation

Cleaning up IMA

DISCUSSION Petko Manolov 2 participants 2 messages May 18, 2018 5 messages not in the archive Keys-trusted

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw
Quoted 6 lines · Mimi Zohar
Quoted 5 lines · Mark D. Baushke
Quoted 3 lines · Mimi Zohar
Quoted 2 lines · Mark Baushke

Hi Mimi,

Quoted 8 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

I see that Petko has already provide the answer and an updated patch.

I was off-line most of yesterday, and am only now catching up on email.

To confirm, yes, we are still using the ima_update_policy() code.

Updating the policy wasn't the question. It was about using the IMA blacklist, as opposed to the system blacklist.

The system-wide blacklist is populated at build time only. This means that you need kernel change if you want to revoke a certificate, which is sub-optimal. To be useful for us it should be able to accept imports at run-time.

Until the system-wide blacklist keyring doesn't have this functionality i suggest that we keep .ima_blacklist around.

Petko

#6 lore raw
Quoted 19 lines · Petko Manolov
Quoted 6 lines · Mimi Zohar
Quoted 5 lines · Mark D. Baushke
Quoted 3 lines · Mimi Zohar
Quoted 2 lines · Mark Baushke

Hi Mimi,

Quoted 8 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

I see that Petko has already provide the answer and an updated patch.

I was off-line most of yesterday, and am only now catching up on email.

To confirm, yes, we are still using the ima_update_policy() code.

Updating the policy wasn't the question. It was about using the IMA blacklist, as opposed to the system blacklist.

Quoted 7 lines

The system-wide blacklist is populated at build time only. This means that you need kernel change if you want to revoke a certificate, which is sub-optimal. To be useful for us it should be able to accept imports at run-time.

Until the system-wide blacklist keyring doesn't have this functionality i suggest that we keep .ima_blacklist around.

Ahhh... yes. One of the things we allow our customers to do is choose to revoke our development keys so that only production signed images will run on their networks if they wish to make use of that feature.

As such, adding to the .ima_blacklist is used and will continue to be useful.

We typically make that decision before we enter multi-user mode on reboot...

        Enjoy!
        -- Mark