|
From: Roger W. <ro...@pr...> - 2003-02-25 21:37:39
|
Ive seen this problem a while ago. Its got to do with the InputStream that gets created on top of the compressed datastream. In
our case, the file we were trying to decrypt contained a whole bunch encrypted null characters. It seems that as read() extracts
the nulls from the compressed stream, enough nulls in a row signals the InputStream that the end of stream has been reached, even
though available() says theres more to go.
Im sorry if this is a bit vague, it was a couple of years ago. Check the contents of the file you're trying to decrypt (assuming
you have access to it before it got encrypted). And if you're really keen, run through the cryptix source and you'll find the exact
line where the problem occurs.
Roger.
-----Original Message-----
From: cry...@li...
[mailto:cry...@li...]On Behalf Of Rudy
Vissers
Sent: Tuesday, 25 February 2003 10:12 PM
To: cry...@li...
Cc: ru...@su...
Subject: [Cryptix-users] Unexpected end of ZLIB input stream
Decrypting a text document not encrypted by Cryptix(PGP 8.0 for Windows)
generated the following stak trace :
Exception in thread "main" java.lang.RuntimeException: IOException on
ByteArrayInputStream,
should not happen. java.io.EOFException: Unexpected end of ZLIB input stream
at
cryptix.openpgp.packet.PGPEncryptedDataPacket.decrypt(PGPEncryptedDataPacket.java:285)
at
cryptix.openpgp.provider.PGPEncryptedMessageImpl.decrypt(PGPEncryptedMessageImpl.java:210)
at
cryptix.openpgp.provider.PGPEncryptedMessageImpl.decrypt(PGPEncryptedMessageImpl.java:301)
at be.codenet.cps.util.PGP.decryptAndVerify(PGP.java:402)
at be.codenet.cps.util.PGP.main(PGP.java:580)
Any ideas ? BTW I checked the previous exchange of messages sent to this
alias and didn't find anyting.
Thanks,
Rudy
-----BEGIN PGP MESSAGE-----
Version: PGP 8.0 - not licensed for commercial use: www.pgp.com
qANQR1DBwE4DkU0XLd/XUvgQBADOFdHENIlOrHDulpemSu7Tu1/vA97Qn5Jam2F+
nfr+PAcR24xefqrc9utBsqd1qCBLg+/PEa11AQvpZb3JXN+fNnBCWQmlww9nlLGw
jz30z1Gnx0oBAmrR++cn2ioRt1txX0xsHS9zCS8n8Yue1yqG9o4jhNTWLxOh/oUy
ohksSAP/Q+uM/Ko2sHeaI/06KxFpCFmR/PiatFl77YmeAPKK0x3lL/m4sAdaFJpv
ymg+vJA5cplSa0zkRfHvZVhzE8sBzkWDZlOQQJEzRlhf913pWkxFBiSxY7ASOrin
7gAI5RKpV7j9kwHnk2sFY1m5c4tjB508FVJpR2wIKz/7l1rUDyXJwPik/A6Z3s+t
o0w6Gh4kBBn1HyBZ10ZKPs8tvmbL6Q87H8oq2MfZRqxg7P6eOSrxpB2S81cgF+RF
hXK6XtYgUqwmy59WVONARmCfYfjC30WIY8j4ciSDKlT7N7w+eK7Z6lf8uHDSKi8H
XDRTRbLEAWQbAAxMCRNQrTExjcKTEqQjnNamRxTbTAeLaTZCswJH/jQEcfL4zWU1
vWmI0s3ZA0F8VIydOhsh0wAHgn212yWYcEXPmHy0BbWqSWZhXCOrzLNakMqA1YS2
/ZRZJXzxxCdMHiu1x9uFGh5inOdO1gIzxagrosZiXxVUYsv+9nzNf3EHc23nXthI
IqldfXFfMXrWkAFVYBkhpQHoHOA1DB26XCAqSTQ37RX8w4eyjT2orgrx2KCLbii3
hKLUl1ZqUaOSWKjBn31dfvMxKARDp1/vx3SHTQym4gO1sLB2aKiXdjuRrr3k/oDs
3eAty8ktqXZewQHEXZz+milIIbFUrH7wOYTw6Py3gtsEPpwFpUFFnbA65aIgk85c
vsDhFkgBELg7xNKZQsrr0QlJ5O/9faVWNqJpcfIM5x/TR+wihlMrrcF3cC440Y5v
4g==
=CvoJ
-----END PGP MESSAGE-----
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Cryptix-Users mailing list
Cry...@li...
https://lists.sourceforge.net/lists/listinfo/cryptix-users
|