Skip to content

Commit 2513e41

Browse files
Change references from SHA1 to BCrypt (#99)
This mirrors the main repository which already recommends BCrypt
1 parent 04bc6dd commit 2513e41

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

helm/oauth2-proxy/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: oauth2-proxy
2-
version: 6.2.2
2+
version: 6.2.3
33
apiVersion: v2
44
appVersion: 7.3.0
55
home: https://oauth2-proxy.github.io/oauth2-proxy/

helm/oauth2-proxy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Parameter | Description | Default
120120
`hostAlias.ip` | `ip` address `hostAliases.hostname` should resolve to.
121121
`hostAlias.hostname` | `hostname` associated to `hostAliases.ip`.
122122
`htpasswdFile.enabled` | enable htpasswd-file option | `false`
123-
`htpasswdFile.entries` | list of [SHA encrypted user:passwords](https://oauth2-proxy.github.io/oauth2-proxy/docs/configuration/overview#command-line-options) | `{}`
123+
`htpasswdFile.entries` | list of [encrypted user:passwords](https://oauth2-proxy.github.io/oauth2-proxy/docs/configuration/overview#command-line-options) | `{}`
124124
`htpasswdFile.existingSecret` | existing Kubernetes secret to use for OAuth2 htpasswd file | `""`
125125
`httpScheme` | `http` or `https`. `name` used for port on the deployment. `httpGet` port `name` and `scheme` used for `liveness`- and `readinessProbes`. `name` and `targetPort` used for the service. | `http`
126126
`image.pullPolicy` | Image pull policy | `IfNotPresent`

helm/oauth2-proxy/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ podSecurityContext: {}
222222
# whether to use http or https
223223
httpScheme: http
224224

225-
# Additionally authenticate against a htpasswd file. Entries must be created with "htpasswd -s" for SHA encryption.
225+
# Additionally authenticate against a htpasswd file. Entries must be created with "htpasswd -B" for bcrypt encryption.
226226
# Alternatively supply an existing secret which contains the required information.
227227
htpasswdFile:
228228
enabled: false
@@ -231,7 +231,7 @@ htpasswdFile:
231231
# One row for each user
232232
# example:
233233
# entries:
234-
# - testuser:{SHA}EWhzdhgoYJWy0z2gyzhRYlN9DSiv
234+
# - testuser:$2y$05$gY6dgXqjuzFhwdhsiFe7seM9q9Tile4Y3E.CBpAZJffkeiLaC21Gy
235235

236236
# Configure the session storage type, between cookie and redis
237237
sessionStorage:

0 commit comments

Comments
 (0)