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

docs: rekor-cli go install directions broken #1440

Closed
spencerschrock opened this issue Apr 17, 2023 · 1 comment · Fixed by #1444
Closed

docs: rekor-cli go install directions broken #1440

spencerschrock opened this issue Apr 17, 2023 · 1 comment · Fixed by #1444
Labels
bug Something isn't working

Comments

@spencerschrock
Copy link

Description

The instructions at https://docs.sigstore.dev/rekor/installation/#using-go-install are out-of-date as go install is incompatible with the replace directive added in #1272

golang/go#44840 (comment)

go install -v github.com/sigstore/rekor/cmd/rekor-cli@latest
go: github.com/sigstore/rekor/cmd/rekor-cli@latest (in github.com/sigstore/rekor@v1.1.0):
	The go.mod file for the module providing named packages contains one or
	more replace directives. It must not contain directives that would cause
	it to be interpreted differently than if it were the main module.

What should the correct behavior be?

I would expect the documented installation options to work, or a note explaining the problem if it's expected to be temporary.

Version

N/A

@spencerschrock spencerschrock added the bug Something isn't working label Apr 17, 2023
@haydentherapper
Copy link
Contributor

cc @AdamKorcz - It looks like this is caused by

rekor/go.mod

Line 148 in fb50ad8

replace github.com/AdaLogics/go-fuzz-headers => github.com/AdamKorcz/go-fuzz-headers-1 v0.0.0-20230201144411-22e92b796899
. Do you know if we can remove this or if you can upstream your changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants