Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error to decode a key that was persisted after using go1.15 to compile Notary #1602

Closed
reasonerjt opened this issue Jun 29, 2021 · 0 comments · Fixed by #1616
Closed

Error to decode a key that was persisted after using go1.15 to compile Notary #1602

reasonerjt opened this issue Jun 29, 2021 · 0 comments · Fixed by #1616

Comments

@reasonerjt
Copy link
Contributor

I have been using go1.14 to compile notary-signer. When I use go1.15 to compile it, it cannot decode the snapshot key that was persisted in the DB earlier.
More details see:
goharbor/harbor#14932

Seems it was caused by misuse in dvsekhvalnov/jose2go:
golang/go#41089
dvsekhvalnov/jose2go#26

and it has been fixed in the upstream repo
dvsekhvalnov/jose2go@85193dd

I hope notary can bump up to use the new version of dvsekhvalnov/jose2go so the upgrade path won't break when we use go1.15+ to compile notary code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant