271 Commits

Author SHA1 Message Date
Sanjana Rajan
e8ca36a430 remove console logs 2017-07-13 12:07:12 +02:00
Sanjana Rajan
4d5a69ad2d use message obj when signing uint8 array 2017-07-08 13:25:24 +02:00
Sanjana Rajan
89de3b78d0 more tests 2017-07-04 21:08:48 -07:00
Sanjana Rajan
9c88f70f21 add tests 2017-07-04 17:03:56 -07:00
Sanjana Rajan
0918f5a782 add tolerant mode which suppresses errors in reading non-data packets 2017-04-05 07:54:08 -07:00
Sanjana Rajan
b5d3c5bbbd signatureInput -> signature 2017-03-23 13:01:12 -07:00
Sanjana Rajan
6f36d65b22 improve test 2017-03-23 12:04:32 -07:00
Sanjana Rajan
37d5b1b7e0 upper level tests 2017-03-22 17:14:57 -07:00
Sanjana Rajan
73ab650366 initialize publicKeys to empty array, test case where signed message is decrypted without public keys to verify 2017-03-15 17:44:43 -07:00
Bart Butler
23195c2c98 remove useless test 2017-03-14 19:13:17 -07:00
Bart Butler
4a68712379 small test bugfix 2017-03-14 18:49:05 -07:00
Sanjana Rajan
1a6743fd59 return signature object inside verification object 2017-03-10 10:38:59 -08:00
Sanjana Rajan
5743fd9cfc added detached sig tests for high level openpgpjs functions 2017-03-07 13:59:18 -08:00
Sanjana Rajan
079ab96cc8 more tests 2017-03-07 13:59:17 -08:00
Sanjana Rajan
f09fe925ff add tests 2017-03-07 13:59:17 -08:00
Bart Butler
a7d31ef55f Merge pull request #417 from zartdinov/master
Added ability to sign and verify public keys
2017-03-05 12:24:37 -08:00
Bart Butler
09accc8cc5 fix key test 2017-02-27 11:06:36 -08:00
Aydar Zartdinov
81383752f7 Base functionality moved to User.prototype 2017-02-15 21:08:17 +03:00
Aydar Zartdinov
f6e3c37c52 Reverted top level api changes 2017-02-15 21:04:50 +03:00
Aydar Zartdinov
e56e7b3b3e Added ability to sign and verify public keys 2017-02-15 21:04:50 +03:00
Bart Butler
faf8207808 tests cannot use ES6 features 2017-02-13 22:25:46 -08:00
Sanjana Rajan
b3a5219d96 add test with reformatted key signing and encryption 2017-01-31 15:07:51 -08:00
Sanjana Rajan
38e5a455ea add some reformatting key tests 2017-01-31 14:16:34 -08:00
David Janes
70982b6ccd implement keyExpirationTime 2017-01-24 16:54:52 -05:00
Giovanni Pellerano
f8c5c84469 Simplify test/unittests.html removing old stuff related to phantomjs 2016-06-26 11:35:43 +02:00
Tankred Hase
490d8e4e90 Bugfix: drop unsupported packets in packetlist.read()
add unit test for RSA key with ECC subkey
2016-06-07 18:21:31 +02:00
evilaliv3
a5fdc36062 Cleanup API for key.decrypt and align unit tests 2016-04-27 16:06:52 +02:00
evilaliv3
61470ad068 Apply edits as suggested in review of pull #446 2016-04-25 18:35:50 +02:00
evilaliv3
afc2c95238 Implement feature #443 2016-04-25 00:54:16 +02:00
Tankred Hase
e3b146b9d9 Fix Keyid.fromId() 2016-04-11 12:11:35 +02:00
Tankred Hase
843fba0d40 Use underscore instead of camelcase in config
zeroCopy —> zero_copy
useNative —> use_native
Remove unnecessary tests from build
2016-03-24 21:02:29 +08:00
Tankred Hase
2dce233d10 Fix: activate native tests under node.js 2016-03-24 13:34:12 +08:00
Tankred Hase
da3fbf8965 Test CFB, GCM, worker, asm.js, native cases 2016-03-24 13:25:35 +08:00
Tankred Hase
8b46a117ab Prefer aes128 over aes192 (no WebCrypto support) 2016-03-24 10:53:30 +08:00
Tankred Hase
ddedb5cb42 Cleanup public api 2016-03-23 21:36:48 +08:00
Tankred Hase
453a9cee07 Use web worker for encrypt/decrypt if no native gcm 2016-03-23 21:17:36 +08:00
Tankred Hase
26bf7b62c7 Prevent native crypto for worker tests. 2016-03-23 19:15:04 +08:00
Tankred Hase
963648c6ea Fix unit tests for browsers 2016-03-23 15:39:51 +08:00
Tankred Hase
7fabe02e03 Fix GCM under node.js 2016-03-23 13:43:06 +08:00
Tankred Hase
8f8218e9de Cleanup and test AEAD protected packet 2016-03-22 17:45:19 +08:00
Tankred Hase
8aa15b66a9 Cleanup and unit test gcm.js 2016-03-22 17:45:19 +08:00
Tankred Hase
a8fd179843 Fix key and signature tests 2016-02-10 15:41:04 +07:00
Tankred Hase
707b3919e1 Move most test high lvl api test code to test/openpgp.js, cleanup 2016-02-10 15:07:05 +07:00
Tankred Hase
25131e0df9 Added unit tests for util.getTransferables 2016-02-10 12:52:13 +07:00
Tankred Hase
6547b4ef68 Test encrypt/decryptSessionKey and finalize api, review docs 2016-02-10 12:52:13 +07:00
Tankred Hase
128a95ace4 rearrange test order and fix web worker detection 2016-02-10 06:38:35 +07:00
Tankred Hase
9d37a83a79 Api tests work under node.js 2016-02-09 19:14:43 +07:00
Tankred Hase
7d97bcec58 Implement openpgp.decryptKey 2016-02-09 19:04:31 +07:00
Tankred Hase
860ffbe278 Fix redundant deactivation of transferable objects in test 2016-02-09 17:14:00 +07:00
Tankred Hase
ab68d4b997 Support transferable objects in web worker for zero copy support 2016-02-09 17:01:48 +07:00