Hello,

This is to inform you that there is what I consider a very serious bug in the 
new data encryption code in Bacula 2.0.x  (note, this does not apply to the 
communications encryption code).  The bug causes the last block for some 
files being restored to be inproperly decoded.  This results in a truncated 
file (or files).  The data on the Volume is correct, but what is restore is 
corrupt.  Bacula properly detects this condition, but just the same, you may 
be unable to restore some encrypted files.

I recommend one of the following following:

1. If possible stop using encryption until the fix for this problem is 
released.

2. Applying the "fixed" file that is attached to bug report #763 to your 
Bacula release.  This fixed file was created from release 2.0.2.  If you have 
a 2.0.0 or a 2.0.1, the fix will probably work, but I have not tested it.  
Note, you can also obtain the file (src/filed/restore.c) from either the 
Branch-2.0 SVN or the trunk SVN.

Concerning the fix:  I understood that Landon was going to work on the 
problem.  However, I have not heard from him for several weeks, and my emails 
to him are rejected by his site.  So, I developed a fix for the problem 
myself.  

I mention this because I am not an encryption expert nor do I have much 
knowledge of this code -- so please don't assume this fix is good until you 
have thoroughly tested it.

Best regards,

Kern

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to