Skip to content

Consider OIDC / Trusted Publishing for this (and other) OME repositories #67

@lubianat

Description

@lubianat

I was taking a look at https://github.com/pypa/gh-action-pypi-publish for #66 and noticed we use password authentication on this repository:

        uses: pypa/gh-action-pypi-publish@v1.8.14
        with:
          password: ${{ secrets.PYPI_PASSWORD }}

This seems to be the standard for all python packages in OME repositories, i.e.:
https://github.com/search?q=org%3Aome%20%24%7B%7B%20secrets.PYPI_PASSWORD%20%7D%7D&type=code

Including omero-web, omero-iviewer, omero-figure, omero-py and so on.

Using the Trusted Publishing mechanism (short lived token + config on PyPI) seems to provide several security/maintenance benefits and is the best practice on GitHub.

I am not sure on the burden to set it up, though. Maybe @pwalczysko would have thoughts there (for the larger OME ecosystem)?

We could pilot it for this repo. Set up on PyPI needs definitely high persmissions (in this case, @joshmoore).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions