You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2014/11/10 04:47:16 UTC

[Bug 57195] New: org.apache.poi.EncryptedDocumentException: cipher algorithm not found

https://issues.apache.org/bugzilla/show_bug.cgi?id=57195

            Bug ID: 57195
           Summary: org.apache.poi.EncryptedDocumentException: cipher
                    algorithm not found
           Product: POI
           Version: unspecified
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: POIFS
          Assignee: dev@poi.apache.org
          Reporter: bearbalu@hotmail.com

I have a bunch of xlsx file with this issue. Unfortunately these files are
non-public and the moment I edit them using my Excel 2010 to remove the
confidential info, the issue goes away. I am happy to email them to someone.

The exception thread is:

org.apache.poi.EncryptedDocumentException: cipher algorithm not found
    at
org.apache.poi.poifs.crypt.CipherAlgorithm.fromEcmaId(CipherAlgorithm.java:65)
    at
org.apache.poi.poifs.crypt.standard.StandardEncryptionHeader.<init>(StandardEncryptionHeader.java:56)
    at
org.apache.poi.poifs.crypt.standard.StandardEncryptionInfoBuilder.initialize(StandardEncryptionInfoBuilder.java:42)
    at org.apache.poi.poifs.crypt.EncryptionInfo.<init>(EncryptionInfo.java:72)
    at org.apache.poi.poifs.crypt.EncryptionInfo.<init>(EncryptionInfo.java:47)

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 57195] Support for Office Binary Document RC4 Encryption

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57195

Andreas Beeker <an...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|org.apache.poi.EncryptedDoc |Support for Office Binary
                   |umentException: cipher      |Document RC4 Encryption
                   |algorithm not found         |

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 57195] Support for Office Binary Document RC4 Encryption

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57195

Andreas Beeker <an...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Andreas Beeker <an...@gmx.de> ---
Applied as part of r1647867

Looking at the MS-OFFCRYPTO docs, I'm still a little bit puzzled, that there's
a rc4 encryption [1], which is record based (see Biff8DecryptingStream) and the
same term is used for a container based mode

[1] http://msdn.microsoft.com/en-us/library/dd907466(v=office.12).aspx

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 57195] org.apache.poi.EncryptedDocumentException: cipher algorithm not found

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57195

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 OS|                            |All

--- Comment #1 from Dominik Stadler <do...@gmx.at> ---
Unfortunately the code currently does not print out the details of which cipher
the document uses, I have added this to the latest trunk version, so if you can
grab the binaries from
https://builds.apache.org/job/POI/lastSuccessfulBuild/artifact/build/dist/
(build is currently running), then we should see which exact cipher these
documents use...

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 57195] org.apache.poi.EncryptedDocumentException: cipher algorithm not found

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57195

Andreas Beeker <an...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #2 from Andreas Beeker <an...@gmx.de> ---
I have already uploaded a temporary patch for this - see
https://issues.apache.org/bugzilla/show_bug.cgi?id=35897#c35

I'm currently trying to get cryptoapi encryption to work.
As I also refactored the internals of the other crypto modules, I'll commit
both when the cryptoapi impl. is ready.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org