Summary
This update for gh fixes the following issues:
Changes in gh:
- Update to version 2.103.3:
* fix(gh auth status): only diagnose token expiry after HTTP 401
* fix(gh auth status): explain expired expiring tokens with --no-refresh
- Update to version 2.103.2:
* Defer --attach credential checks to the server
* Allow installation tokens to attach files
- Update to version 2.103.1:
* feat(gh auth login): hint at --expiring when no preference is set
* Document extrepo installation on Debian (#14796)
* Update github.com/digitorus/pkcs7 dependency
* Avoid repeating the skill installation safety warning
- Update to version 2.103.0:
* Update documentation on token refresh behavior
* docs(skills/gh): document expiring tokens
* fix(gh status): restore left column width under Lip Gloss v2
* chore(deps): bump github.com/cli/oauth to v1.3.0
* ci: build the ghdebug variant on ubuntu
* refactor(debug): parse overrides in an untagged function
* chore: rebuild bin/gh when build tags change
* test(script): assert auth token warning and refresh token kind in e2e
* refactor: read testing overrides through internal/debug
* feat(version): mark debug builds in the version output
* chore: add a debug make target
* feat(debug): add build-gated internal debug configuration
* test(text): stop TestFuzzyIn when timestamp parsing fails
* test(auth/status): cover an expiring token with no refresh token expiry
* fix(text): round FuzzyIn to the nearest unit instead of truncating
* feat(auth/status): show relative time-to-expiry for refreshable tokens
* test(config): cover login when the other credential kind survives purge
* test(auth): cover telemetry when storage or post-login setup fails
* docs(config): describe expiring_credentials as a login-only preference
* fix(auth/shared): choose the auth method before acting on expiring intent
* fix(config): create the refresh lock directory behind the lock seam
* fix(config): place the refresh lock in the state directory
* fix(auth): record expiring_received and auth_success at the right time
* fix(auth/refresh): keep the current token kind when --expiring is unset
* fix(auth/token): warn on stderr when printing an expiring token
* fix(auth/shared): offer token paste when expiring is config-derived
* perf(config): probe the ordinary keyring before the refreshable credential
* fix(auth/refresh): refine the expiring-token downgrade warning
* refactor(config): rename prefer_expiring_credentials to expiring_credentials
* docs(config): clarify the refresh lock godoc
* refactor(auth/shared): record only expiring cred-helper cancellations
* feat(auth/shared): report an error category for unreadable credential helpers
* feat(auth): rework login and refresh telemetry
* feat(auth): prompt for gh as git credential helper on expiring login
* feat(auth): add prefer_expiring_credentials config option
* refactor(auth): make --expiring a tri-state *bool flag
* refactor(auth): rename --short-lived flag to --expiring
* fix(config): run login under the shared refresh lock
* chore: fix formatting
* docs(script): prompt reviewer to confirm git auth during gitcredential e2e login
* fix(config): don't fail refresh when the config dir can't be created
* fix(config): skip destructive refresh cleanup when the lock is unavailable
* fix(config): run logout under the shared refresh lock
* fix(script): declare authtype capability in gitcredential e2e on git 2.46+
* docs(script): clarify refreshable-token e2e scripts
* fix(agent-task): accept plaintext refreshable OAuth credentials
* test(agent-task/capi): assert per-request token refresh in CAPI transport
* fix(auth/status): handle rejected refresh token without an empty-token request
* fix(auth/token): restore legacy unkeyed keyring lookup when --user is omitted
* refactor(auth/token): drop redundant RefreshStatusDone check under --secure-storage
* refactor(authflow): extract authResultFromToken for test coverage
* fix(auth/shared): clarify warning when declining gh helper setup
* fix(auth/shared): force web flow for short-lived interactive login
* fix(auth/shared): offer to set up gh when a non-gh helper meets a refreshable token
* fix(auth refresh): preserve scopes when refreshing an expired refreshable token
* fix(auth refresh): avoid printing short-lived downgrade warning twice
* fix(config): align TokenForUser precedence with setActiveCredential
* fix(config): purge refreshable record on non-refreshable login
* test(config): pin intentional active-token lookup behavior
* fix(api): keep public HTTP client token config backward compatible
* test: add git credential helper end-to-end verification script
* test: add guided end-to-end verification script for refreshable tokens
* fix(agent-task/capi): refresh short-lived tokens per CAPI request
* fix(auth status): show and refresh short-lived token details
* fix(auth token): refresh short-lived tokens before printing
* fix(auth gitcredential): refresh tokens and mark them non-cacheable for git
* fix(auth refresh): preserve or acquire refreshable credentials
* fix(auth login): add --short-lived flag
* fix(auth/shared): store refreshable credentials during login
* fix(auth/shared): do not store refreshable credentials in external git helpers
* fix(authflow): return an AuthResult with an optional refreshable credential
* fix(factory): wire the token refresher into the default factory
* fix(api): refresh expired tokens on API requests
* fix(config): integrate refreshable credentials into auth config
* fix(config): add refreshable credential storage
* fix(authflow): add OAuth token refresher
* fix(gh): add generated TokenRefresher mock
* fix(gh): add refreshable credential types and token refresher interface
* chore(deps): drop stale cli/oauth v1.2.2 go.sum entries
* chore(deps): bump github.com/gabriel-vasile/mimetype from 1.4.15 to
Fixed packages 1
| Release | Package | Fixed in |
|---|---|---|
| openSUSE · Leap 16.0 | gh | 2.103.3-bp160.1.1 |
Vulnerabilities 1
-
High 7.5
Excessive CPU consumption from repeated initial window changes in net/http
A malicious HTTP/2 peer can cause excessive CPU consumption in the client or server by opening a large number of streams and then sending many small SETTINGS frames containing SETTINGS_INITIAL_WINDOW_SIZE values.