From: alturiak <1785173+alturiak@users.noreply.github.com> Date: Mon, 3 Sep 2018 18:35:20 +0000 (+0200) Subject: cipher.cpp: Default to CBC instead of ECB X-Git-Tag: 0.13-rc2~48 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=46827e485df7665e31b3ed340da9c2eb4e27bce6 cipher.cpp: Default to CBC instead of ECB For security reasons (and compatibility to other irc-client's implementations), default to CBC for blowfish encryption. --- diff --git a/src/core/cipher.cpp b/src/core/cipher.cpp index fb6a6972..88a4c506 100644 --- a/src/core/cipher.cpp +++ b/src/core/cipher.cpp @@ -56,7 +56,8 @@ bool Cipher::setKey(QByteArray key) // if(Preferences::self()->encryptionType()) // m_cbc = true; // else - m_cbc = false; +// default to CBC + m_cbc = true; m_key = key; } return true;