-
Notifications
You must be signed in to change notification settings - Fork 164
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 while using file as artifact with rekor-cli upload
.
#2138
Comments
Can you try prepending |
also, that error message is (incorrectly) printed if the argument to |
prepending And I also confirmed that file |
I'm only able to recreate this error if the file doesn't exist in the current working directory. Can you confirm that is the case for you? |
Description
I want to use rekor-cli version 1.3.6 for uploading artifact and signature using below command.
$ rekor-cli upload --artifact payload.json --signature payload.json.sig --public-key pubkey.pem --pki-format x509
But I am getting invalid argument error.
invalid argument "payload.json" for "--artifact" flag: URL must be for http or https scheme
.In help section it states it could be a file.
--artifact fileOrURL path or URL to artifact file
Version
rekor-cli: Rekor CLI
GitVersion: v1.3.6
GitCommit: a678856
GitTreeState: clean
BuildDate: 2024-04-02T04:16:36Z
GoVersion: go1.21.8
Compiler: gc
Platform: linux/amd64
The text was updated successfully, but these errors were encountered: