-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add custom codec configurations for masked passwords #95
Merged
guidograzioli
merged 16 commits into
ansible-middleware:main
from
guidograzioli:77_crypto_algo
Sep 6, 2023
Merged
Add custom codec configurations for masked passwords #95
guidograzioli
merged 16 commits into
ansible-middleware:main
from
guidograzioli:77_crypto_algo
Sep 6, 2023
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
guidograzioli
changed the title
Add more parameters to pbkdf filter
Add more parameters to pbkdf filter (WIP)
Sep 1, 2023
guidograzioli
force-pushed
the
77_crypto_algo
branch
from
September 5, 2023 09:54
242d8a0
to
bf79704
Compare
guidograzioli
added
the
minor_changes
New parameters added to modules, or non-breaking behavior changes to existing parameters; no bugfix
label
Sep 5, 2023
guidograzioli
changed the title
Add more parameters to pbkdf filter (WIP)
Add custom codec configurations for masked passwords
Sep 5, 2023
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
minor_changes
New parameters added to modules, or non-breaking behavior changes to existing parameters; no bugfix
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.
Allow to configure password codec for masked password in JAAS property base files (artemis-users.properties) and broker.xml using a custom java class, by specifying the hash name and number of iterations (Default codec comes with hardcoded 'sha1' and 1024).
New parameters:
activemq_password_codec
key=value;...
formatorg.apache.activemq.artemis.utils.DefaultSensitiveStringCodec
activemq_mask_password
True
activemq_additional_libs
[]
activemq_mask_password_hashname
sha1
activemq_mask_password_iterations
1024
Choices for
activemq_mask_password_hashname
are:[ 'sha1', 'sha224', 'sha256', 'sha384', 'sha512' ]
NOTE This feature won't work without providing a custom password codec class packaged in jar format. See Implementing Custom Codes. The custom codec class used in tests is here for reference.
NOTE The full feature can only work with activemq 2.29.0+ (AMQ Broker 7.11.1+) because of ARTEMIS-4273, apache/activemq-artemis#4469
For a complete usage example, check the molecule test
Fix: #77