Skip to content

py -m sigstore ... failure is a mess when run in non-elevated terminal #1833

Description

@djhenderson

When sigstore is executed from a non-elevated terminal, it fails without a useful error message or with multiple exceptions, non of which provide a clue to the reason for failure.

Version

Edition	Windows 11 Pro
Version	25H2
Installed on	‎2025-‎01-‎17
OS build	26200.8875
Experience	Windows Feature Experience Pack 1000.26100.334.0
> py -3.14 -m venv venv314
> venv314\Scripts\activate.bat

> py -V
Python 3.14.6

> pip list
...
sigstore             4.4.0
sigstore-models      0.0.6
sigstore-rekor-types 0.0.18
...

No directly useful error message is issued. Adding the --verbose option to the sigstore command does not provide a particularly useful result.

The significant exception is OSError: [WinError 1314] A required privilege is not held by the client: ... which is buried in between two exception trace backs.

This exception should be detected, and a useful message generated without the unuseful trace backs, or the requirement to add the verbose option.

Thanks,
Doug

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingplat:windowsWindows-specific

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions