Skip to content

Conversation

@pamaury
Copy link
Contributor

@pamaury pamaury commented Jan 1, 2026

Backport #26640. Had to fix a rustfmt lint.

@pamaury pamaury requested a review from a team as a code owner January 1, 2026 20:31
@pamaury pamaury requested review from jwnrt, moidx and timothytrippel and removed request for a team January 1, 2026 20:31
Besides `CKA_VALUE` There are aother attributes that may be sensitive
and should not be accessed if `CKA_SENSITIVE` is set to true.

This change adds the `AttributeMap::sensitive_attrs` static function to
get a manually compiled list of sensitive attributes.

The `AttributeMap:from_object` method was refactored to properly handle
potentially sensitive fields.

Signed-off-by: Miguel Osorio <miguelosorio@google.com>
(cherry picked from commit 0413bd0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants