Skip to content

Incorrect sha1 file for grpc-core/maven-metadata.xml uploaded to repo1.maven.org #10043

@pavulonx

Description

@pavulonx

What version of gRPC-Java are you using?

n/a

What is your environment?

n/a

What did you expect to see?

maven-metadata.xml.sha1 matching sha1sum of maven-metadata.xml

What did you see instead?

curl -fLs https://repo1.maven.org/maven2/io/grpc/grpc-core/maven-metadata.xml | sha1sum
# b90b4b96efc039b9d0fca5c9827e9d12782e6779

not matching sha1 defined in maven-metadata.xml.sha1 - 5d574c5e81b00d67284f5fd9a23dfea4d97f3d43

Steps to reproduce the bug

meta="$(curl -fLs "https://repo1.maven.org/maven2/io/grpc/grpc-core/maven-metadata.xml")" 
for cs in md5 sha1 sha256 sha512; do
  printf '%s: ' "$cs"
  test "$(echo "$meta" | "${cs}sum" - | cut -d' ' -f1)" = "$(curl -fLs "https://repo1.maven.org/maven2/io/grpc/grpc-core/maven-metadata.xml.${cs}")" && echo "OK" || echo "FAIL"
done

out:

md5: OK
sha1: FAIL
sha256: OK
sha512: OK

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions