Commit Graph

  • 6bac31a257 Bump buffer dependency to 4.0.4 evilaliv3 2016-02-11 14:00:16 +01:00
  • e403d040ca Implement support for binary data encryption/decryption evilaliv3 2015-07-21 13:35:45 +02:00
  • bbd9bc4cbd Solved encryption issues on long payloads evilaliv3 2015-07-19 12:44:06 +02:00
  • 7181011a18 Improved unit testing in order to prove failures on long payloads evilaliv3 2015-07-19 12:43:30 +02:00
  • c5c3498430 Changed unit tests evilaliv3 2015-07-19 12:38:34 +02:00
  • a6169704b1 Make possible to know the size of the encrypted payload at the start of the streaming encryption evilaliv3 2015-07-16 23:33:50 +02:00
  • 83dd86d706 Refactor API for setting streaming onData and onEnd callbacks evilaliv3 2015-07-16 21:36:40 +02:00
  • 4423bebab0 Make onDataFn and onEndFn optional evilaliv3 2015-07-15 21:01:07 +02:00
  • 20e6edb918 Rewrite streaming patch using Uint8Array instead of Buffer evilaliv3 2015-06-30 13:27:02 +02:00
  • 7b5a3e7571 Fix streaming unittests after string to char array optimization evilaliv3 2015-06-14 11:28:43 +02:00
  • 7bd684a1a6 Improve UTs testing all algos + integrity_protection on/off evilaliv3 2015-05-25 15:36:15 +02:00
  • dc58171afb Drop dependency on node.js sha1 crypto Arturo Filastò 2015-02-16 18:55:08 +01:00
  • f733cf8728 Add buffer and readable-stream to the dependencies Arturo Filastò 2015-02-16 18:17:23 +01:00
  • a18f4c0388 Fix unittests to use the new openpgp.js es6 promise APIs Arturo Filastò 2015-02-16 18:15:34 +01:00
  • 5721b095c7 Re-add missing inherits util Arturo Filastò 2015-02-16 17:37:56 +01:00
  • a05fa720a9 Import forge_sha1 from it's master branch Arturo Filastò 2014-11-03 16:48:56 +01:00
  • dd5fb80d80 Add support for encrypting with message integrity checks Arturo Filastò 2014-10-14 19:20:16 +02:00
  • ef95dea1d3 Add support for stream encryption without integrity protection. Arturo Filastò 2014-10-06 12:59:43 +02:00
  • a3a27febef Reorder travis jobs to run required first Tankred Hase 2016-02-03 20:01:57 +07:00
  • 868236c09b Fix unit tests on Safari, Closes openpgpjs/openpgpjs#399 Tankred Hase 2016-02-03 19:33:08 +07:00
  • 5118436b42 Turn node_modules caching back on Tankred Hase 2016-02-03 18:46:15 +07:00
  • 88e4b7f270 Update npm dependencies and shrinkwrap Tankred Hase 2016-02-02 15:28:29 +07:00
  • 128ddb8d46 Check code coverage only under node v0.12 => faster Tankred Hase 2016-02-02 14:41:12 +07:00
  • 60e41b265c Run browser tests under node v4.2 Tankred Hase 2016-02-01 16:17:35 +07:00
  • d1198e727e Add node v4.2 and v5 to the required travis builds Tankred Hase 2016-02-01 15:07:52 +07:00
  • 0c9c08aece Set codecliamte repo token Tankred Hase 2016-02-01 14:46:49 +07:00
  • aee62e252b Replace coveralls bagdge with codeclimate coverage badge and add codeclimate badge for tracking code quality evilaliv3 2016-01-24 19:49:20 +01:00
  • 3f1823ef40 Replace coveralls with codeclimate coverage by means of codeclimate-test-reporter evilaliv3 2016-01-24 19:10:19 +01:00
  • 6bda2c82fa Add Chrome, Firefox and IE11 to required tests Tankred Hase 2016-02-01 08:42:15 +07:00
  • 53402a1e18 Skip performance test Tankred Hase 2016-02-01 08:23:17 +07:00
  • 80f302924c Use ES5 syntax in the examples Tankred Hase 2016-02-11 18:25:15 +07:00
  • 24c213d8d9 Add better examples for binary data use. Fix message docs Tankred Hase 2016-02-11 14:32:10 +07:00
  • 6c954e19c0 Update README.md with v2.x api examples Tankred Hase 2016-02-10 20:32:28 +07:00
  • d399cb8c47 Fix public api doc whitespaces Tankred Hase 2016-02-10 20:02:57 +07:00
  • c1a7a59bad Update npm dependencies and shrinkwrap Tankred Hase 2016-02-10 15:58:58 +07:00
  • a8fd179843 Fix key and signature tests Tankred Hase 2016-02-10 15:41:04 +07:00
  • 000c3b3686 Revert "Decode utf8 text only for correct format in Literal.getText()" Tankred Hase 2016-02-10 15:33:45 +07:00
  • 707b3919e1 Move most test high lvl api test code to test/openpgp.js, cleanup Tankred Hase 2016-02-10 15:07:05 +07:00
  • d5a2e0fb81 Delete plaintext sessionKey from packet after calling message.encryptSessionKey Tankred Hase 2016-02-10 12:58:12 +07:00
  • 25131e0df9 Added unit tests for util.getTransferables Tankred Hase 2016-02-10 12:51:45 +07:00
  • 6547b4ef68 Test encrypt/decryptSessionKey and finalize api, review docs Tankred Hase 2016-02-10 12:27:12 +07:00
  • 128a95ace4 rearrange test order and fix web worker detection Tankred Hase 2016-02-10 06:38:35 +07:00
  • 6ff470a36a Cleanup worker.js Tankred Hase 2016-02-09 20:35:23 +07:00
  • 9d37a83a79 Api tests work under node.js Tankred Hase 2016-02-09 19:14:43 +07:00
  • 7d97bcec58 Implement openpgp.decryptKey Tankred Hase 2016-02-09 19:04:31 +07:00
  • 4f6e036a07 Cleanup packet list clonong --> src/packet/clone.js Tankred Hase 2016-02-09 19:01:30 +07:00
  • 450a7321d1 Fix typo in util Tankred Hase 2016-02-09 17:38:16 +07:00
  • 860ffbe278 Fix redundant deactivation of transferable objects in test Tankred Hase 2016-02-09 17:14:00 +07:00
  • ab68d4b997 Support transferable objects in web worker for zero copy support Tankred Hase 2016-02-09 17:01:48 +07:00
  • 89df70cbe0 Cleanup src/openpgp.js Tankred Hase 2016-02-09 15:37:13 +07:00
  • 4e07cd1662 Set version to 2.0.0-dev in package.json Tankred Hase 2016-02-09 12:57:52 +07:00
  • 206f1f9c0f Add 'armor' parameter to sign api Tankred Hase 2016-02-09 12:57:23 +07:00
  • c0cc0ee991 Use 'armor' param in encrypt api instead of 'packets' to return full message object Tankred Hase 2016-02-09 11:32:35 +07:00
  • 994b8d2354 Use generic AsyncProxy.delegate for all public apis Tankred Hase 2016-02-09 09:15:52 +07:00
  • f5375ef700 Drastically simplify async_proxy with generic delegate function Tankred Hase 2016-02-09 08:46:18 +07:00
  • 227a412ca0 Run tests both with and without web worker Tankred Hase 2016-02-09 07:53:31 +07:00
  • ee07b77320 Fail gracefully when no web worker support on initWorker Tankred Hase 2016-02-09 07:52:08 +07:00
  • 9634440341 Remove redundant old tests from test/general/basic.js Tankred Hase 2016-02-09 07:49:51 +07:00
  • b1f6266cc8 Write tests for new api: openpgp.encrypt/decrypt Tankred Hase 2016-02-08 23:28:54 +07:00
  • 41c17f724b Merge 4891df63be972f1985500305180a98f7a64aa028 into 6c4e0ed6a01b20aaab641f6a93262973b638569c Anders D. Johnson 2016-02-08 16:07:17 +00:00
  • a44e1e5024 Write tests for new api: openpgp.generateKey Tankred Hase 2016-02-08 19:32:42 +07:00
  • c38d41036e Add sinon to devDeps for mocking Tankred Hase 2016-02-08 15:02:02 +07:00
  • 33d8d0fd11 Add grunt watch task Tankred Hase 2016-02-08 14:23:50 +07:00
  • c7a6a88098 Add type validation util functions Tankred Hase 2016-02-08 13:36:21 +07:00
  • 1405ec8d1c Return filename for utf8 message Tankred Hase 2016-02-08 10:18:37 +07:00
  • f72b4522ad Rename openpgp api: generateKeyPair --> generateKey Tankred Hase 2016-02-07 18:01:10 +07:00
  • 735ec3df74 Rename openpgp apis: signCleartext --> sign, verifyCleartext --> verify Tankred Hase 2016-02-07 17:36:48 +07:00
  • f3ae671a57 Fix @fileoverview comment in hkp module Tankred Hase 2016-02-07 08:15:33 +07:00
  • 4aaa1d3184 Update copyright notice due to complete rewrite of src/openpgp.js Tankred Hase 2016-02-07 08:08:47 +07:00
  • 2ad425294c Second draft of public api Tankred Hase 2016-02-06 22:56:56 +07:00
  • 0f8bfe2dca Rename keys to publicKeys in message.encrypt() Tankred Hase 2016-02-06 22:55:05 +07:00
  • 31df9c07da Allow either privateKey, session key or password for message.decrypt() Tankred Hase 2016-02-06 21:15:35 +07:00
  • 83fcbaa633 Decode utf8 text only for correct format in Literal.getText() Tankred Hase 2016-02-06 21:00:38 +07:00
  • 2754bfef54 Cleanup public api Tankred Hase 2016-02-06 19:15:26 +07:00
  • 8777289b77 Cleanup config Tankred Hase 2016-02-06 19:11:58 +07:00
  • 8d82a18c19 Fix bug in message.decryptSessionKey where it would return this (msg obj) Cleanup message code Tankred Hase 2016-02-06 14:56:10 +07:00
  • 55110c3409 Remove sessionKeyAlgorithm parameter from message.decrypt() See: 2010456a19 (commitcomment-12397926) Tankred Hase 2016-02-06 14:33:10 +07:00
  • c4bc9b2fe0 Use global this in src/worker/worker.js and add to linting Tankred Hase 2016-02-06 14:28:05 +07:00
  • d40c3e81d9 Cleanup code of src/packet/literal.js Tankred Hase 2016-02-06 14:22:19 +07:00
  • 9da63d56b3 Cleanup style inconsistencies in cfb.js and random.js Tankred Hase 2016-02-06 13:36:19 +07:00
  • 1997e445f9 Use ES6 destructuring and default parameters in public api Tankred Hase 2016-02-05 17:23:17 +07:00
  • c75a39e9b8 Remove 'self' from .jshintrc Tankred Hase 2016-02-05 17:09:22 +07:00
  • f87d8d0433 Fix parsing packets from tag in web worker Tankred Hase 2016-02-05 15:39:11 +07:00
  • 8728db2b08 Finish refactoring src/**/*.js to use import & export Tankred Hase 2016-02-05 15:19:49 +07:00
  • 70ac662073 Refactor src/packet/*.js to use import & export Tankred Hase 2016-02-05 14:44:22 +07:00
  • 9ebe31a4ec Refactor src/worker/*.js to use import and export Tankred Hase 2016-02-05 13:20:05 +07:00
  • 444128829a Refactor src/keyring/*.js to use import & export Tankred Hase 2016-02-05 13:16:42 +07:00
  • acabca9585 Fix config path in hkp.js Tankred Hase 2016-02-05 12:45:15 +07:00
  • 1157cd2ac8 Move src/hkp/hkp.js -> src/hkp.js Tankred Hase 2016-02-05 12:43:59 +07:00
  • 8559cd2bff Refactor src/encoding/*.js and src/hkp/*.js to use import Tankred Hase 2016-02-05 12:40:30 +07:00
  • 509d6c67ee Refactor src/type/*.js to use import Tankred Hase 2016-02-05 10:37:15 +07:00
  • dea42df209 Refactor src/crypto/**/*.js to use import & export Tankred Hase 2016-02-05 10:36:09 +07:00
  • 3aed324d51 Refactor src/crypto/hash/*.js to use import & export Tankred Hase 2016-02-05 09:30:24 +07:00
  • 19a97bf117 Refactor src/crypto/cipher/*.js to use import & export Tankred Hase 2016-01-23 18:41:49 +07:00
  • 60b23169ac Refactor src/config/*.js to use import Tankred Hase 2016-01-23 18:34:59 +07:00
  • f06e5aea55 Refactor src/*.js to use import Tankred Hase 2016-02-05 01:03:46 +07:00
  • 185d575ba3 Refactor src/index.js to re-export ES6 module Tankred Hase 2016-01-21 17:46:04 +07:00
  • 8d383a1b7c Update npm dependencies and shrinkwrap Tankred Hase 2016-02-05 00:52:18 +07:00
  • 01b0cd8387 Enable ES6 support by using babelify transform in browserify build * Add babelify as dev dependency * Add babelify transform to browserify build * Enable es6 support for jshint * Ignore minified js files in babel transform Tankred Hase 2016-01-21 17:37:22 +07:00
  • d725abd5b6 Remove debuggind comments from util Tankred Hase 2016-02-04 22:06:48 +07:00