Description
When using a RHEL / CentOS / UBI 7 or 8 base image build of nginx several of the e2e tests fail due to DES deprecation with crypt.
ingress-nginx should default to SHA hashed passwords for basic auth, currently hashes generated from openssl passwd -crypt
can replace -crypt
with -6
, and the following line should indicate a different hashing method in the salt, like foo:$6$
ingress-nginx/test/e2e/annotations/auth.go
Line 210 in b1c8e30
Without specifying a different hashing method in the salt the test will fail with a 500 code and a log message error like crypt_r() failed (22: Invalid argument)
when using of the the above mentioned base images.
If the approach with updating the tests sounds acceptable I would be happy to submit a PR.
/kind feature