-
Notifications
You must be signed in to change notification settings - Fork 73
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
Escape PAM special characters properly #656
Open
d-w-moore
wants to merge
10
commits into
irods:main
Choose a base branch
from
d-w-moore:650.m
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This fixes the approach to escaping characters from the set: [@&;=] that iRODS historically has had problems accommodating in PAM passwords in the past. Presently, for iRODS 4.2 and 4.3 we only need to consider ";" and "=" as problematic characters, due to the conflict with the use of those characters in the KVP-formatted context parameter when the AUTH_PLUG_REQ_AN api is used.
Also correct matching auth scheme names for PAM. We now compare to "pam"* so that iRODS 4.2 and 4.3 can both pass the tests.
trel
reviewed
Nov 6, 2024
trel
reviewed
Nov 6, 2024
It looks like these changes address our issue #650 . |
Very good - thank you @llp-rug. |
This is for more consistent naming of things across source code bases.
alanking
reviewed
Nov 22, 2024
Also please eyeball Codacy |
Co-authored-by: Alan King <[email protected]>
alanking
reviewed
Nov 22, 2024
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. I think that this may be ready for squashing soon...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix character escaping.
For servers in the 4.2 and 4.3 series,
@
and&
no longer need escaping. We shall still escape=
and;
due to their use as part of kvp (key-value pair) strings in the iRODS protocol.