Maciej Krüger
34c5f5c8f0
feat: add (rsa)pubKey.encrypt and (rsa)privKey.decrypt
...
nodeJS only for now
2019-10-25 13:51:00 +02:00
Jacob Heun
a008bc2fcb
chore: update lead maintainer ( #159 )
2019-09-26 12:51:16 +02:00
Friedel Ziegelmayer
b68060388f
Merge pull request #157 from libp2p/fix/better-err-missing-webcrypto
...
fix: better error for missing web crypto
2019-08-13 15:28:33 +02:00
Alan Shaw
afe94ded6b
docs: problem resolution
2019-07-22 11:21:24 +01:00
Alan Shaw
a5e05603ef
fix: better error for missing web crypto
...
This PR simply detects missing web crypto and throws an error with an appropriate message.
This is a stepping stone that will help users understand the problem until we have time to do a refactor of this module and of all the modules that use it to enable optionally passing your own crypto implementation.
refs https://github.com/libp2p/js-libp2p-crypto/pull/149
refs https://github.com/libp2p/js-libp2p-crypto/pull/150
refs https://github.com/libp2p/js-libp2p-crypto/issues/105
refs https://github.com/ipfs/js-ipfs/issues/2153
refs https://github.com/ipfs/js-ipfs/issues/2017
License: MIT
Signed-off-by: Alan Shaw <alan@tableflip.io>
2019-07-22 11:21:22 +01:00
dirkmc
0b686d363c
chore: add error codes ( #155 )
...
* chore: add error codes
* chore: create errors with new Error()
* fix: better error testin
* refactor: simplify random bytes error checks
2019-07-22 11:16:02 +01:00
dignifiedquire
2d15e717e4
chore: release version v0.17.0
v0.17.0
2019-07-11 15:23:54 +02:00
dignifiedquire
6775dbf670
chore: update contributors
2019-07-11 15:23:54 +02:00
Friedel Ziegelmayer
4b09aae8ca
fix(deps): update to ursa-optiona@0.10 ( #156 )
...
fix(deps): update to ursa-optiona@0.10
2019-07-11 15:22:40 +02:00
dignifiedquire
764d8bff3e
chore(ci): run on node@12
2019-07-11 15:05:24 +02:00
dignifiedquire
26b6217041
fix(deps): update to ursa-optiona@0.10
...
This brings compatiability with node@12 for the native dependency
2019-07-11 15:04:08 +02:00
Arve Knudsen
5500ac4a6e
test: upgrade libp2p-crypto-secp256k1; ensure secp256k1 is tested ( #151 )
2019-07-10 23:32:51 +01:00
dirkmc
d675670ed9
fix: put optional args last for key export ( #154 )
...
BREAKING CHANGE: key export arguments are now swapped so that the optional format is last
2019-07-10 18:03:34 +01:00
Alan Shaw
ad7107233e
feat: refactor to use async/await ( #131 )
...
BREAKING CHANGE: API refactored to use async/await
feat: WIP use async await
fix: passing tests
chore: update travis node.js versions
fix: skip ursa optional tests on windows
fix: benchmarks
docs: update docs
fix: remove broken and intested private key decrypt
chore: update deps
2019-07-10 17:15:26 +01:00
Arve Knudsen
5cd0e8cc1a
fix: fix links in README ( #148 )
2019-07-04 14:31:43 +02:00
Vasco Santos
0ffe31821a
chore: add discourse badge ( #147 )
2019-04-18 19:29:45 +02:00
dignifiedquire
7b3625888c
chore: release version v0.16.1
v0.16.1
2019-02-26 09:28:41 +01:00
dignifiedquire
b7bce77ad5
chore: update contributors
2019-02-26 09:28:41 +01:00
Yusef Napora
c1f867bd9c
chore: update badges for consistency across libp2p org
2019-02-26 09:25:15 +01:00
Alberto Elias
e3f02eb6f1
chore: updates libp2p-crypto-secp256k1
2019-02-26 09:24:40 +01:00
Vasco Santos
a0874389a9
chore(ci): use travis
...
This PR changes Jenkins to travis for CI. In addition, 2 dependencies were missing in the `package.json` and the `dep-check` was not passing.
2019-02-20 20:57:36 +01:00
David Dias
567d68c855
chore: release version v0.16.0
v0.16.0
2019-01-08 21:33:49 +01:00
David Dias
af782c5906
chore: update contributors
2019-01-08 21:33:49 +01:00
David Dias
f0593c9e6d
chore: update deps
2019-01-08 21:33:02 +01:00
Hugo Dias
8d8294dc3f
fix: clean up, bundle size reduction
...
BREAKING CHANGE: getRandomValues method exported from src/keys/rsa-browser.js and src/keys/rsa.js signature has changed from accepting an array to a number for random byte length
2019-01-08 21:29:42 +01:00
David Dias
df23d634c5
chore: release version v0.15.0
v0.15.0
2019-01-03 16:15:45 +00:00
David Dias
88e1bcf75f
chore: update contributors
2019-01-03 16:15:45 +00:00
Jacob Heun
c54ea206f0
feat: nextTick instead of setImmediate, and fix sync in async ( #136 )
...
* fix: avoid sync callback in async function
* chore: fix linting
* chore: remove non jenkins ci
* refactor: use nextTick over setImmediate
* refactor: async/nextTick for better browser support
2019-01-03 16:13:07 +00:00
David Dias
857d2bd902
chore: release version v0.14.1
v0.14.1
2018-11-05 18:29:00 +00:00
David Dias
200110cb9d
chore: update contributors
2018-11-05 18:29:00 +00:00
Jacob Heun
9e5778694c
fix: dont setimmediate when its not needed
2018-11-05 19:26:45 +01:00
Jacob Heun
87e8f1c86f
chore: remove lint warnings
2018-11-05 19:26:45 +01:00
Jacob Heun
df75980a88
chore: update deps
2018-11-05 19:26:45 +01:00
David Dias
934390acd3
chore: release version v0.14.0
v0.14.0
2018-09-17 15:35:20 -07:00
David Dias
8b80b46667
chore: update contributors
2018-09-17 15:35:20 -07:00
David Dias
e8efad546f
chore: update deps
2018-09-17 15:33:43 -07:00
Maciej Krüger
e8cbf13d85
fix(lint): use ~ for ursa-optional version
2018-09-17 15:32:13 -07:00
Maciej Krüger
c7e0409c1c
fix: windows build
2018-09-17 15:32:13 -07:00
Maciej Krüger
f4c00893ad
test: add test for different rsa crypto libs
2018-09-17 15:32:13 -07:00
Maciej Krüger
b05e77f375
feat: use ursa-optional for lightning fast key generation
...
The difference between ursa and ursa-optional is that ursa-optional does not cause any problems if it fails to compile
2018-09-17 15:32:13 -07:00
Joao Santos
ad478454d8
docs: adds usage examples to AES and HMAC
2018-05-29 14:23:29 +01:00
David Dias
8c69ffb20f
docs: Lead maintainer ( #119 )
...
* add lead maintainer
* chore: update deps
* Update package.json
2018-05-29 14:22:48 +01:00
David Dias
e689a402a3
chore: release version v0.13.0
v0.13.0
2018-04-05 17:32:18 +01:00
David Dias
4bd032a6ae
chore: update contributors
2018-04-05 17:32:18 +01:00
David Dias
50c61ba46e
chore: update deps
2018-04-05 17:30:34 +01:00
David Dias
3a90f70350
chore: release version v0.12.1
v0.12.1
2018-02-12 09:27:25 +00:00
David Dias
743c69524c
chore: update contributors
2018-02-12 09:27:24 +00:00
David Dias
1a347fa04c
chore: update deps
2018-02-12 09:25:50 +00:00
David Dias
71339e08e7
chore: release version v0.12.0
v0.12.0
2018-01-27 10:55:54 -08:00
David Dias
0ab2c2d2d6
chore: update contributors
2018-01-27 10:55:54 -08:00