This is an automated email from the ASF dual-hosted git repository.
joewitt pushed a change to branch support/nifi-1.11.x
in repository https://gitbox.apache.org/repos/asf/nifi.git.
from e62841f NIFI-7080
new 0b71034 NIFI-7079 Added SecureHasher interface and Argon2SecureHasher
implementation. Added unit tests. Fixed JwtService charset references. Changed
FingerprintFactory to mask sensitive values via Argon2 hashing. Resolved RAT
checks.
new 69c46f0 NIFI-7079 Cleaned up formatting and comments.
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
nifi-commons/nifi-security-utils/pom.xml | 9 +-
.../security/util/crypto/Argon2SecureHasher.java | 217 ++++++++++++++++++
.../nifi/security/util/crypto/SecureHasher.java | 56 +++++
.../util/crypto/Argon2SecureHasherTest.groovy | 242 +++++++++++++++++++++
.../src/test/resources/logback-test.xml | 12 +-
.../nifi/fingerprint/FingerprintFactory.java | 74 ++++---
.../FingerprintFactoryGroovyTest.groovy | 88 ++++++++
.../nifi/fingerprint/FingerprintFactoryTest.java | 50 +++--
.../src/test/resources/logback-test.xml | 1 +
.../test/resources/nifi/fingerprint/initial.xml | 152 +++++++++++++
.../test/resources/nifi/fingerprint/modified.xml | 152 +++++++++++++
.../nifi/web/security/jwt/JwtServiceTest.java | 45 ++--
12 files changed, 1018 insertions(+), 80 deletions(-)
create mode 100644
nifi-commons/nifi-security-utils/src/main/java/org/apache/nifi/security/util/crypto/Argon2SecureHasher.java
create mode 100644
nifi-commons/nifi-security-utils/src/main/java/org/apache/nifi/security/util/crypto/SecureHasher.java
create mode 100644
nifi-commons/nifi-security-utils/src/test/groovy/org/apache/nifi/security/util/crypto/Argon2SecureHasherTest.groovy
copy
{nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api =>
nifi-commons/nifi-security-utils}/src/test/resources/logback-test.xml (91%)
create mode 100644
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/groovy/org/apache/nifi/fingerprint/FingerprintFactoryGroovyTest.groovy
create mode 100644
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/resources/nifi/fingerprint/initial.xml
create mode 100644
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/resources/nifi/fingerprint/modified.xml