You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Signature verification is failing for 1.2.2 based off documentation Validating ORAS CLI Binaries.
It looks like there is a new public key KEYS because Shiwei Zhang was added.
The documentation needs to be updated? We should be using this new public key?
I ended up using the KEYS file. Didn't want to parse the release notes in the script that runs in our CI build.
#!/bin/bash -e
# download the public key
curl -sSL https://raw.githubusercontent.com/oras-project/oras/main/KEYS --output KEYS
# NOTE: manually run below command locally to determine the known checksum of the public key
# curl -sSL https://raw.githubusercontent.com/oras-project/oras/main/KEYS | sha256sum
# we will need to update the known checksum each time the public key is updated
KEYS_CHECKSUM="d29aae25ce1ca6068657f4249bde54c1819687486bb6af2af62c4dee88aed735"
echo -n "$KEYS_CHECKSUM KEYS" > KEYS.sha256
# validate the checksum
sha256sum --check KEYS.sha256
What happened in your environment?
Signature verification is failing for 1.2.2 based off documentation Validating ORAS CLI Binaries.
It looks like there is a new public key KEYS because Shiwei Zhang was added.
The documentation needs to be updated? We should be using this new public key?
What did you expect to happen?
Signature verification will pass
How can we reproduce it?
Run below shell script
What is the version of your ORAS CLI?
1.2.2
What is your OS environment?
Amazon Linux 2023
Are you willing to submit PRs to fix it?
The text was updated successfully, but these errors were encountered: