[ooo-build] Sheet protection compatibility

Rail Aliev rail at openoffice.org
Sat Sep 12 01:14:52 PDT 2009


>>>>> On Fri, 11 Sep 2009 19:41:34 -0400, Kohei Yoshida <kyoshida at novell.com> said:

  KY> On Wed, 2009-09-09 at 13:58 +0400, Rail Aliev wrote:
  >> Hi,
  >> 
  >> Does anybody has problems with unprotecting sheets and document
  >> (Tools - Protect Document…) in ODS files produced by OOo prior to 3.1.1?
  >> Calc doesn't accept old passwords in my case…
  >> 
  >> After temporary disabling calc-ods-sheet-protection-*.diff patches I can
  >> open unprotect the old documents.

  KY> Ok.  I looked into it and fixed it in the ooo-build-3-1-1 branch as well
  KY> as on master.

  KY> The problem was that documents created by the older versions of Go-OO as
  KY> well as the upstream OOo did not always specify password hash.  So I was
  KY> not applying any hash to the password text before verifying it, when in
  KY> fact I was supposed to use SHA1 hash when no hash algorithm was
  KY> specified.

  KY> Anyway, feel free to grab the latest from the ooo-build-3-1-1 branch and
  KY> give it a try.

Great!

I can try it in the middle of the next week only.

-- 
Best regards,
 Rail Aliev


More information about the ooo-build mailing list