Commit Graph

662 Commits

Author SHA1 Message Date
evilaliv3
ff8d410bbf Cleanup README.md badges 2016-01-09 01:22:28 +01:00
evilaliv3
79034f8dde Change port used for testing to 3000 cause of safari issues in using 9000 2016-01-09 01:22:28 +01:00
evilaliv3
954540ff22 Implement custom travis_wait in order to have command output still printed on the command line 2016-01-09 01:22:28 +01:00
evilaliv3
dc6f91971f Add travis_wait to grunt saucelabs in order to deal with the long long long firefox execution 2016-01-09 01:22:28 +01:00
evilaliv3
ec2a3990ff Fix order of logFailure definition and its usage in unittests.html 2016-01-09 01:22:28 +01:00
evilaliv3
e2e72e8de4 Set node_js 0.12 in place of 0.12.2 in .travis.yml 2016-01-09 01:22:28 +01:00
evilaliv3
5a28ada5ee Add license to package.json and correct bower.json 2016-01-09 01:22:28 +01:00
evilaliv3
b526d16aeb Update dev dependencies to latest versions 2016-01-09 01:22:24 +01:00
evilaliv3
a730d3f7ad Replace check for detecting that an object is a promise 2016-01-07 18:28:40 +01:00
evilaliv3
1a4a75501a Raise unittests.html mocha.timeout to 240000 as for other timeouts 2016-01-07 15:35:47 +01:00
Thomas Oberndörfer
a968f60f0b Keyring: support plain email addresses (without name) as user IDs. 2016-01-07 15:35:47 +01:00
ReadmeCritic
ade3a35f42 Update README URLs based on HTTP redirects 2016-01-07 15:35:47 +01:00
Nick Doiron
ef566b6a3c Specify a filename in encrypt fromBinary [Closes #284] 2016-01-07 15:35:47 +01:00
Thomas Oberndörfer
6f8a3abdfa Support multiple user IDs for key generation 2016-01-07 15:35:47 +01:00
Matthew Shaylor
37ce176d42 If you attempt to store an empty keylist then delete the storage key 2016-01-07 15:35:47 +01:00
Artem Chudinov
068d38d832 Use RegExp.prototype.test instead of String.prototype.match where it is OK
There is no sense in using String.prototype.match if the retrieved matched results
are not used.

By the way, if a bit of performance (especially RAM usage) is preferred over
unification, then, obviously, conditions like
if (/SIGNED MESSAGE/.test(header[1])) {
can be changed to
if (header[1].indexOf('SIGNED MESSAGE') !== -1) {
2016-01-07 15:35:47 +01:00
Artem Chudinov
30926e4738 message.js: Don't use variable signingKeyPacket out of scope 2016-01-07 15:35:47 +01:00
Artem Chudinov
3e2f34ac62 Add missing semicolons 2016-01-07 15:35:47 +01:00
Thomas Oberndörfer
d0297e1b81 Test cases for MDC error 2016-01-07 15:35:47 +01:00
Thomas Oberndörfer
2ee347154c Symmetrically encrypted packet: raise error if MDC is missing for modern cipher. 2016-01-07 15:35:47 +01:00
evilaliv3
9589fa0b52 Apply mixed code review thanks to webstorm inspector 2016-01-07 14:46:55 +01:00
Tankred Hase
85efb463cf Check http status when uploading key 2015-12-27 16:27:55 +07:00
Tankred Hase
2fe10749a1 Release new version 2015-12-19 15:25:50 +07:00
Tankred Hase
450fddaf8e Call encodeURIComponent on hkp query parameters 2015-12-19 15:23:00 +07:00
evilaliv3
b60bea547b Re-add node_js 4.2 (LTS) under unit testing but marked with allow_failures flag 2015-12-12 10:00:14 +01:00
Tankred Hase
e159fd77b4 Add example for key upload to readme 2015-12-12 12:17:08 +07:00
Tankred Hase
5b937a6712 Release new version 2015-12-12 10:57:23 +07:00
Tankred Hase
bcde9bfa1a Add HKP lookup example to README 2015-12-12 10:39:38 +07:00
Tankred Hase
f46696a915 Remove node v4.2 from travis build
I decided to remove node v4.2 from the travis build. It turns out it's too slow and break the build more often than it actually provides value.
2015-12-11 16:41:57 +07:00
Tankred Hase
6634abf326 Add basic HKP lookup and upload support 2015-12-11 13:12:34 +07:00
evilaliv3
2d262d8095 Add node_modules directory to travisCI cache 2015-12-07 01:26:40 +01:00
evilaliv3
8b2c66eeb2 Properly set the BUILD_ID in grunt saucelabs script 2015-12-02 14:47:24 +01:00
evilaliv3
727cb9f237 Fix allow_failures usage in .travis.yml 2015-11-30 17:35:41 +01:00
evilaliv3
ff086355dd Fix syntax error in travis.sh 2015-11-30 15:17:33 +01:00
Mithgol
0e8cedae46 put sudo: false in .travis.yml 2015-11-30 15:12:31 +01:00
evilaliv3
831c0a14d5 Allow travisCI to fast_finish the build result as soon as unit tests are completed 2015-11-30 02:24:42 +01:00
evilaliv3
46d2b6e66d Reduce duration unit testing implementing their parallelization
Starting from two pull requests by @tanx and @Mithgol this commit implement the following:
- add testing of node version 4.2 LTS;
- move testing to the new TravisCI environment that is expected to be more fast;
- parallelize tests making possible to end first and to test more lasting less;
- make possible for browsertests to fail without impacting on the overall result.
2015-11-30 02:13:39 +01:00
evilaliv3
e02bc7c2f5 Update README.md with openpgpjs repository badges 2015-11-28 18:49:47 +01:00
evilaliv3
641f4c8098 Improve unit testing by means of Coveralls and Saucelabs 2015-11-28 12:53:03 +01:00
Thomas Oberndörfer
0958a9ec02 Release new version 2015-10-05 09:35:19 +02:00
Thomas Oberndörfer
668a9bbe70 Throw exception on unsupported S2K type. 2015-10-03 15:57:03 +02:00
Alex
c266c01b80 Merge pull request #354 from gmontalvoriv/master
added mailock project link
2015-09-23 09:47:26 +02:00
Gabriel Montalvo
2e10231d09 added mailock project link 2015-09-22 19:22:22 -04:00
Giovanni Pellerano
42554146e3 Merge pull request #347 from arzeth/master
Fix running in Node.js (and io.js) with enforced strict mode
2015-08-19 21:17:08 +02:00
Artem Chudinov
9de55b49f3 s2k.js,async_proxy.js: Initialize variable data properly
It fixes error when running the example code (in Node.js with enforced strict
mode) from README.md:

[ReferenceError: data is not defined]
Error: Error generating keypair using js fallback!
    at /tmp/fff/node_modules/openpgp/src/openpgp.js:266:13
    at process._tickDomainCallback (node.js:399:9)
2015-08-19 22:32:06 +05:00
Artem Chudinov
1ee96a3f40 md5.js: Remove an unused variable to support enforced strict mode
The problem was:
arzeth /tmp/test % npm install openpgp
openpgp@1.2.0 node_modules/openpgp
├── node-localstorage@0.3.6
├── es6-promise@1.0.0
└── zlibjs@0.2.0

arzeth /tmp/test % node --version
v3.0.0

arzeth /tmp/test % node
> var openpgp = require('openpgp');
undefined
>

arzeth /tmp/test % node --use_strict
> var openpgp = require('openpgp');
ReferenceError: txt is not defined
    at md51 (/tmp/test/node_modules/openpgp/src/crypto/hash/md5.js:135:7)
    at md5 (/tmp/test/node_modules/openpgp/src/crypto/hash/md5.js:198:14)
    at Object.<anonymous> (/tmp/test/node_modules/openpgp/src/crypto/hash/md5.js:211:5)
    at Module._compile (module.js:430:26)
    at Object.Module._extensions..js (module.js:448:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/tmp/test/node_modules/openpgp/src/crypto/hash/index.js:10:8)
2015-08-19 22:15:21 +05:00
Tankred Hase
6faa98fab8 Add remark about security audits 2015-07-27 11:48:58 +02:00
Tankred Hase
e2e04b04ea Release new version 2015-06-12 16:41:00 +02:00
Tankred Hase
58cac452db Merge pull request #329 from 1and1/master
Optimized memory footprint for encrypting and decrypting
2015-06-11 10:18:55 +02:00
Peter Breitling
07e4278a3a Optimized memory footprint for encrypting and decrypting 2015-06-10 21:12:55 +02:00