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
Thomas Oberndörfer
0ec3252ba5
Use JXG for ZIP decompression
2012-08-27 14:33:48 +02:00
Thomas Oberndörfer
e42b53199e
Use jsxcompressor for ZLIB compressed data packets
2012-06-26 17:06:33 +02:00
Thomas Oberndörfer
028ee46d81
Merge zip.js and inflate.js into zip.js due to dependency in execution order. Remove inflate.js. Add import for zlib compression to test/encryption.html
2012-06-25 10:30:46 +02:00
Sean Colyer
8c2f987f9d
Fix tests to import openpgp.crypto.sym.js.
2012-05-18 20:22:40 -04:00
Tankred Hase
1f7a503fb1
refactored sha.js internally with module pattern so that it does not require a reference to the window object... external api stays the same
2012-04-06 19:42:44 +08:00
Alexander Willner
fb66c97eb5
added coverage preview
2011-12-16 13:37:49 +01:00
Carsten Wentzlow
377dd12d19
- added encryption.html for testing encrytion / decryption of messages
2011-12-14 11:33:20 +01:00
Carsten Wentzlow
f486f601af
- unit test for the openpgp_crypto API
...
- less debug output on blowfish and twofish test vectors
- adjusted unit test table width in css
2011-12-12 18:11:17 +01:00
Carsten Wentzlow
08cb01e932
adding unit tests for CAST-128 and TripleDES
2011-12-11 23:53:46 +01:00
Carsten Wentzlow
a037210a64
adding AES/Rijndael cipher unit test
2011-12-11 23:12:01 +01:00
Carsten Wentzlow
1aa1cb8d9a
- blowfish.js test file: rewording output message
...
- adding twofish.js test file with test vectors for 256 bit key length
2011-12-10 14:41:00 +01:00
Carsten Wentzlow
982e6992fc
- adding blowfish test
2011-12-09 20:16:38 +01:00
Carsten Wentzlow
81212f213f
adding restructured GPG4Browsers code
...
- created a test suite available at test/index.html
- fixed a bug in MD5 calculation
2011-12-09 18:25:41 +01:00
Alexander Willner
aafc8b0ee4
structure
2011-11-13 11:50:49 +01:00