I answer to myself as I forgot to enable SSL and install libssl and openssl when compiling.

Nevertheless, the correct directive is "Volume Encryption" rather than "Block Encryption" as stated in the doc file.

Cheers,

Le 23/11/2023 à 21:55, Matlink a écrit :

Hi,

I'm trying to setup Volume Encryption with self-compiled Bacula 15 from source (Branch-15.0) following this doc https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/blob/Branch-15.0/bacula/src/stored/storage_encryption.rst

So I've set something like this in bacula-sd.conf

    Device {
      ...
      Volume Encryption = yes
    }

    Storage {
      ...
      Encryption Command = "echo -e
    
'cipher:AES_128_XTS\\ncipher_key:aWVKMG9vaGllcG9veWVlbWFoem9ocXU5Y2hvbzZvaHY='"
    }

everything seems to run fine as I got messages like "3305 LoadEncryptionKey for Volume "Vol-0016", status is OK" in joblog and job runs fine. However when I inspect the file volume, content appears in plaintext.

I've noticed that "Volume Encryption" directive is named "Block Encryption" in the doc file, did I missed something? When I try to put "Block Encryption", bacula-sd tells me that this directive does not exist (at least in the device resource).

Thanks =)



_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to