Skip to content

Commit

Permalink
ssh: disable CBC ciphers by default
Browse files Browse the repository at this point in the history
  • Loading branch information
u3s committed Jan 9, 2025
1 parent 0418c10 commit af13edf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/ssh/src/ssh_transport.erl
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,11 @@ default_algorithms1(kex) ->

default_algorithms1(cipher) ->
supported_algorithms(cipher, same(['AEAD_AES_128_GCM',
'AEAD_AES_256_GCM'
'AEAD_AES_256_GCM',
'aes256-cbc',
'aes192-cbc',
'aes128-cbc',
'3des-cbc'
]));
default_algorithms1(mac) ->
supported_algorithms(mac, same(['AEAD_AES_128_GCM',
Expand Down

0 comments on commit af13edf

Please sign in to comment.