envoyproxy/envoy

Add bcrypt hashes support to basic_auth filter

オープン

#36,278 opened on 2024/09/22

 (30 件のコメント) (11 件のリアクション) (0 人の担当者)C++ (5,373 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (27,997 個のスター)
PR merge metrics
 (平均マージ 8d) (30d で 378 merged PRs)

説明

Currently the auth_basic filter only supports SHA hashed passwords.

ExternalSecrets provide a htpasswd templating function from sprig that generates only bcrypt hashes

Supporting brcypt hashes for basic_auth will improve security and simplify the workflow I use -> hashicorp vault>external secret>k8s secret>envoy gateway securitypolicy>envoy basic_auth filter

https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/basic_auth_filter#configuration https://masterminds.github.io/sprig/crypto.html https://external-secrets.io/latest/guides/templating/

コントリビューターガイド