Forrest logo
back to the rekor-cli tool

rekor-cli:tldr:7a6ef

rekor-cli: Search the Rekor index to find entries by a specific hash.
$ rekor-cli search --sha ${6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b}
try on your machine

The command rekor-cli search --sha ${6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b} is used to search for a specific cryptographic hash value (SHA-256 in this case) in the Rekor database.

Here's a breakdown of the command:

  • rekor-cli is a command-line tool used to interact with the Rekor system, which is a tamper-evident, open-source transparency log for software supply chain security.
  • search is the action being performed to search for a specific entry in the Rekor database.
  • --sha is an option that specifies the type of search being conducted. In this case, it uses SHA-256 as the hash algorithm.
  • ${6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b} is the value being searched for. It represents a specific SHA-256 hash value that you want to find in the Rekor database.

When executed, the command will search for entries in the Rekor database that match the provided SHA-256 hash value and return the relevant information associated with those entries.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the rekor-cli tool