Skip to content

Proposal: Enhance Authentication Mechanism to Replace PATs with Cryptographically Secure Alternatives #1249

@alishirazi92

Description

@alishirazi92

I’d like to raise a few concerns and suggestions regarding the current authentication mechanism being used for publishing extensions:

  1. Current Approach: At the moment, authentication relies on Personal Access Tokens (PATs), which are commonly injected via environment variables or stored securely in CI/CD pipelines. While practical, PATs don’t offer sender-level cryptographic assurances, which poses a risk if they’re ever exposed or intercepted.

  2. Token Lifespan: Both OAuth and PATs typically have expiration periods ranging from a week to several months—or remain valid indefinitely in some legacy cases. This variability adds to the challenge of maintaining secure, long-term access.

  3. Potential Improvement: We’re interested in exploring stronger, cryptographically backed authentication alternatives. This could include secure key management solutions or an OAuth 2.0 flow that leverages client-side certificates for added protection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions