Jacob Heun
1f9c2ddadb
chore: update contributors
2019-10-25 13:56:53 +02:00
Jacob Heun
d6d06a8404
chore: remove commitlint
...
chore: update deps
chore: add bundlesize to ci
2019-10-25 13:51:00 +02:00
Maciej Krüger
8b8d0c1510
fix: jwk var naming
2019-10-25 13:51:00 +02:00
Maciej Krüger
b998f63aec
feat: use forge to convert jwk2forge
2019-10-25 13:51:00 +02:00
Maciej Krüger
adc6eb478c
test: add interop test
2019-10-25 13:51:00 +02:00
Maciej Krüger
2c1bac5ce9
fix: padding error
2019-10-25 13:51:00 +02:00
Maciej Krüger
027a5a9332
fix: use direct buffers instead of converting to hex
2019-10-25 13:51:00 +02:00
Maciej Krüger
2c294b56ab
fix: lint
2019-10-25 13:51:00 +02:00
Maciej Krüger
487cd076fb
refactor: cleanup
2019-10-25 13:51:00 +02:00
Maciej Krüger
b8e2414420
fix: browser rsa enc/dec
2019-10-25 13:51:00 +02:00
Maciej Krüger
9f747a173f
feat: browser enc/dec
2019-10-25 13:51:00 +02:00
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
Jacob Heun
a521cd9b11
chore: release version v0.4.0
2019-07-10 11:45:02 +01:00
Jacob Heun
ed670209ad
chore: update contributors
2019-07-10 11:45:02 +01:00
Alex Potsides
1974eb92be
feat: use async await ( #18 )
...
BREAKING CHANGE: Callback support has been dropped in favor of async/await.
* feat: use async/await
This PR changes this module to remove callbacks and use async/await. The API is unchanged aside from the obvious removal of the `callback` parameter.
refs https://github.com/ipfs/js-ipfs/issues/1670
* fix: use latest multihashing-async as it is all promises now
2019-07-10 11:35:58 +01:00
Jacob Heun
fbd42385e3
chore: release version v0.3.1
2019-07-10 10:05:54 +01:00
Jacob Heun
9f01868c6c
chore: update contributors
2019-07-10 10:05:53 +01:00
Arve Knudsen
3bb84514d1
fix(unmarshal): provide only one arg to callback ( #17 )
2019-07-10 09:56:11 +01:00
Arve Knudsen
5cd0e8cc1a
fix: fix links in README ( #148 )
2019-07-04 14:31:43 +02:00
Vasco Santos
3f131d4a0a
chore: add discourse badge ( #15 )
2019-04-18 19:30:06 +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
dignifiedquire
ce22cf13f0
chore: release version v0.3.0
2019-02-20 13:29:17 +01:00
dignifiedquire
5fc391c8e0
chore: update contributors
2019-02-20 13:29:17 +01:00
dignifiedquire
53a2b590a9
chore(dev-deps): update libp2p-crypto
2019-02-20 13:28:46 +01:00
Alberto Elias
f4dbd62e49
feat: add id()
method to Secp256k1PrivateKey
...
Feature parity with ed25519 and rsa
2019-02-20 13:23:05 +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
3a8bab9f44
chore: release version v0.2.3
2019-01-08 16:44:54 +01:00
David Dias
c983edfdb9
chore: update contributors
2019-01-08 16:44:54 +01:00
David Dias
6c9928abd6
chore: update deps
2019-01-08 16:43:36 +01:00