Commit Graph

1056 Commits

Author SHA1 Message Date
Tankred Hase
9b2823aa67 Fix unit tests under node 2016-03-23 16:43:40 +08:00
Tankred Hase
963648c6ea Fix unit tests for browsers 2016-03-23 15:39:51 +08:00
Tankred Hase
e5e76d2eb7 Cleanup gcm.js 2016-03-23 14:32:48 +08:00
Tankred Hase
a225027a6b Wrap message.sign into a promise in openpgp.encrypt 2016-03-23 13:43:12 +08:00
Tankred Hase
7fabe02e03 Fix GCM under node.js 2016-03-23 13:43:06 +08:00
evilaliv3
ae969a9a10 Add .codeclimate.yml to limit the audit to the library sources 2016-03-22 20:23:33 +01: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
49faca83c5 Upgrade to asmcrypto-lite@1.1.0 in npm-shrinkwrap.json 2016-03-22 17:45:19 +08:00
Tankred Hase
365a9d2107 Fix link to IEFT draft packet tag in enums.js 2016-03-22 17:45:18 +08:00
Tankred Hase
2e4d8547a0 Fix typo in src/crypto/index.js 2016-03-22 17:45:18 +08:00
Tankred Hase
149f5d5191 Use promise api in sym_encrypted_* packets 2016-03-22 17:45:18 +08:00
Tankred Hase
ded8926b27 Support AES-GCM with AEAD Protected Data Packets
Closes openpgpjs/openpgpjs#421
2016-03-22 17:44:22 +08:00
Tankred Hase
c9b20c96e0 Add unit test link to readme 2016-03-11 12:18:13 +08:00
Tankred Hase
35c5afe94c Remove mailing list from readme 2016-03-11 10:53:10 +08:00
Tankred Hase
b5618fd63d Remove redundant util.emailRegEx 2016-02-19 11:17:35 +07:00
Tankred Hase
aff1b682ac Add comment to keygen example in README 2016-02-19 10:39:10 +07:00
Tankred Hase
5f7ce38be7 Fix examples in README 2016-02-18 12:57:16 +07:00
Tankred Hase
5fc6167730 Release new version 2016-02-18 11:44:54 +07:00
Tankred Hase
a1ab02adc8 Revert "Point to TLS/HSTS secured .com domain"
This reverts commit 177d701f5b.
2016-02-18 11:38:12 +07:00
Tankred Hase
3bbbe2538e Update npm dependencies and shrinkwrap 2016-02-18 11:36:58 +07:00
Tankred Hase
3aecb46f72 Add grunt connect:dev job 2016-02-18 11:31:02 +07:00
Tankred Hase
25425d6a87 Update to current es6-promise polyfill
This no longer causes trouble in PhantomJS 2.x
2016-02-18 11:18:25 +07:00
Tankred Hase
506e36c9cc Remove function bind polyfill from worker.js
This is no longer required in Phantom.js 2.x
2016-02-18 11:15:59 +07:00
Tankred Hase
58bd52559c Use node v4.x instead of v4.2 in travis (current LTS) 2016-02-17 19:33:24 +07:00
Tankred Hase
5a1af6e698 Release new version 2016-02-15 19:46:51 +07:00
Tankred Hase
177d701f5b Point to TLS/HSTS secured .com domain 2016-02-15 14:06:31 +07:00
Tankred Hase
8a0f6f9bfd Cleanup uglify banner 2016-02-15 14:03:41 +07:00
Tankred Hase
01061b8fe9 Update README.md 2016-02-15 09:10:56 +07:00
Tankred Hase
e562a33c91 Merge pull request #377 from hmarr/support-cr-eols
Handle carriage-return-only newlines
2016-02-14 23:03:21 +07:00
Harry Marr
68d1b5a35c Handle carriage-return only newlines
Newlines are normalised to \r\n, but that previously assumed that only
\r\n and \n newline characters could be used. Even though \r newlines
are rarely used in the wild, it's be helpful to support them. Currently,
they're just removed entirely.
2016-02-14 12:01:19 +00:00
Tankred Hase
d517017ec0 Fix typo in readme, link asmcrypto-lite github 2016-02-14 10:31:18 +07:00
Tankred Hase
1962760344 Release new version 2016-02-13 16:57:44 +07:00
Tankred Hase
e4b2b8208e Add jsdoc annotations to openpgp.js 2016-02-13 16:54:43 +07:00
Tankred Hase
68abf04bce Merge pull request #406 from openpgpjs/v2.x
v2.x merge to master
2016-02-13 15:16:16 +07:00
Tankred Hase
80f302924c Use ES5 syntax in the examples 2016-02-11 18:41:21 +07:00
Tankred Hase
24c213d8d9 Add better examples for binary data use. Fix message docs 2016-02-11 17:36:24 +07:00
Tankred Hase
6c954e19c0 Update README.md with v2.x api examples
Minor cleanup in public api, fix typos in docs
2016-02-11 13:41:53 +07:00
Tankred Hase
d399cb8c47 Fix public api doc whitespaces 2016-02-10 23:19:13 +07:00
Tankred Hase
c1a7a59bad Update npm dependencies and shrinkwrap 2016-02-10 15:58:58 +07:00
Tankred Hase
a8fd179843 Fix key and signature tests 2016-02-10 15:41:04 +07:00
Tankred Hase
000c3b3686 Revert "Decode utf8 text only for correct format in Literal.getText()"
This reverts commit 83fcbaa633.
2016-02-10 15:33:45 +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
d5a2e0fb81 Delete plaintext sessionKey from packet after calling message.encryptSessionKey 2016-02-10 12:58:12 +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
6ff470a36a Cleanup worker.js 2016-02-09 20:35:23 +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