fork-openpgpjs/src
Brian Bloniarz b128e2c521 Fix signature check scoping issue.
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.
2013-02-06 08:26:16 -08:00
..
ciphers Fix signature check scoping issue. 2013-02-06 08:26:16 -08:00
compression/zlib Fix for ZLIB issue (endless loop), and dynamic header lengths. 2012-10-06 11:39:07 -04:00
config Updates to documentation. Most all classes should now be jsdoc compliant. 2012-09-11 21:54:42 -04:00
encoding Started modifying inline docs to work with jsdoc3 project, https://github.com/jsdoc3/jsdoc. Built doc based on our source and added to doc directory. Our inline docs need more cleanup, but this document structure looks promising. 2012-08-21 23:23:06 -04:00
packet Fix signature check scoping issue. 2013-02-06 08:26:16 -08:00
type Updates to documentation. Most all classes should now be jsdoc compliant. 2012-09-11 21:54:42 -04:00
util Added some verification to keyring to check valid email address is being queried. Added a regex to util.js that we can use throughout. 2012-05-07 21:39:43 -04:00
openpgp.js Initial work with refactor. Everything should still be functional, but more cleanup can still be done. 2012-10-07 23:44:58 -04:00
openpgp.keyring.js Added more jsdoc. 2012-09-05 21:59:31 -04:00
openpgp.msg.message.js Initial work with refactor. Everything should still be functional, but more cleanup can still be done. 2012-10-07 23:44:58 -04:00
openpgp.msg.privatekey.js Added more jsdoc. 2012-09-05 21:59:31 -04:00
openpgp.msg.publickey.js Initial work with refactor. Everything should still be functional, but more cleanup can still be done. 2012-10-07 23:44:58 -04:00