rabbit_pbe: Mark ChaCha20-Poly1305 as unsupported

[#157964874]
This commit is contained in:
Jean-Sébastien Pédron 2018-06-06 11:53:24 +02:00
parent 69814cf194
commit 80db0f7e7d
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
%% Supported ciphers and hashes
supported_ciphers() ->
NotSupportedByUs = [aes_ctr, aes_ecb, des_ecb, blowfish_ecb, rc4, aes_gcm],
NotSupportedByUs = [aes_ctr, aes_ecb, des_ecb, blowfish_ecb, rc4, aes_gcm, chacha20_poly1305],
SupportedByCrypto = proplists:get_value(ciphers, crypto:supports()),
lists:filter(fun(Cipher) ->
not lists:member(Cipher, NotSupportedByUs)