Skip to content

Trusted publishing #1534

@tomodachi94

Description

@tomodachi94

Currently, if we want to publish an extension to Open VSX from a CI environment like GitHub Actions, we need to hard-code a long-lived token. Recently, there has been a push by many package repositories to move to a "trusted publishing" model, where they use OpenID Connect (OIDC) to obtain a token instead of creating and hard-coding a long-lived one.

OpenSSF has a document with more information on how this works.

This issue should be considered complete when you can publish from at least one CI/CD platform using trusted publishing1. After this issue is closed, requests for new CI/CD platforms should probably go to a new issue.

(Please note this is different from #1494; that issue is about the CI/CD setup in this repository, while this is about publishing extensions.)

Footnotes

  1. I suggest GitHub Actions and/or GitLab CI first due to their ubiquity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    authenticationUser authentication, tokens, and identity workflowssecurityVulnerabilities or improvements to harden security and protect user dataserver(Component: server) Backend platform and service-side functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions