Skip to content

Commit 9eb3a54

Browse files
wubxclaude
andauthored
docs: fix double SHA1 password hash and add generation command (#3178)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 8a433ad commit 9eb3a54

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

docs/cn/guides/20-self-hosted/02-deployment/01-deploying-local.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ services:
103103
name = 'databend'
104104
auth_type = 'double_sha1_password'
105105
# password: databend
106-
auth_string = '3081f32caef285c232d066033c89a96d542d09d7'
106+
# 生成方式: echo -n "your_password" | sha1sum | cut -d' ' -f1 | xxd -r -p | sha1sum
107+
auth_string = '3081f32caef285c232d066033c89a78d88a6d8a5'
107108
108109
[log]
109110
[log.file]

docs/en/guides/20-self-hosted/02-deployment/01-deploying-local.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ services:
9797
name = 'databend'
9898
auth_type = 'double_sha1_password'
9999
# password: databend
100-
auth_string = '3081f32caef285c232d066033c89a96d542d09d7'
100+
# generate: echo -n "your_password" | sha1sum | cut -d' ' -f1 | xxd -r -p | sha1sum
101+
auth_string = '3081f32caef285c232d066033c89a78d88a6d8a5'
101102
102103
[log]
103104
[log.file]

0 commit comments

Comments
 (0)