mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-03-30 15:08:32 +00:00

Signature checks were failing, in the binary-document case of openpgp_packet_signature.verify() the variable i was being referenced when there was no i in scope; instead it was getting 8 from a global variable i, and trimming 8 bytes off the beginning of the data. The global i was being set by the CAST5 cipher -- this also fixes that to be a local variable. Also add unit test to confirm.
OpenPGP-JS Common OpenPGP implementation for JavaScript. Based on: * http://www.hanewin.net/encrypt/ * https://github.com/seancolyer/gmail-crypt * https://github.com/mete0r/openpgp-js * http://fitblip.github.com/JSPGP-Stuffs/ * http://qooxdoo.org/contrib/project/crypto * https://github.com/GPGTools/Mobile/wiki/Introduction * http://gpg4browsers.recurity.com/
Description
Languages
JavaScript
98%
TypeScript
1.9%