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

Quiet mode for rekor-cli search #420

Closed
kpcyrd opened this issue Aug 21, 2021 · 0 comments · Fixed by #421
Closed

Quiet mode for rekor-cli search #420

kpcyrd opened this issue Aug 21, 2021 · 0 comments · Fixed by #421

Comments

@kpcyrd
Copy link
Contributor

kpcyrd commented Aug 21, 2021

Description

The output of rekor-cli search currently prints one line before the actual results:

% echo 'RWTgyFZe5kun6ThArmRsxUKbmk8Wq32lpmBVLznM6OTyZBU/dV16vuzJ' | rekor-cli search --pki-format=minisign --public-key /dev/stdin
Found matching entries (listed by UUID):
dc20497cdddb5fdbcd42783c45a4cba49c34a62f5e9e89a1bbd78c0eaf8c17cd

This means I'd need to skip the first line with tail -n +2, instead I'd rather ask rekor to skip this line. :)

Thanks!

dlorenc pushed a commit to dlorenc/rekor-cli that referenced this issue Aug 21, 2021
Fixes sigstore#420.

Signed-off-by: Dan Lorenc <dlorenc@google.com>
dlorenc pushed a commit that referenced this issue Aug 22, 2021
)

Fixes #420.

Signed-off-by: Dan Lorenc <dlorenc@google.com>
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