Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert DBus objects into native python objects #306

Merged
merged 2 commits into from
Oct 16, 2023

Conversation

rcritten
Copy link
Collaborator

@rcritten rcritten commented Oct 9, 2023

There were cases where values were taken directly from DBus objects. This worked in some cases but not in the case of the token name.

Fixes: #305

Copy link
Contributor

@flo-renaud flo-renaud left a comment

Choose a reason for hiding this comment

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

Hi @rcritten
thanks for the PR. Please find inline comments.

src/ipahealthcheck/ipa/certs.py Show resolved Hide resolved
src/ipahealthcheck/ipa/certs.py Show resolved Hide resolved
@flo-renaud flo-renaud self-assigned this Oct 13, 2023
There were cases where values were taken directly from DBus
objects. This worked in some cases but not in the case of the
token name.

Fixes: freeipa#305

Signed-off-by: Rob Crittenden <[email protected]>
Ubuntu has pylint 3.0.1 which is apparently incompatible with
pylint_plugins.py. Disable this temporarily. Chances are good
that once this is addressed in freeipa it can be ported back
here as well.

Signed-off-by: Rob Crittenden <[email protected]>
Copy link
Contributor

@flo-renaud flo-renaud left a comment

Choose a reason for hiding this comment

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

Hi @rcritten
thanks for the update, LGTM.

@flo-renaud flo-renaud added the ack label Oct 16, 2023
@rcritten rcritten merged commit 02211dd into freeipa:master Oct 16, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Token handling is using a dbus value, not a string
2 participants