Password length is printed in log file (with debug severity) #10264
-
Describe the bug
Imho, it's not secure. Reproduction steps
Expected behaviorNo information about passwords in log file. Additional contextRabbitMQ 3.12.10 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
No plans to change anything about it. Logging password length and only at debug level sounds very reasonable to me. RabbitMQ nodes do not log at debug level by default, the operator must opt in. The LDAP has not one but two logging modes dedicated to debugging. They are complete life savers for LDAP users every so often. They would not be able to debug their system without taking a traffic capture, something that can be effectively impossible for some teams and environments. |
Beta Was this translation helpful? Give feedback.
-
Looks like one other suggestion originally filed as an issue did not make it into a discussion. It has to do with user connections not being closed after a password change. Deleting the user will close all of its connections, that's what we recommend for emergency credential rotation. OAuth 2 is another option that has credential expiration as a fundamental idea. Finally, there is x.509 certificate-based authentication with the trust store plugin, that is sits in between, |
Beta Was this translation helpful? Give feedback.
-
I have forgotten that in modern versions there are rabbitmqctl close_all_user_connections
rabbitmqctl close_all_connections that both can be used after |
Beta Was this translation helpful? Give feedback.
No plans to change anything about it. Logging password length and only at debug level sounds very reasonable to me. RabbitMQ nodes do not log at debug level by default, the operator must opt in.
The LDAP has not one but two logging modes dedicated to debugging. They are complete life savers for LDAP users every so often. They would not be able to debug their system without taking a traffic capture, something that can be effectively impossible for some teams and environments.