Fernet uid/gid logic issue

Bug #1998268 reported by Sam Morrison
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
In Progress
Undecided
Unassigned

Bug Description

Running

keystone-manage fernet_rotate --keystone-user root --keystone-group keystone

Will not work as expected due to some wrong logic when uid is set to 0 due to 0 == False

The new 0 key will have ownership of root:root, not root:keystone

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/keystone/+/866096

Changed in keystone:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.