Skip to content
New issue

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

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

Already on GitHub? # to your account

unknown flag: --key when use syft attest --key [KEY] #2544

Closed
deblaci opened this issue Jan 25, 2024 · 0 comments · Fixed by #2551
Closed

unknown flag: --key when use syft attest --key [KEY] #2544

deblaci opened this issue Jan 25, 2024 · 0 comments · Fixed by #2551
Assignees
Labels
bug Something isn't working

Comments

@deblaci
Copy link

deblaci commented Jan 25, 2024

What happened:
Local private key support is not working because --key option is not exist anymore.

According to doc:

To generate an SBOM attestation for a container image using a local private key:
syft attest --output [FORMAT] --key [KEY] [SOURCE] [flags]

What you expected to happen:
Generate a packaged-based SBOM

Steps to reproduce the issue:
syft attest --output cyclonedx-json --key cosign.key ubuntu:latest

Anything else we need to know?:

Environment:

  • Output of syft version: 0.101.1
  • OS (e.g: cat /etc/os-release or similar): macOS 14.3
@deblaci deblaci added the bug Something isn't working label Jan 25, 2024
@wagoodman wagoodman moved this to In Progress in OSS Jan 25, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in OSS Jan 31, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants