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

Fix AMQPLAIN authentication mechanism #515

Open hodbn opened 3 years ago

hodbn commented 3 years ago

Fixes #514.

The current AMQPLAIN implementation does not work with rabbitmq out-of-the-box.

I could not find an official reference for that authentication mechanism. Looking at other implementations (rust, python) it seems that AMQPLAIN uses an AMQP table (LOGIN and PASSWORD fields), omitting the table length.

hodbn commented 1 year ago

@michaelklishin Note, this was merged (and seems to work) on rabbitmq/amqp091-go#16.

michaelklishin commented 1 year ago

@hodbn Team RabbitMQ no longer pays any attention to this fork. This is abandonware, https://github.com/rabbitmq/amqp091-go/ is where all new development takes place.