bareos: master d35282ec

Author Committer Branch Timestamp Parent
mvwieringen adm mvwieringen adm master 2013-05-04 20:48 master 8ceee326 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/stored/stored_conf.c Diff File
mod - src/lib/crypto.h Diff File
mod - src/lib/crypto.c Diff File
mod - src/filed/filed_conf.h Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/filed/crypto.c Diff File