Skip to content

Add optional label parameter for pkcs11 support#241

Merged
spoore1 merged 1 commit intoSSSD:masterfrom
krishnavema:smartcard-pkcs11
Apr 17, 2026
Merged

Add optional label parameter for pkcs11 support#241
spoore1 merged 1 commit intoSSSD:masterfrom
krishnavema:smartcard-pkcs11

Conversation

@krishnavema
Copy link
Copy Markdown
Contributor

@krishnavema krishnavema commented Mar 27, 2026

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces an optional label parameter to the add_cert and add_key methods in the smartcard utility, allowing for PKCS#11 object labeling. Feedback was provided to update the docstrings for these methods to accurately reflect the str | None type hint for the new parameter to ensure consistency with the function signatures.

Comment thread sssd_test_framework/utils/smartcard.py Outdated
Comment thread sssd_test_framework/utils/smartcard.py Outdated
@krishnavema krishnavema requested review from spoore1 and thalman March 27, 2026 16:12
@krishnavema krishnavema marked this pull request as ready for review April 1, 2026 03:55
Copy link
Copy Markdown
Contributor

@thalman thalman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say Gemini comments are valid, otherwise looks good.

Copy link
Copy Markdown
Contributor

@spoore1 spoore1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Contributor

@thalman thalman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@spoore1 spoore1 merged commit 191c48b into SSSD:master Apr 17, 2026
6 of 11 checks passed
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.

3 participants