Skip to content

Add per-user Cargo token authentication#40

Draft
aKlimau wants to merge 1 commit into
pulp:mainfrom
aKlimau:add-auth
Draft

Add per-user Cargo token authentication#40
aKlimau wants to merge 1 commit into
pulp:mainfrom
aKlimau:add-auth

Conversation

@aKlimau

@aKlimau aKlimau commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Replaces the hardcoded stub token with per-user Cargo token authentication. Users create tokens via the REST API (POST /api/v3/cargo/tokens/), then use them with cargo login / cargo publish / cargo yank as normal. Tokens are stored as SHA-256 hashes and scoped to the requesting user.

closes #24

@aKlimau aKlimau marked this pull request as draft July 8, 2026 15:40
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Cargo Authentication / Authorization protocols

1 participant