Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Commit 9b67e2c

Browse files
committed
rabbit_pbe: Mark ChaCha20 as unsupported
This seems to be a new cipher in Erlang 22.
1 parent fafba83 commit 9b67e2c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rabbit_pbe.erl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
%% Supported ciphers and hashes
2424

2525
supported_ciphers() ->
26-
NotSupportedByUs = [aes_ctr, aes_ecb, des_ecb, blowfish_ecb, rc4, aes_gcm, chacha20_poly1305],
26+
NotSupportedByUs = [aes_ctr, aes_ecb, des_ecb, blowfish_ecb, rc4,
27+
aes_gcm, chacha20, chacha20_poly1305],
2728
SupportedByCrypto = proplists:get_value(ciphers, crypto:supports()),
2829
lists:filter(fun(Cipher) ->
2930
not lists:member(Cipher, NotSupportedByUs)

0 commit comments

Comments
 (0)