Skip to content

fix: use modern Steam authentication for depot access - #3

Draft
alexbowe wants to merge 2 commits into
mainfrom
alexbowe/modern-steam-auth
Draft

alexbowe wants to merge 2 commits into
mainfrom
alexbowe/modern-steam-auth

Conversation

@alexbowe

@alexbowe alexbowe commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Change

Steam depot login currently sends password credentials directly to SteamUser.LogOn, and an empty password can invalidate an otherwise valid supplied token. Exchange username/password through SteamKit authentication, then log on with the returned client refresh token only. Supplied tokens bypass credential exchange and omit password and stale Guard fields.

Existing Guard-code options remain noninteractive. Missing or rejected codes fail clearly; login failures dispose the session. Tokens stay in memory and are never logged or stored.

Validation

  • 15 focused offline authentication tests pass, covering token precedence over null/empty/stale passwords, credential exchange, cancellation, and noninteractive Guard handling. These also passed on .NET 8 immediately before the live validation.
  • Public CI passes all 36 tests on .NET 8, the public depot read, and the Linux FUSE mount check.
  • Trusted ARC depot validation (private run) passed at commit 91a8cc1a38dfb51312a63ffc4f9955256d96e789. The workflow cleared supplied tokens and ran SteamDepotFS directly with username/password. Fresh credential exchange and the depot read completed in 7 seconds on 2026-09-15 at 08:25:56 UTC: app 1808500, depot 1808501, manifest 4625131891870974441, and a 3-byte read from Engine/Config/StagedBuild_PioneerGame.ini.
  • Targeted formatting, diff, and code-quality checks pass.

Draft: awaiting Alex's review. Do not merge or release yet.

Documentation

Shorten setup and usage guidance; distinguish released v0.2.0 from the unreleased auth fix, explain token precedence and noninteractive Guard handling, and identify source builds by commit because release CI supplies the binary version. Local links and documented flags were checked against the implementation.

@alexbowe
alexbowe force-pushed the alexbowe/modern-steam-auth branch from e3e8baa to 5c1143e Compare September 16, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant