streadway / amqp

Go client for AMQP 0.9.1
http://godoc.org/github.com/streadway/amqp
BSD 2-Clause "Simplified" License
4.88k stars 621 forks source link

TestTLSHandshake failing with Go 1.18 due to denial of SHA1 certificates #523

Closed jawn-smith closed 2 years ago

jawn-smith commented 2 years ago

Per the Go 1.18 release notes: "crypto/x509 will now reject certificates signed with the SHA-1 hash function. This doesn't apply to self-signed root certificates. Practical attacks against SHA-1 have been demonstrated since 2017 and publicly trusted Certificate Authorities have not issued SHA-1 certificates since 2015."

This is causing the test "TestTLSHandshake" to fail with Go 1.18

michaelklishin commented 2 years ago

This project has moved to https://github.com/rabbitmq/amqp091-go.

Please submit a PR if you understand the issue in enough detail. Thank you.