notation
notation copied to clipboard
feat: upgrade to OCI 1.1
This PR upgrades Notation to OCI 1.1.
Major changes:
-
--allow-referrers-api
flag is moved out of experimental. And it is now only applied to theSign
command. - Sign:
Default behavior (without the `--allow-referrers-api` flag): Use the referrers tag schema for backwards compatability. With `--allow-referrers-api` flag: Use the Referrers API, if not supported, automatically fallback to the referrers tag schema.
- Verify/List/Inspect: They no longer have the flag
--allow-referrers-api
. They will always use the Referrers API, if not supported, automatically fallback to the referrers tag schema.
Changes are tested in E2E and ACR.
This PR partially resolves issue https://github.com/notaryproject/notation/issues/892. Resolves #893