haskell / hackage-security

Hackage security framework based on TUF (The Update Framework)
http://hackage.haskell.org/package/hackage-security
56 stars 48 forks source link

hackage-security: Expose more details in insufficient signatures error #296

Closed bgamari closed 1 year ago

bgamari commented 1 year ago

The exception type now provides the set of acceptable key IDs as well as which keys signed the artifact.

This has been very useful while debugging signing issues in the head.hackage infrastructure.

andreasabel commented 1 year ago

@bgamari Your branch is not writeable so I cannot fix the CI problem here. I am going to push a fix to master on which you can rebase then.

Things are easier if PR branches are writeable, so please check the "Allow updates and access to secrets" box next time.

andreasabel commented 1 year ago

@bgamari Please rebase this PR on master now.

bgamari commented 1 year ago

Done.

bgamari commented 1 year ago

Things are easier if PR branches are writeable, so please check the "Allow updates and access to secrets" box next time.

The checkbox is checked; I have no idea why the branch isn't writable. Very odd.