do not register sha384 by default
related:
- https://github.com/opencontainers/go-digest/pull/64
- https://github.com/opencontainers/go-digest/issues/91#issuecomment-1728133554
- https://github.com/opencontainers/distribution-spec/issues/494
The SHA-384 algorithm is not documented in the OCI image-spec (1, 2), and is not encouraged to be used. Commit 084376bb543d4ce80b030a77a6f51f3b3fd861dc registered all algorithms by default, but also included SHA-384.
This patch disables SHA-384 by default, to discourage its use.
Let me move this one to draft; I rebased https://github.com/opencontainers/go-digest/pull/98 to not depend on this PR.
I rebased this, but kept it in draft for now, pending the discussion on this being a breaking change (and warranting a v2 of this module)
I rebased this, but kept it in draft for now, pending the discussion on this being a breaking change (and warranting a v2 of this module)
What should we do with this?
I vote rebase and merge this, if that is being used it is likely for non-OCI stuff and the impact would be too small to worry about.