Tankred Hase
d725abd5b6
Remove debuggind comments from util
2016-02-04 22:06:48 +07:00
Tankred Hase
bcfc8ef7f7
Use npm published asmcrypto-lite module
2016-02-04 21:47:40 +07:00
Tankred Hase
3bf421206b
Further cleanup of sym_encrypted_integrity_protected.js
2016-02-04 16:41:40 +07:00
Tankred Hase
261db8035d
Remove redundant message.symEncrypt/symDecrypt
2016-02-04 16:41:39 +07:00
Tankred Hase
c840fabc7d
Further cleanup of hash module
2016-02-04 16:41:39 +07:00
Tankred Hase
d67efe22eb
Only log errors when config.debug is true
2016-02-04 16:41:38 +07:00
Tankred Hase
316a37a1cd
Cleanup hash index.js
2016-02-04 16:41:38 +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
b8f353abe8
Include rusha via npm
2016-02-04 10:05:19 +07:00
Tankred Hase
cfe058596f
Include asmCrypto via npm
2016-02-04 09:42:49 +07:00
Tankred Hase
90a7457b71
Refactor most src files to strict mode, delint
2016-02-04 00:37:00 +07:00
Tankred Hase
346aa8f11a
Cleanup node.js api detection
2016-02-03 20:24:54 +07:00
Tankred Hase
2f74acc94f
Cleanup src/crypto/index.js
2016-02-03 20:24:54 +07:00
Tankred Hase
68d298c948
Fix node.js detection
2016-02-03 20:24:54 +07:00
Tankred Hase
00ea3918c5
Cleanup and linting on all *.js
2016-02-03 20:24:54 +07:00
Tankred Hase
4d325ca65c
Cleanup RSA and util code
2016-02-03 20:24:54 +07:00
Tankred Hase
55bd9757e7
Refactor config.useWebCrypto to config.useNative
2016-02-03 20:24:54 +07:00
Bart Butler
469a6be31a
Rebase for upload to main openpgpjs repo
2016-02-03 20:24:54 +07:00
Bart Butler
f56b6887d9
native crypto and hash for nodeJS
2016-02-03 20:24:54 +07:00
Bart Butler
4c82568fad
hash performance fix
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
Bart Butler
11038dd946
Add Rusha for fast SHA hashes
2016-02-03 20:24:54 +07:00
Bart Butler
5711028449
does not pass tests yet
2016-02-03 20:24:54 +07:00
Bart Butler
1c6e777a3d
bugfixes
2016-02-03 20:24:54 +07:00
Bart Butler
b4916e29a3
binary strings to typed arrays in most places
2016-02-03 20:24:54 +07:00
Bart Butler
b310877c7d
fixes
2016-02-03 20:24:54 +07:00
Bart Butler
11a8a99aef
add filename to return object when decrypting binary file
2016-02-03 20:24:54 +07:00
Bart Butler
60fb6ba18d
direct session key manipulation and encryption/decryption
2016-02-03 20:24:54 +07:00
Bart Butler
91d35ff99c
initial modifications
2016-02-03 20:24:54 +07:00
Bart Butler
2e4e9387a0
Fixes for symmetrically encrypted session keys
2016-02-03 20:24:54 +07:00
Tankred Hase
f240feac4b
Always polyfill ES6 Promises
...
Go back to v1.0.0 for Promise polyfill
Add node v5.x to travis build
2016-01-30 16:02:59 +07:00
Tankred Hase
dec7881f93
Don't inject fetch polyfill in hkp module anymore
2016-01-29 20:03:11 +07:00
Tankred Hase
bc5eb03ccd
Add var declaration to des.js and use strict mode
2016-01-24 19:55:20 +07:00
evilaliv3
1f995bea22
Fix scope of variables used by des_createKeys in src/crypto/cipher/des.js
2016-01-18 11:58:43 +01:00
evilaliv3
a730d3f7ad
Replace check for detecting that an object is a promise
2016-01-07 18:28:40 +01:00
Thomas Oberndörfer
a968f60f0b
Keyring: support plain email addresses (without name) as user IDs.
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
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
450fddaf8e
Call encodeURIComponent on hkp query parameters
2015-12-19 15:23:00 +07:00
Tankred Hase
bcde9bfa1a
Add HKP lookup example to README
2015-12-12 10:39:38 +07:00
Tankred Hase
6634abf326
Add basic HKP lookup and upload support
2015-12-11 13:12:34 +07:00
Thomas Oberndörfer
668a9bbe70
Throw exception on unsupported S2K type.
2015-10-03 15:57:03 +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