Commit Graph

93 Commits

Author SHA1 Message Date
Daniel Huigens
6c2fec3450 Parse user IDs
Also, support comments when creating user IDs
2018-05-01 13:39:23 +02:00
Daniel Huigens
48cbb97d19 Bump Sauce Labs timeout 2018-04-30 16:58:33 +02:00
Mahrud Sayrafi
08da24de27
documentation fixes 2018-03-08 10:55:58 -08:00
Bart Butler
f57888fe55 change all calls of getRandomBytes and getRandomBN to be async 2018-03-05 16:31:56 -08:00
Mahrud Sayrafi
5e857e131e
Bugfix in Native ECC in Node 2018-03-01 01:28:03 -08:00
Mahrud Sayrafi
9275119dbc
Enables JSDoc Markdown Plugin 2018-02-28 14:13:44 -08:00
Bart Butler
8c4fa07dd5
babelify asmcrypto.js 2018-02-22 00:37:43 -08:00
Mahrud Sayrafi
ed4cef102a
This branch uses the current version of asmcrypto.js 2018-02-22 00:37:41 -08:00
Bart Butler
ce71c3d2ef try raising max-duration for saucelabs test 2018-02-16 18:00:42 -08:00
Bart Butler
c8adaff826 change JS zlib to pako, use Node zlib if available 2018-02-14 14:21:53 -08:00
mmso
8808fdb8ed
Fix #607 - Add support for bzip2 de/compression 2018-02-14 14:14:07 +01:00
Bart Butler
8dd27722a3 unify hash libraries 2018-02-13 22:29:57 -08:00
BafS
de6ffc2f76 Remove 'user strict'
'use strict' is unnecessary inside modules because module code is always strict mode code. Ref: https://www.ecma-international.org/ecma-262/6.0/#sec-strict-mode-code
2018-02-13 23:33:09 +01:00
Bart Butler
bf8b4e940c fix browsers 2018-02-08 16:33:53 -08:00
Bart Butler
89f86d83d5 fix obsolete browser tests, add some polyfills 2018-02-05 22:17:41 -08:00
Bart Butler
d6cc82027e add extendedDebugging correctly 2018-02-05 15:46:18 -08:00
Bart Butler
0b198b5b08 add extendedDebugging to saucelabs tests 2018-02-05 15:03:01 -08:00
Bart Butler
9e6005ee39 auto-scroll browser unit tests 2018-02-01 10:34:48 -08:00
Bart Butler
40a8c54342 exclude jwk-to-pem 2018-01-31 19:38:07 -08:00
Bart Butler
76d7fac967 eliminate openpgp_browser.js 2018-01-31 19:27:00 -08:00
Mahrud Sayrafi
a4134b9f55
Addresses various review comments by @bartbutler + some cleanups 2018-01-31 17:52:38 -08:00
Mahrud Sayrafi
3129e7c4e3 Adds X25519 tests and updates README.md 2018-01-30 18:35:29 +01:00
Mahrud Sayrafi
dcff16d32b npm test and grunt browsertest can run side by side now; npm tests pass, browser stuck on problem related to asn1.js 2018-01-30 18:34:07 +01:00
Mahrud Sayrafi
11a2d0070b ESLint is happy! 2018-01-30 18:31:30 +01:00
Mahrud Sayrafi
370a15e2a1 Remove jshint/jscs and fix babelify
(cherry picked from commit e4b810fe412bd5e383507668ef2d60320c31b1ca)
2018-01-30 18:31:18 +01:00
Mahrud Sayrafi
6886cd648a elliptic/curves.js uses native code for genkey and sign/verify; sign/verify use async/await 2018-01-30 18:31:07 +01:00
Ismael Bejarano
a8e8271185 Support functions for Elliptic Curve Cryptography 2018-01-30 18:30:13 +01:00
Giovanni Pellerano
31d381fb27 Update npm dependencies and shrinkwrap 2017-12-01 21:20:17 +01:00
Bart Butler
6abf7ffcc0 Fix rare race condition with webworker tasks, fix minified web worker filename default 2016-10-26 16:56:21 -07:00
Unknown
9086c6e4f0 Add plugin to derequire browserifyed dist files. 2016-10-18 21:20:13 +02:00
Giovanni Pellerano
a79e2fd787 Update jscs configuration that do not accept in the configuration redundant variables set to the default 2016-06-26 11:36:24 +02:00
Tankred Hase
3aecb46f72 Add grunt connect:dev job 2016-02-18 11:31:02 +07:00
Tankred Hase
8a0f6f9bfd Cleanup uglify banner 2016-02-15 14:03:41 +07:00
Tankred Hase
a44e1e5024 Write tests for new api: openpgp.generateKey 2016-02-08 19:32:42 +07:00
Tankred Hase
33d8d0fd11 Add grunt watch task 2016-02-08 14:23:50 +07:00
Tankred Hase
c4bc9b2fe0 Use global this in src/worker/worker.js and add to linting 2016-02-06 14:28:05 +07:00
Tankred Hase
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
2016-02-05 00:47:07 +07:00
Tankred Hase
642f754169 Add more files to linting, make strict mode optional for each file 2016-02-04 16:41:37 +07:00
Tankred Hase
cfe058596f Include asmCrypto via npm 2016-02-04 09:42:49 +07:00
Tankred Hase
edd51d6052 Ignore buffer node module in test bundle 2016-02-04 00:39:17 +07:00
Tankred Hase
90a7457b71 Refactor most src files to strict mode, delint 2016-02-04 00:37:00 +07:00
Tankred Hase
00ea3918c5 Cleanup and linting on all *.js 2016-02-03 20:24:54 +07:00
Bart Butler
88a7534b8a Add asmCrypto, native node crypto calls for faster AES 2016-02-03 20:24:54 +07:00
evilaliv3
15da6c14da Replace coveralls with codeclimate coverage by means of codeclimate-test-reporter 2016-02-01 14:44:51 +07:00
Tankred Hase
5f55c7ab20 Add linting to grunt test job
* Add grunt-jscs and .jscsrc (lint trailing whitespaces and indentation length)
* Cleanup .jshintrc (use globals instead of deprecated predefs)
* Add Gruntfile.js and *.json linting to npm test

N.B. This does not lint the whole src/ directory during grunt test but
this should definitely be our goal. Please try to de-lint any js files
you touch during development using a texteditor that support linting
(Sublime Text 3 and SublimeLinter 3 with jshint/jscs plugins work great)
2016-01-31 07:32:13 +07:00
Tankred Hase
3730289b55 Fix shrinkwrap for use on node v4.2 LTS
* Remove fsevents as optional dependency in package.json
* Update npm dependencies and shrinkwrap
2016-01-31 07:17:08 +07:00
Tankred Hase
5f8899a207 Create seperate update_dep.sh script to avoid up 2016-01-30 18:44:17 +07:00
Tankred Hase
b62c2ff31f Fix shrinkwrap by removing fsevents and making it an optional dependency 2016-01-30 01:25:37 +07:00
Tankred Hase
dec7881f93 Don't inject fetch polyfill in hkp module anymore 2016-01-29 20:03:11 +07:00
Tankred Hase
b8fad5aba5 Revert "Enable ES6 support by using babelify transform in browserify build" 2016-01-26 20:53:34 +07:00