Hi Everyone, I created an encrypted message with the newest PGP Desktop from Symantec which is attached to this mail. When trying to read this message with test/parser.hmtl this leads to an endless loop in the read_message() function.
It looks like this method does not handle messages correctly that start with a Marker packet (http://tools.ietf.org/html/rfc4880#section-5.8). Following the RFC this packet should be ignored. So I tried to fix this with following commit and it seems to work: https://github.com/toberndo/openpgpjs/commit/71cfb6e45381bc3587dec7a86053153d64b48c97 Best regards, Thomas
-----BEGIN PGP MESSAGE----- Version: PGP Desktop 10.2.0 (Build 2599) Charset: utf-8 qANQR1DBwEwDtqeot4ShkLgBCADLaPfXgcbZx/WitHISP8pHH1K2WbYJmgPpyhil OAmfJKuKy7Vr7YO2gDml5ILMPmuOzZunDQInMZZw+rU29YoApt4y41YPhd1qnujW Baipp2Nx3EseAwWy2QrWmZEP8vdX79WHvkGs9MNo54mmPxlGJREbP9ru0v7PKGzF MAZ+JV3M4wHi1Cz3+YPXHrSaVymROzV2A1wjcRzWCd8BIedPOnKAoSOEko/807v6 FrskBNXmP66aisYMSIWbUqb6+/uqrqGcD8upu/ADHWiONvQuhvC1j36UPMbRO/q8 pbx8QFYRtqz+2vXPoOAx0No7oPyCFvyvsAD/CYhIlqj477JL0sAsASomX0RUEQQf 1akjLm8lUJ5MSp7Qu/CiZxzLpJHovDhbYFC7aDqgh2AOv6Qu0OqdNyrG3w1xNbfP Dn0duSRV8v6faY5dYL2WHDI52MGJO7LX23QN9wQJRGHj4+jphx4+FVNRPIRFb8aE 2gjHhuwz9o5GXBm3Fr8BfrN+VcO/Br1ud1dQsk7/CcMJDAzhwJJyt8b/su/e/5+b /YcM1cxVivxPyQl6r+b7Pq+PSpkREsq/LQR/z/QztnLoBgaPAK/VFvXSwsG5TrPb DBjDyVuIZfrv/9aCLmCShM6ayDqFAdRkxjkX1R7jGdWgj0A= =6zK8 -----END PGP MESSAGE-----
_______________________________________________ http://openpgpjs.org

