We should add support for finding SBOMs/Provenance through OCI artifacts with the new distribution-spec referral API.
This will help ensure that we can provide as rich metadata as possible to users, even if they're not using BuildKit attestations (though ofc, we'll only be able to give the best results for that case). Also, if BuildKit ever supports generating OCI artifacts with this API, we'll need to support it in this library as well.