Commit Graph

112 Commits

Author SHA1 Message Date
a9822c14d4
Change tests: update some samples for encryption, comment a test for bad R:
is probably not suitable for the encoded key.
2023-01-03 18:01:06 +02:00
37b79ccde1
Add additional functions:
encodePublic(publicKey), decodePublic(publicKey) used in
encrypt() and decrypt() respectively - to comply with the network.

Minor formatting change.
2023-01-03 18:00:44 +02:00
e868b2c34f
Update tests: reproduce the MAC failure. 2023-01-03 18:00:44 +02:00
b12015528a
Update tests: add hashes. 2023-01-03 18:00:44 +02:00
7946c2ff2e
Try to run the existing tests in buildbot,
docker-test.sh - is an alternative script to run locally.
2023-01-03 18:00:34 +02:00
Jordan Baczuk
a4f4a5f85e bump to 1.1.6 2021-03-17 14:18:13 -06:00
dependabot[bot]
3fdf60f032 Bump elliptic from 6.5.3 to 6.5.4
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-17 14:16:39 -06:00
Trent Larson
ba83828004 grammer fixes 2021-02-03 16:20:45 -07:00
Jordan Baczuk
a2fd85dc50 update packages with vulnerabilities 2020-08-05 08:35:35 -06:00
dependabot[bot]
53bde13131 Bump elliptic from 6.5.1 to 6.5.3
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.1 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.1...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-05 08:34:52 -06:00
dependabot[bot]
39166a8f0d Bump lodash from 4.17.11 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-05 08:27:01 -06:00
dependabot[bot]
13f0a45537 Bump acorn from 7.1.0 to 7.1.1
Bumps [acorn](https://github.com/acornjs/acorn) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/7.1.0...7.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-05 08:26:46 -06:00
Jordan Baczuk
3c259701d1 bump version 2020-08-05 08:25:41 -06:00
Zhen Yu Yong
bd98514832 removed duplicate test 2020-08-05 08:24:29 -06:00
Zhen Yu Yong
57111936e7 Revert "edited package.json for publishing"
This reverts commit 20819b51f7f1607e02d1fb891e5bb38c4eead3fa.
2020-08-05 08:24:29 -06:00
Zhen Yu Yong
3c18d11279 edited package.json for publishing 2020-08-05 08:24:29 -06:00
Zhen Yu Yong
555fd9b381 fixed double declerations 2020-08-05 08:24:29 -06:00
Zhen Yu Yong
5740ba895a fixed test 2020-08-05 08:24:29 -06:00
Zhen Yu Yong
83e7e4582c wrote test 2020-08-05 08:24:29 -06:00
Zhen Yu Yong
bc7ced6b7b concat ciphertexts in browser.js for encryption/decryption 2020-08-05 08:24:29 -06:00
Jordan Baczuk
4fc0853915 v1.1.3 2020-01-15 13:32:10 -07:00
Jordan Baczuk
a53b45a815 fix in order to support react native environment 2020-01-15 13:32:10 -07:00
Jordan Baczuk
ee2518544c fix karma.conf 2019-09-25 16:25:32 -06:00
Jordan Baczuk
ad39c5d117 update dependencies and secp256k1 api. fixes #42 2019-09-25 14:54:02 -06:00
Jordan Baczuk
07fb766b1f v1.1.1 2019-03-23 19:06:37 -06:00
Erik Nilsson
98f7eec7e7 eccrypto.generatePrivate() (#38)
* eccrypto.generatePrivate()

* Fix comment indentation
2019-03-23 19:02:32 -06:00
Jordan Baczuk
1ac5b09ce5
1.1 (#34)
1.1.0
2018-12-11 07:47:43 -07:00
Jordan Baczuk
22f833ef1d
Merge pull request #29 from bitchan/bug/fix_ie11_randomvalues
Fix getRandomValues on ie11. Fixes #28
2018-12-04 08:16:26 -07:00
Jordan Baczuk
6f33fdbe1c Fix getRandomValues on ie11. Fixes #28 2018-11-15 20:14:40 -07:00
Kagami Hiiragi
3502124dc7 1.0.3 2015-11-13 21:26:59 +03:00
Kagami Hiiragi
72db8effa5 Bump secp256k1-node
Should build on 0.10 now
2015-11-13 20:58:42 +03:00
Kagami Hiiragi
55d7c343dd Fix for latest nan and secp256k1-node
Fixes #10
2015-11-08 16:28:45 +03:00
Kagami Hiiragi
e57608d1ad Fix travis, bump deps 2015-09-29 17:47:55 +03:00
Kagami Hiiragi
5e0cceea24 1.0.2 2015-07-13 22:08:56 +03:00
Kagami Hiiragi
58604cc9d7 Better check for input args in derive 2015-07-13 22:03:42 +03:00
Kagami Hiiragi
ed4a3f43ef travis: new targets, container-based build 2015-07-13 21:18:46 +03:00
Kagami Hiiragi
cf4e5af20c Fix license SPDX id 2015-07-13 21:14:46 +03:00
Kagami Hiiragi
5eb75b810a 1.0.1 2015-07-12 21:08:28 +03:00
Kagami Hiiragi
81c41e969f Bump elliptic 2015-07-12 21:08:18 +03:00
Kagami Hiiragi
c3a604f0ed Update dev deps
Seems like there were some problems with karma-browserify, but now they
are fixed.
2015-06-26 21:37:42 +03:00
Kagami Hiiragi
09719cb0c4 1.0.0 2015-06-26 20:00:12 +03:00
Kagami Hiiragi
2e4b58d515 Bump elliptic 2015-06-26 20:00:01 +03:00
Kagami Hiiragi
706af9e096 0.9.10 2015-05-29 15:22:47 +03:00
Kagami Hiiragi
fd51dac917 0.9.9 2015-05-28 18:27:36 +03:00
Kagami Hiiragi
b8be4b2f64 Merge pull request #4 from englercj/master
Add fallback to browser is secp256k1
2015-05-28 18:26:30 +03:00
Chad Engler
d743332ebc move no fallback env var to npm test script 2015-05-28 07:42:43 -07:00
Chad Engler
3922b1b4ab move ecdh load into try{}; add fallback override env var 2015-05-28 06:57:06 -07:00
Chad Engler
365674f622 fix jshint issue 2015-05-27 08:39:33 -07:00
Chad Engler
0ebe1f0be6 add fallback to browser is secp256k1 2015-05-27 08:29:18 -07:00
Kagami Hiiragi
1cbc1bdd9f 0.9.8 2015-03-15 02:06:43 +03:00