Commit Graph

1330 Commits

Author SHA1 Message Date
Sean Colyer
7228228d96 Updates to work for s2k with AES encryption. Added numBytes to s2k reading with passphrase to account for s2k encryption with blocksize > hashsize output. 2012-04-10 22:04:29 -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
Tankred Hase
61d905e5de modularized symmetric crypto code into its own js file, since openpgp.crypto.js accesses the window and document objects 2012-04-06 17:35:13 +08:00
Sean Colyer
83ac8fe762 Added decryptAndVerifySignature to msg class. A modification of the original decrypt function, provides the ability to specify public keys to check signature against. 2012-03-28 21:17:18 -04:00
Tankred Hase
b348ccc2ab MD5 now returns binary string format instead of hex 2012-03-18 22:48:44 +11:00
Tankred Hase
74c544eb1f added faster md5 implementation 2012-03-17 22:37:25 +11:00
Sean Colyer
7375cf64ad Changes to address issue in key generation where sometimes key ID's would not match between public/private keys. Time data was not being carried between the packet generation as it should have been. 2012-03-06 19:36:59 -05:00
Sean Colyer
cd509caa70 Changes to key generation to allow for creation of keys with passphrase. uses s2k type 3: salt+iter when a passphrase is provided. 2012-03-01 23:40:16 -05:00
Sean Colyer
d11fbaa1df Changes to optimize decrypting. Changed toString in tag 18 to only print data in debug. 2012-02-20 23:27:57 -05:00
Sean Colyer
13b52ebd51 Included CRC-24 Lookup table. Changes to keyring so importing return booleans, allow for password import of private key. 2012-02-20 22:22:36 -05:00
Sean Colyer
e4915a2fcd Changes to printing statements for optimizations. 2012-02-15 21:52:45 -05:00
Sean Colyer
55496a3437 changes for github issue 25. [GPGTools compatibility] decryptSecretMPIs fails 2012-02-15 21:31:54 -05:00
Sean Colyer
645bbf3f16 Changed some debug statements to only call hexstrdump if debug is inactive by creating new print_debug_hexstr_dump method. Applied only for Tag 18 and overall package at this point, will push to full project after further testing. 2012-02-02 08:56:17 -05:00
Sean Colyer
0a651bdd53 Optimized string concatenation in symmetric encryption. Slow large file encryption led to investigating that string concatenation used was inefficient(switched to an array). 2012-02-02 00:28:24 -05:00
Sean Colyer
4640686683 Changes for key generation. Basic RSA key generation now seems fully functional within the openpgp.js, but experiencing an issue interfacing with gpg. 2012-01-29 16:58:11 -05:00
Sean Colyer
15bf0e144c Few bugfixes. Testing for key generation has revealed is currently broken. Investigating. 2012-01-16 21:31:46 -05:00
Alexander Willner
f02f6a1f40 changed GPG4Browsers to OpenPGP.js 2012-01-16 11:26:00 +01:00
Sean Colyer
a08d91f728 Changes to allow for key generation. Provides a basic framework for key generation with a functioning RSA implementation. Still work to be done for s2k and subkeys. 2012-01-16 00:04:27 -05:00
Sean Colyer
17b7f95e3c Few small additions/bugfixes in openpgp.keyring.js 2012-01-04 21:39:32 -05:00
Alexander Willner
5a37c01350 updated documentation 2011-12-16 18:12:39 +01:00
Alexander Willner
1ea0f6d114 refactoring and implemented comment option #17 2011-12-16 18:04:17 +01:00
Alexander Willner
b1062552bf added new option for #17 2011-12-16 18:03:52 +01:00
Alexander Willner
a0010422ed refactoring for #17 2011-12-16 17:49:58 +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
d80e04d3f0 adding openpgp_encoding_eme_pkcs1_decode() function replacing the PKCS1 decoding in the encryptedsessionkey packet 2011-12-12 16:35:53 +01:00
Carsten Wentzlow
1c9aa9b781 bugfix in openpgp_crypto_getRandomBigIntegerInRange() using compareTo() from BigInteger library 2011-12-12 16:34:11 +01:00
Carsten Wentzlow
4f4d3b3a41 - removing executable flag from files 2011-12-09 18:29:47 +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