<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Decrypting Open Office documents</title>
	<link>http://www.lyquidity.com/devblog/?p=35</link>
	<description>Notes from a small island</description>
	<pubDate>Tue, 07 Sep 2010 06:08:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>By: Richard</title>
		<link>http://www.lyquidity.com/devblog/?p=35#comment-95</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Mon, 22 Mar 2010 16:17:40 +0000</pubDate>
		<guid>http://www.lyquidity.com/devblog/?p=35#comment-95</guid>
		<description>This looks like just what I'm looking for, but the code I download doesn't have the OfficeCrypto.OpenEncryptedOfficeFile entry point described.  Am I missing some code?
Thanks</description>
		<content:encoded><![CDATA[<p>This looks like just what I&#8217;m looking for, but the code I download doesn&#8217;t have the OfficeCrypto.OpenEncryptedOfficeFile entry point described.  Am I missing some code?<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Theshan Gunnoo</title>
		<link>http://www.lyquidity.com/devblog/?p=35#comment-71</link>
		<dc:creator>Theshan Gunnoo</dc:creator>
		<pubDate>Thu, 12 Nov 2009 11:41:57 +0000</pubDate>
		<guid>http://www.lyquidity.com/devblog/?p=35#comment-71</guid>
		<description>Hi Bill,

I was thinking that may be you will be able to help for my excel document as it is very important for me lots of data will lost.

Can you suggest me a software that i can u to decrypt my excel doc.</description>
		<content:encoded><![CDATA[<p>Hi Bill,</p>
<p>I was thinking that may be you will be able to help for my excel document as it is very important for me lots of data will lost.</p>
<p>Can you suggest me a software that i can u to decrypt my excel doc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bills</title>
		<link>http://www.lyquidity.com/devblog/?p=35#comment-70</link>
		<dc:creator>bills</dc:creator>
		<pubDate>Thu, 12 Nov 2009 09:39:09 +0000</pubDate>
		<guid>http://www.lyquidity.com/devblog/?p=35#comment-70</guid>
		<description>Hi

MS-OFFCRYPTO is Microsoft's paper specification of the encryption methods used in Office products.

The downloads on the blog are an implementation of some of the specifications using C# and are only useful to other programmers working with Microsoft's .NET framework.

You don't say if you are programmer.

However, it likely will not matter.  You will not be able de-crypt a 2007 workbook encypted using the 2007 encryption options if you have lost or forgotten the password. 

Bill</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>MS-OFFCRYPTO is Microsoft&#8217;s paper specification of the encryption methods used in Office products.</p>
<p>The downloads on the blog are an implementation of some of the specifications using C# and are only useful to other programmers working with Microsoft&#8217;s .NET framework.</p>
<p>You don&#8217;t say if you are programmer.</p>
<p>However, it likely will not matter.  You will not be able de-crypt a 2007 workbook encypted using the 2007 encryption options if you have lost or forgotten the password. </p>
<p>Bill</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Theshan Gunnoo</title>
		<link>http://www.lyquidity.com/devblog/?p=35#comment-69</link>
		<dc:creator>Theshan Gunnoo</dc:creator>
		<pubDate>Thu, 12 Nov 2009 06:15:36 +0000</pubDate>
		<guid>http://www.lyquidity.com/devblog/?p=35#comment-69</guid>
		<description>Hi Bills,

True speaking am a bit lost with MS-OFFCRYPTO is it a program or somethg that we need to modify, i dont know

Can u please help me urgently; as i have an excel doc which has been encrypted in excel 2007 n i have forgotten the password.

i hve downloaded the file liquidity.oleStorage.dll where should i use it or if better i send the file an d decrypt the password.</description>
		<content:encoded><![CDATA[<p>Hi Bills,</p>
<p>True speaking am a bit lost with MS-OFFCRYPTO is it a program or somethg that we need to modify, i dont know</p>
<p>Can u please help me urgently; as i have an excel doc which has been encrypted in excel 2007 n i have forgotten the password.</p>
<p>i hve downloaded the file liquidity.oleStorage.dll where should i use it or if better i send the file an d decrypt the password.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bills</title>
		<link>http://www.lyquidity.com/devblog/?p=35#comment-51</link>
		<dc:creator>bills</dc:creator>
		<pubDate>Wed, 01 Jul 2009 15:32:05 +0000</pubDate>
		<guid>http://www.lyquidity.com/devblog/?p=35#comment-51</guid>
		<description>Hi Joe, 

How do you know you decrypted the stream successfully?  It could be that the call to decrypt completed without error but the resulting stream contained garbage.  OOXML documents are .zip files so if the decryption is successful the first two characters of the stream you try to open should be 'PK'.  What do you see?

It could also be the package encrypted is an binary file (the Office 2007 equivalent of the 2003 file format which can't be opened with the packaging API (because they are OLE Storage files).  

If the first two bytes are not PK then check to see if the first 8 bytes are the OLE storage signature bytes.</description>
		<content:encoded><![CDATA[<p>Hi Joe, </p>
<p>How do you know you decrypted the stream successfully?  It could be that the call to decrypt completed without error but the resulting stream contained garbage.  OOXML documents are .zip files so if the decryption is successful the first two characters of the stream you try to open should be &#8216;PK&#8217;.  What do you see?</p>
<p>It could also be the package encrypted is an binary file (the Office 2007 equivalent of the 2003 file format which can&#8217;t be opened with the packaging API (because they are OLE Storage files).  </p>
<p>If the first two bytes are not PK then check to see if the first 8 bytes are the OLE storage signature bytes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.lyquidity.com/devblog/?p=35#comment-50</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Wed, 01 Jul 2009 15:21:41 +0000</pubDate>
		<guid>http://www.lyquidity.com/devblog/?p=35#comment-50</guid>
		<description>Hi, I successfully decrypted the OOXML file but I get an exception whenever I try to read anything from the decrypted package.  I get "Unable to perform a read operation in write-only mode".  The file has read/write privileges and the Package.FileOpenAccess value is "Read &#124; Write".  Any ideas?

Thanks, Joe</description>
		<content:encoded><![CDATA[<p>Hi, I successfully decrypted the OOXML file but I get an exception whenever I try to read anything from the decrypted package.  I get &#8220;Unable to perform a read operation in write-only mode&#8221;.  The file has read/write privileges and the Package.FileOpenAccess value is &#8220;Read | Write&#8221;.  Any ideas?</p>
<p>Thanks, Joe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MS XML decryption &#171; Caolan McNamara</title>
		<link>http://www.lyquidity.com/devblog/?p=35#comment-49</link>
		<dc:creator>MS XML decryption &#171; Caolan McNamara</dc:creator>
		<pubDate>Fri, 26 Jun 2009 10:37:34 +0000</pubDate>
		<guid>http://www.lyquidity.com/devblog/?p=35#comment-49</guid>
		<description>[...] on Bill Seddon&#8217;s rather excellent notes I&#8217;ve implemented decrypting MS XML documents, though only tested it on .xlsx files protected [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] on Bill Seddon&#8217;s rather excellent notes I&#8217;ve implemented decrypting MS XML documents, though only tested it on .xlsx files protected [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bills</title>
		<link>http://www.lyquidity.com/devblog/?p=35#comment-43</link>
		<dc:creator>bills</dc:creator>
		<pubDate>Mon, 16 Mar 2009 15:10:31 +0000</pubDate>
		<guid>http://www.lyquidity.com/devblog/?p=35#comment-43</guid>
		<description>Hi J-B

This comment is being added to the blog post so anyone else reading the comments will be able to see if the same solution works.

J-B's spreadsheet was encrypted but used the 'internal' or default password of &lt;b&gt;VelvetSweatshop&lt;/b&gt;.  This password is used by Excel 2003 when it encrypts a document.  It seems to be retained in Excel 2007 when it saves a .xls to a xlsx or .xlsm.  As a result, the workbook is encrypted but a password is not required when it is opened in Excel 2007.

However this is because Excel 2007 is silently passing this password to the decryption algorithm it uses.  Because Excel does it, we must also do it.

When I use the default password to decrypt J-B's workbook it works as expected.</description>
		<content:encoded><![CDATA[<p>Hi J-B</p>
<p>This comment is being added to the blog post so anyone else reading the comments will be able to see if the same solution works.</p>
<p>J-B&#8217;s spreadsheet was encrypted but used the &#8216;internal&#8217; or default password of <b>VelvetSweatshop</b>.  This password is used by Excel 2003 when it encrypts a document.  It seems to be retained in Excel 2007 when it saves a .xls to a xlsx or .xlsm.  As a result, the workbook is encrypted but a password is not required when it is opened in Excel 2007.</p>
<p>However this is because Excel 2007 is silently passing this password to the decryption algorithm it uses.  Because Excel does it, we must also do it.</p>
<p>When I use the default password to decrypt J-B&#8217;s workbook it works as expected.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JRENAUDI</title>
		<link>http://www.lyquidity.com/devblog/?p=35#comment-42</link>
		<dc:creator>JRENAUDI</dc:creator>
		<pubDate>Tue, 10 Mar 2009 10:53:34 +0000</pubDate>
		<guid>http://www.lyquidity.com/devblog/?p=35#comment-42</guid>
		<description>Sorry, but I forgot to say that I protected the workbook with password but I didn't set password protection (read/write) on this file.

My file is encrypted because I'm using OLE Storage. Since I didn't set a password on the file, there is no way to know the desencryption key to decode the file content (I try with the password of workbook protection).

Thanks a lot</description>
		<content:encoded><![CDATA[<p>Sorry, but I forgot to say that I protected the workbook with password but I didn&#8217;t set password protection (read/write) on this file.</p>
<p>My file is encrypted because I&#8217;m using OLE Storage. Since I didn&#8217;t set a password on the file, there is no way to know the desencryption key to decode the file content (I try with the password of workbook protection).</p>
<p>Thanks a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bills</title>
		<link>http://www.lyquidity.com/devblog/?p=35#comment-41</link>
		<dc:creator>bills</dc:creator>
		<pubDate>Tue, 10 Mar 2009 10:16:13 +0000</pubDate>
		<guid>http://www.lyquidity.com/devblog/?p=35#comment-41</guid>
		<description>I've just encrypted an Excel 2007 file but supplied no password.  The file saved by Excel is not encrypted.  I can tell this because the first two bytes of the file are 'P' and 'K', the signature of a Zip file.  Encrypted files are OLE storage files and start with the 8 byte signature for these files.

If you have an encrypted file then either it was encrypted by something other than an Office product (why would my version of Office behave differently to yours) or the file is not encrypted.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve just encrypted an Excel 2007 file but supplied no password.  The file saved by Excel is not encrypted.  I can tell this because the first two bytes of the file are &#8216;P&#8217; and &#8216;K&#8217;, the signature of a Zip file.  Encrypted files are OLE storage files and start with the 8 byte signature for these files.</p>
<p>If you have an encrypted file then either it was encrypted by something other than an Office product (why would my version of Office behave differently to yours) or the file is not encrypted.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
