On Dec 14, 2007, at 07:08, Jorge Cabello wrote:

Reading this I have a new doubt:

Is it posible to restore the encrypted files as they are (encrypted) and
to use later another tool to unencrypt them?


The short answer is "with work - yes". You would need to find a way to extract the symmetric encryption key from Bacula, and you'd need to modify Bacula to output the encrypted file contents

The actual encryption used is standard AES-128-CBC, without any special headers (others are supported, but there's currently no configuration toggle)

The symmetric key is stored per-file, in a seperate data stream (STREAM_ENCRYPTED_SESSION_DATA). It is stored as DER-encoded ASN.1, and the schema and re-usable code are available here: http://bacula.svn.sourceforge.net/viewvc/*checkout*/bacula/trunk/ bacula/src/lib/crypto.c?revision=5696

-landonf

Attachment: PGP.sig
Description: This is a digitally signed message part

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to