notation icon indicating copy to clipboard operation
notation copied to clipboard

feat: upgrade to OCI 1.1

Open Two-Hearts opened this issue 10 months ago • 5 comments

This PR upgrades Notation to OCI 1.1.

Major changes:

  1. --allow-referrers-api flag is moved out of experimental. And it is now only applied to the Sign command.
  2. 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.
    
  3. 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

Two-Hearts avatar Mar 28 '24 06:03 Two-Hearts