Skip to content

Commit a09a7e0

Browse files
2.6.0
1 parent 8156464 commit a09a7e0

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

CHANGELOG.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,44 @@
11
# rabbitmqadmin-ng Change Log
22

3-
## v2.6.0 (in development)
3+
## v2.7.0 (in development)
44

55
No changes yet.
66

77

8+
## v2.6.0 (Jul 11, 2025)
9+
10+
### Enhancements
11+
12+
* New command, `passwords salt_and_hash`, that implements the [password salting and hashing algorithm](https://www.rabbitmq.com/docs/passwords#computing-password-hash)
13+
used by RabbitMQ's internal authentication backend:
14+
15+
```shell
16+
rabbitmqadmin passwords salt_and_hash "sEkr37^va1ue"
17+
# => ┌───────────────┬──────────────────────────────────────────────────┐
18+
# => │ Result │
19+
# => ├───────────────┼──────────────────────────────────────────────────┤
20+
# => │ key │ value │
21+
# => ├───────────────┼──────────────────────────────────────────────────┤
22+
# => │ password hash │ vRZC0bF0Ut4+6pmcQRSu87S/wRXdHRalgY5DV/5KDd5SzK69 │
23+
# => └───────────────┴──────────────────────────────────────────────────┘
24+
```
25+
26+
This value can be passed as a `--password-hash` when creating a user with the `users declare`
27+
command.
28+
29+
* `users declare` now supports a new argument, `--hashing-algorithm`, that accepts two
30+
possible values: `sha256` (the default) and `sha512`:
31+
32+
```shell
33+
# RabbitMQ nodes must also be configured to use SHA-512 password hashing,
34+
# or this user won't be able to authenticate against them
35+
rabbitmqadmin users declare --username "username43742" --password "example_%^4@8s7" --hashing-algorithm "sha512"
36+
```
37+
38+
Target RabbitMQ nodes must be [configured](https://www.rabbitmq.com/docs/passwords#changing-algorithm) to use the same hashing algorithm (SHA-256 is
39+
used by default).
40+
41+
842
## v2.5.0 (Jul 11, 2025)
943

1044
### Enhancements

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ Commands:
8888
nodes Node operations
8989
operator_policies Operations on operator policies
9090
parameters Operations on runtime parameters
91+
passwords Operations on passwords
9192
policies Operations on policies
9293
publish Publishes (inefficiently) message(s) to a queue or a stream. Only suitable for development and test environments.
9394
purge Purges queues

0 commit comments

Comments
 (0)