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

Andreas Beeker <[email protected]> changed:

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

--- Comment #6 from Andreas Beeker <[email protected]> ---
At your first post, I thought there's something wrong with the agile decryption
routines, which use a "NoPadding" specifier - so BadPaddingException shouldn't
be thrown on close() ... but who knows ...

Looking at your test/use case now, it seems that you aren't handling password
protected files (as in "a password prompt opens in Word"), but unwrap them
yourself with a private key.

In this case you create the CipherInputStream and need to make sure that the
Extractor don't need to handle cipher-based exceptions on close(), e.g. by
using a custom FilterInputStream

Feel free to reopen the bug with a password protected file and I'll have look
into it.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to