-
Notifications
You must be signed in to change notification settings - Fork 74
Authenticate native and pam_password with iRODS 4.3+ auth framework #685
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Have a good number of questions since I'm not that familiar with more complex Python, and a few on code style.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good to me! Just a few minor things.
75cb130
to
71fcf98
Compare
I still see 5 unresolved comments. Is that intentional? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff so far.
We'll need to update the README to cover various things once the code changes are done. The item that comes to mind is the pool option that disables authentication.
Force pushed to repartition the two commits with regard to specific code diffs that were mis-categorized. After the rejigger, branches still compared the same. |
With me it's often that I'm not confident the question or subissue has been sufficiently cleared up, and I've not received an answer. Having said that, I think I have now resolved all that I can, comfortably. (Thinking of both my comfort and that of the person who posted the question / comment). : ) |
Ok. I'll go through your responses shortly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New plugins looks great. They have roughly similar shapes to the C++ so I was able to follow them pretty easily.
Please run Black formatter on these changes.
Also, I am morally obligated to ask if there is a need for any new auth tests given the changes, but I suppose if we run the tests against a 4.2.x server and a 4.3.x server and everything works, that's sufficient. It would probably need to be part of the standard tests before a release to prevent regressions until we drop support for things before 4.3.
Perhaps we should add some test configuration to allow for using the "force legacy auth" option so we make sure everything is still working. Please feel free to punt this to a separate issue in the same release milestone as I wouldn't consider that a blocker for this PR.
Ok, will do when things are final. Leaving this convo unresolved til then.
Should be simple enough to at least add a test that |
7a344ee
to
6569e55
Compare
Just so. Test suite seems to pass with changes so far.
I've pushed a new test to the PR to ensure that at least the force_legacy_auth setting does as advertised for the native auth case, so @alanking , please eye it and let me know please if you think more is needed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall. Had one concern and two tweaks. I think this is close...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Getting there.
What's left for this PR?
irods/test/scripts/test007_pam_features_in_new_auth_framework.bats
Outdated
Show resolved
Hide resolved
irods/test/scripts/test007_pam_features_in_new_auth_framework.bats
Outdated
Show resolved
Hide resolved
Good. Let us know when it's ready for a final review. |
Right now debugging some failing test scripts - other than that though , ready for final review. |
Ok. We'll put some eyes on this soon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More insignificant observations
Status check... What's left to do for this? Are the test scripts working now? |
As far as I know. I've done a few (very small) changes since those tests were run, so ... would like to run all the tests again today. Then maybe a merge party tomorrow? |
Sounds good to me. Thanks |
Looks like the commits have been squashed. Seems the body of each commit message is in an intermediate state? |
4b5a557
to
ea679b8
Compare
That's been corrected |
All tests are passing, except for test6 in the case of iRODS server version < 4.3 Feel free to start final review , especially of the README changes which are really the main thing that's new. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few suggestions on the README. Looks good.
As for the failing test, would it be worth opening a separate issue to address that so that we can get this one wrapped up? "No, let's fix it now" is a perfectly good answer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff.
I think we're ready for pounds.
This is a method of the iRODSSession object that returns the connected iRODS server version without having to authenticate first.
No description provided.