Commit Graph

559 Commits

Author SHA1 Message Date
Andreas Fischer
b00ce34e90 Typo: Unknow -> Unknown 2014-11-17 12:31:04 +01:00
Tankred Hase
9aca150fca Merge pull request #265 from yoshuawuyts/patch-1
readme: add syntax highlighting
2014-11-09 12:15:32 +01:00
Yoshua Wuyts
5ca1801208 readme: add syntax highlighting
This PR adds syntax highlighting to the readme. Thanks!
2014-11-09 09:51:07 +01:00
Tankred Hase
eedb722d7b Fall back to js crypto in case native RSA keygen fails 2014-10-29 18:17:03 +01:00
Tankred Hase
d38fc07578 Fix promise documentation 2014-10-28 10:46:49 +01:00
Tankred Hase
2a01399cb3 Update documentation to make returned promises clearer 2014-10-28 10:38:11 +01:00
Tankred Hase
f4682599be Return correct promise in error case 2014-10-20 18:30:26 +02:00
Tankred Hase
e62f8c83f8 Bump dev version 2014-10-20 17:46:52 +02:00
Tankred Hase
2362cce642 Merge pull request #259 from openpgpjs/promises
Refactor public api to use ES6 Promises
2014-10-20 16:12:13 +02:00
Tankred Hase
e3b6903eb1 Use global error catch 2014-10-20 16:10:09 +02:00
Tankred Hase
628663caac Upgrade license to LGPL version 3.0 or later. 2014-10-11 11:11:12 +02:00
Tankred Hase
39e1e145e4 Add es6-promise polyfill to build step so users don't have to. 2014-10-02 10:55:27 +02:00
Tankred Hase
562831d6dc Merge pull request #245 from inovari/master
Bugfix in packet_length calculation
2014-10-02 00:24:23 +02:00
Tankred Hase
4cd664a919 Fix tests on travis ci. 2014-10-02 00:02:56 +02:00
Tankred Hase
2ca369a3f2 Upadte readme to error handling 2014-10-01 22:32:34 +02:00
Tankred Hase
bf1cb6d521 Add high level error messages to public api. 2014-10-01 22:20:28 +02:00
Tankred Hase
bdbd7819f4 Fix phantom.js web worker tests that use promises 2014-10-01 21:55:50 +02:00
Tankred Hase
d5a0e18d13 Update README with documentation on promises. 2014-10-01 21:32:23 +02:00
Tankred Hase
f08fc0a4f7 Refactor web worker async proxy to use promises. 2014-10-01 21:18:05 +02:00
Tankred Hase
7f2573c77d Refactor complete public api to use promises 2014-10-01 19:12:39 +02:00
Tankred Hase
0ac58356b5 Refactor keygen to use promises (Work in progress) 2014-10-01 13:13:09 +02:00
Tankred Hase
5d07ee1eb1 Add documentation to getWebCrypto 2014-10-01 11:23:34 +02:00
Tankred Hase
72cb1cfc49 Make WebCrypto optional with config.useWebCrypto 2014-10-01 11:17:48 +02:00
Tankred Hase
e6f66b9039 Cleanup promise error handling 2014-10-01 08:40:26 +02:00
Tankred Hase
0af12b81a3 Fix typo 2014-10-01 07:40:02 +02:00
Tankred Hase
7c2cf89589 Fix decoding of JWK. Webcrypto works. 2014-09-30 21:57:46 +02:00
Tankred Hase
85d2199971 Activate web crypto api (still fails tests)
* Remove api support for safari
* Fix error handling
2014-09-30 19:31:12 +02:00
Tankred Hase
cbe4a17ccb Refactor key generation to use callback
* TODO: reactive native web crypto in rsa.js:142
* TODO: generate publicExponent Uint8Array from argument E in rsa.js:148
* TODO: signing with generated web crypto key fails with "Could not find valid key packet for signing in key"
2014-09-30 18:22:17 +02:00
Thomas Oberndörfer
d6963f2017 map JWK parameters to local BigInteger 2014-09-30 18:20:26 +02:00
Tankred Hase
15edf09972 Add RSA keygen example using WebCrypto Api 2014-09-30 18:20:26 +02:00
Tankred Hase
bbe174828f Upgrade license to LGPL version 3.0 or later. 2014-09-30 18:16:58 +02:00
Tankred Hase
6636d83aa9 Merge pull request #253 from toberndo/fix_getPrimaryUser
Fix sorting of primary users
2014-09-13 15:35:47 +02:00
Thomas Oberndörfer
dabd96e5df Merge pull request #252 from omeid/master
Add bower support.
2014-09-03 16:45:29 +02:00
Thomas Oberndörfer
069b97d16f Fix sorting of primary users 2014-09-03 14:38:31 +02:00
omeid
3779739a63 Add bower support 2014-09-02 01:26:25 +10:00
Tankred Hase
58322c299d Use svg in travis badge 2014-08-05 13:38:25 +02:00
Tankred Hase
42cf0e5bf6 Merge pull request #249 from adhintz/master
add grunt-cli to devDependencies
2014-08-05 12:20:55 +02:00
Drew Hintz
e13302e35e add grunt-cli to devDependencies by running npm install --save-dev grunt-cli 2014-08-05 07:35:20 +00:00
Tankred Hase
132bd054de bump version 2014-07-30 17:09:34 +02:00
Tankred Hase
7a0fa12dc6 Merge pull request #248 from openpgpjs/clearPrivateMPIs
Key generation: do not clear private MPIs for keys without passphrase.
2014-07-30 17:02:53 +02:00
Thomas Oberndörfer
060da64aab Key generation: do not clear private MPIs for keys without passphrase. 2014-07-30 16:36:01 +02:00
inovari
91ccbeed80 Bugfix in packet_length calculation
One of the bitshifts used to construct tmplen (lines 230-231) was inconsistent with the other expressions:

(input[mypos2++].charCodeAt() << 8)

causing following error:

TypeError: Cannot call method 'charCodeAt' of undefined
    at Object.module.exports.read (/home/scott/dev/keystone/fetch/node_modules/openpgp/src/packet/packet.js:231:16)

Corrected to 

(input.charCodeAt(mypos2++) << 8)
2014-07-16 15:37:06 -04:00
Tankred Hase
8a27866225 release version 2014-07-07 12:25:28 +02:00
Tankred Hase
e885fb1433 Use same signature array structure in verify for ClearSignedMessages as Message 2014-07-07 12:02:13 +02:00
Tankred Hase
571ed67624 Merge pull request #241 from openpgpjs/detached-signature
Implement content verification using detached signatures
2014-07-03 15:30:38 +02:00
Tankred Hase
de3ba18400 Implement content verification using detached signatures 2014-07-03 14:57:52 +02:00
Tankred Hase
74959b83b6 New release 2014-07-02 15:15:03 +02:00
Tankred Hase
f5f16b841e Merge pull request #239 from openpgpjs/empty-signatures
Iterate over signature not keys to allow empty signatures array in case ...
2014-07-02 15:14:15 +02:00
Tankred Hase
396199f631 Iterate over signature not keys to allow empty signatures array in case the message has no signatures. 2014-07-02 12:52:14 +02:00
Tankred Hase
5f24b461e7 bump version 2014-07-01 16:33:52 +02:00