detached 3ef732b

docs: remove stale password auth references

Password login was removed in v2.30.0. Clean up references to
password_hash config, password auth in remotes, and pass store
examples that still showed password_hash.
commit
3ef732b30640dfe9fc182aa3583571b310ecdab3
author
brice · · 2026-03-28 08:15 UTC
parent
06c2247
signature
GPG VerifiedCD88F9E564E0102646FB6077A1A07C7C7C3E349D · arch-gpg Verified for the committer email
4 files · +4 -12
M docs/cli/remotes.md +0 -3
@@ -195,12 +195,9 @@ gordon remotes set-token <name> <token>
195195
196196 This command is useful when:
197197
198-- The server uses token-based authentication (not password auth)
199198 - You have a pre-generated token from `gordon auth token generate`
200199 - You want to update an expired token
201200
202-For servers with password authentication, use `gordon auth login` instead.
203-
204201 ### Examples
205202
206203 ```bash
@@ -195,12 +195,9 @@ gordon remotes set-token <name> <token>
195 195
196 This command is useful when:196 This command is useful when:
197 197
198-- The server uses token-based authentication (not password auth)
199 - You have a pre-generated token from `gordon auth token generate`198 - You have a pre-generated token from `gordon auth token generate`
200 - You want to update an expired token199 - You want to update an expired token
201 200
202-For servers with password authentication, use `gordon auth login` instead.
203-
204 ### Examples201 ### Examples
205 202
206 ```bash203 ```bash
M docs/config/index.md +1 -3
@@ -41,9 +41,7 @@ enabled = true # Enable registry authentication (defau
4141 secrets_backend = "pass" # "pass", "sops", or "unsafe"
4242 token_secret = "gordon/auth/token_secret" # Required: JWT signing secret
4343 token_expiry = "30d" # Duration (1y, 30d, 2w) or 0 for never
44-# Optional: enable password authentication (for interactive login)
45-# username = "deploy"
46-# password_hash = "gordon/auth/password_hash"
44+# Token-only authentication (password login was removed in v2.30.0)
4745
4846 # API rate limiting
4947 [api.rate_limit]
@@ -41,9 +41,7 @@ enabled = true # Enable registry authentication (defau
41 secrets_backend = "pass" # "pass", "sops", or "unsafe"41 secrets_backend = "pass" # "pass", "sops", or "unsafe"
42 token_secret = "gordon/auth/token_secret" # Required: JWT signing secret42 token_secret = "gordon/auth/token_secret" # Required: JWT signing secret
43 token_expiry = "30d" # Duration (1y, 30d, 2w) or 0 for never43 token_expiry = "30d" # Duration (1y, 30d, 2w) or 0 for never
44-# Optional: enable password authentication (for interactive login)44+# Token-only authentication (password login was removed in v2.30.0)
45-# username = "deploy"
46-# password_hash = "gordon/auth/password_hash"
47 45
48 # API rate limiting46 # API rate limiting
49 [api.rate_limit]47 [api.rate_limit]
M docs/config/secrets.md +2 -5
@@ -37,15 +37,13 @@ sudo apt install pass
3737 pass init your-gpg-key-id
3838
3939 # Store secrets
40-pass insert gordon/auth/password_hash
4140 pass insert gordon/auth/token_secret
4241 ```
4342
4443 **Usage in config:**
4544 ```toml
4645 [auth]
47-password_hash = "gordon/auth/password_hash" # Path in pass store
48-token_secret = "gordon/auth/token_secret"
46+token_secret = "gordon/auth/token_secret" # Path in pass store
4947 ```
5048
5149 **Benefits:**
@@ -119,7 +117,6 @@ secrets_backend = "unsafe"
119117 {data_dir}/secrets/
120118 ├── gordon/
121119 │ └── auth/
122-│ ├── password_hash
123120 │ └── token_secret
124121 ```
125122
@@ -132,7 +129,7 @@ secrets_backend = "unsafe"
132129 ```bash
133130 # Create secret
134131 mkdir -p ~/.gordon/secrets/gordon/auth
135-echo "your-bcrypt-hash" > ~/.gordon/secrets/gordon/auth/password_hash
132+echo "your-token-secret" > ~/.gordon/secrets/gordon/auth/token_secret
136133 ```
137134
138135 > **Warning:** Only use for local development. Secrets are stored in plain text.
@@ -37,15 +37,13 @@ sudo apt install pass
37 pass init your-gpg-key-id37 pass init your-gpg-key-id
38 38
39 # Store secrets39 # Store secrets
40-pass insert gordon/auth/password_hash
41 pass insert gordon/auth/token_secret40 pass insert gordon/auth/token_secret
42 ```41 ```
43 42
44 **Usage in config:**43 **Usage in config:**
45 ```toml44 ```toml
46 [auth]45 [auth]
47-password_hash = "gordon/auth/password_hash" # Path in pass store46+token_secret = "gordon/auth/token_secret" # Path in pass store
48-token_secret = "gordon/auth/token_secret"
49 ```47 ```
50 48
51 **Benefits:**49 **Benefits:**
@@ -119,7 +117,6 @@ secrets_backend = "unsafe"
119 {data_dir}/secrets/117 {data_dir}/secrets/
120 ├── gordon/118 ├── gordon/
121 │ └── auth/119 │ └── auth/
122-│ ├── password_hash
123 │ └── token_secret120 │ └── token_secret
124 ```121 ```
125 122
@@ -132,7 +129,7 @@ secrets_backend = "unsafe"
132 ```bash129 ```bash
133 # Create secret130 # Create secret
134 mkdir -p ~/.gordon/secrets/gordon/auth131 mkdir -p ~/.gordon/secrets/gordon/auth
135-echo "your-bcrypt-hash" > ~/.gordon/secrets/gordon/auth/password_hash132+echo "your-token-secret" > ~/.gordon/secrets/gordon/auth/token_secret
136 ```133 ```
137 134
138 > **Warning:** Only use for local development. Secrets are stored in plain text.135 > **Warning:** Only use for local development. Secrets are stored in plain text.
M docs/upgrading.md +1 -1
@@ -187,7 +187,7 @@ This is intentional to encourage secure secret storage in production. The warnin
187187 ### New Features
188188
189189 - **Attachment secrets discovery**: `gordon secrets list <domain>` now shows secrets for attachment containers
190-- **Auth login command**: `gordon auth login --remote <name>` for password authentication
190+- **Auth login command**: `gordon auth login --remote <name>` for token authentication
191191 - **Rate limiting**: Configurable rate limits under `[api.rate_limit]`
192192
193193 ### Security Improvements
@@ -187,7 +187,7 @@ This is intentional to encourage secure secret storage in production. The warnin
187 ### New Features187 ### New Features
188 188
189 - **Attachment secrets discovery**: `gordon secrets list <domain>` now shows secrets for attachment containers189 - **Attachment secrets discovery**: `gordon secrets list <domain>` now shows secrets for attachment containers
190-- **Auth login command**: `gordon auth login --remote <name>` for password authentication190+- **Auth login command**: `gordon auth login --remote <name>` for token authentication
191 - **Rate limiting**: Configurable rate limits under `[api.rate_limit]`191 - **Rate limiting**: Configurable rate limits under `[api.rate_limit]`
192 192
193 ### Security Improvements193 ### Security Improvements

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 7

Tags 106

↑↓ moveenter openesc close