Skip to content

Releasing the same jar with different version numbers can confuse security software #9048

@dermot-hardy

Description

@dermot-hardy

The com.squareup.okhttp3:okhttp jar has been completely identical since 5.0.0-alpha.15.

These are the SHA1 digests for example:

If you lookup the digest on https://search.maven.org/ or https://central.sonatype.com/ the latest version does not always come up first, or at all sometimes:

https://search.maven.org/ Image
https://central.sonatype.com/ Image

Security software can report than an alpha version is being used when it is actually one of the stable versions.

I realize this jar just contains some Kotlin metadata, but might it be possible to adjust the manifest to include the version number, or to make any change at all, so that new releases of the jar are not binary identical?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions