Basic Auth: deprecation of DES crypt
#7.251 aberto em 18 de jun. de 2021
Métricas do repositório
- Stars
- (15.199 estrelas)
- Métricas de merge de PR
- (Métricas PR pendentes)
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$
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