bareos2015: bareos-13.2 73927aa1

Author Committer Branch Timestamp Parent
mvwieringen mvwieringen bareos-13.2 2013-05-04 22:48 bareos-13.2 65e55e0a Pending
Affected Issues  0000046: Encryption cipher is hardcoded
Changeset Encryption cipher is hardcoded

The crypto framework support multiple encryption ciphers but the code
hardcodes the cipher to AES128.

The crypto framework support the following ciphers:
- AES128
- AES192
- AES256
- BLOWFISH

openssl (< 1.0) also has support for the following block ciphers.
- CAMELLIA128
- CAMELLIA192
- CAMELLIA256

openssl (> 1.0) also has support for the following block ciphers.
- AES128HMACSHA1
- AES256HMACSHA1

Adding support for these extra block ciphers seems obvious e.g. set the
right NID and entry point to the cipher.

Fixes 0000046: Encryption cipher is hardcoded
mod - src/filed/crypto.c Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/filed/filed_conf.h Diff File
mod - src/lib/crypto.c Diff File
mod - src/lib/crypto.h Diff File
mod - src/stored/stored_conf.c Diff File