Skip to content

Commit

Permalink
Fix DSSE Signature KeyID compatiblity with Sigstore signatures (#362)
Browse files Browse the repository at this point in the history
* fix: keyid is allowed to be empty

Using sigstore to sign some metadata, a key ID isn't part of the
resulting date.

Archivista cannot handle it on upload, getting a key id length
error when it's blank.

The DSSE specification allows key id to be blank.

closes #321

Signed-off-by: Kairo Araujo <[email protected]>

* build: auto-generated ent

Signed-off-by: Kairo Araujo <[email protected]>

---------

Signed-off-by: Kairo Araujo <[email protected]>
  • Loading branch information
kairoaraujo authored Aug 24, 2024
1 parent 537ebb1 commit f872a7f
Show file tree
Hide file tree
Showing 22 changed files with 121 additions and 132 deletions.
2 changes: 1 addition & 1 deletion ent.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ent/attestation_create.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 11 additions & 10 deletions ent/attestation_query.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ent/attestation_update.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ent/attestationcollection_create.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 11 additions & 10 deletions ent/attestationcollection_query.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ent/attestationcollection_update.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 11 additions & 10 deletions ent/attestationpolicy_query.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f872a7f

Please sign in to comment.