Commit Graph
49 Commits
Author SHA1 Message Date
Jaco Greeff a9b2ac1240 Swap to yarn 2 (#58)
* Swap to yarn 2

* Use polkadot-dev-run-test for jest

* Try and fix JS tests via jest

* Try via @polkadot/dev
2020-02-28 12:58:57 +01:00
Jaco Greeff 28bac70cfe 1.1 (#55) 2020-02-24 21:41:38 +01:00
Jaco Greeff 4c7a9609bd Drop sr25519 verify_simple_preaudit_deprecated (#54)
* Drop sr25519 verify_simple_preaudit_deprecated

* Add missing Signature import

* Update test-verctor, 0.8.5+ only signatures

* Trigger

* Pin Rust nightly

* Pin via run

* De-dup nightlies

* Update tests to use nightly-2020-02-17

* Update CHANGELOG

* Typo
2020-02-24 16:24:49 +01:00
Jaco Greeff b2d0c437be 1.0 (#52) 2020-02-15 10:42:04 +01:00
Jaco Greeff 59c9bbec25 Bump dev (#51) 2020-02-14 10:20:57 +01:00
Jaco Greeff 33c2413247 0.20 (#50) 2020-01-30 15:46:36 +01:00
Jaco Greeff d1f188444c Bump deps (#49) 2020-01-29 09:55:13 +01:00
Jaco Greeff 721ae96a7c Bump deps 2020-01-28 18:13:19 +01:00
Jaco Greeff 2ad1132a48 Bump deps (#48) 2020-01-25 10:35:50 +01:00
Jaco Greeff 9f08e7832f Bump schnorrkel to 0.8 (#29)
* Bump schnorrkel to 0.8

* Remove unneeded return refactor (stick to issues at-hand)

* Mid-point step, use rev, verify signatures

* Update to 0.8.2

* Flatten for easier inspection

* 0.8.3 rev that passes the tests

* Updates for 0.8.3 memory allocation

* Test for Rust keypair imports

* Rust ed25519 compat

* 0.8.4

* sr25519 0.8.5, bump deps

* tiny-keccak config

* Update keccack hashing

* Update hashing
2020-01-13 16:26:04 +01:00
Jaco Greeff 1f4612bf32 Bump deps (#47) 2020-01-06 13:44:06 +01:00
Jaco Greeff 0d7ec76900 Bump deps (#46) 2019-12-07 13:58:59 +01:00
Jaco Greeff bd42b2b9ee Bump deps (#45) 2019-12-05 10:25:20 +01:00
Jaco Greeff 8024f524b3 Bump deps (#44)
* Bump deps

* Add dummy skip step
2019-12-05 10:09:04 +01:00
Jaco Greeff 2147464449 Bump deps (#43) 2019-11-06 22:15:31 +01:00
Jaco Greeff d74d9e8de4 Bump deps (#41) 2019-10-22 11:34:52 +02:00
Jaco Greeff b03aaa4bf7 Update build (#39) 2019-10-12 15:13:00 +02:00
Jaco Greeff 0f16e58760 Swap CI to GH actions (#38)
* Swap CI to GH actions

* Ignore coverage
2019-10-09 14:08:39 +02:00
Jaco Greeff 0e50f267d1 Add GH actions (#37)
* Add GH actions

* Install nightly, test Rust seperately

* Nightly for tests

* Pin nightly version... maybe this works?

* Revert attempted version fix

* Re-try nightly pinning...

* Try without...

* Revert stable experiment

* Run action on PR

* Action only on PR

* Rename push.yml to pr.yml

* Bump deps, update actions

* Bump backtrace (maybe this helps?)

* Don't test rust alongside wasm (split)
2019-10-08 14:00:59 +02:00
Jaco Greeff 416e0c58f8 Bump deps (#36) 2019-09-11 12:34:47 +02:00
Jaco Greeff 340ccd18d2 0.14 (#35) 2019-09-09 12:23:16 +02:00
Jaco Greeff 24af3cf2ce Bump deps (#34) 2019-09-05 11:25:57 +02:00
Jaco Greeff bd18b42439 typescript-eslint 2 (#33)
* typescript-eslint 2

* Blind eslint fixes
2019-08-30 12:11:20 +02:00
Jaco Greeff e467308ac1 Bump deps (#32) 2019-08-29 15:43:41 +02:00
Jaco Greeff 2844c15911 Bump dev (#31) 2019-08-27 11:41:06 +02:00
Jaco Greeff 794d514909 0.13 (#27)
* 0.13

* Only log when asm.js not available

* Flatten checks
2019-07-20 09:56:53 +02:00
Jaco Greeff 0772aa8471 Don't run asm.js through babel (#26) 2019-07-19 17:01:12 +02:00
Jaco Greeff 8c6d2aea12 Only rely on wasm.js (no asm.js duplication) (#25)
* Only rely on wasm.js (no asm.js duplication)

* Add browser entry

* Make asm.js tests pass

* Remove (now-unsued) mock dep
2019-07-19 11:06:31 +02:00
Jaco Greeff f59ceeec88 Add missing asm.js 2019-07-19 06:33:46 +02:00
Jaco Greeff 72d4ec56b5 Add asm.js generation with CRYPTO_ASM env var (#23)
* Add asm.js generation, import via index-asm.js

* Less sed-y, more babel-y

* Throw error when some failed

* CRYPTO_ASM env flag

* CHANGELOG
2019-07-18 15:38:50 +02:00
Jaco Greeff 2b637b079a Swap to eslint (#22)
* Swap to eslint

* Remove links to outdated packages

* Bump hex_literal to 0.2.0

* Bump version
2019-07-17 11:23:11 +02:00
Jaco Greeff 60bab172af Bump deps (#21) 2019-05-31 12:06:47 +02:00
Jaco Greeff f39b68f83d Add known signature tests (from subkey, actual values) (#20)
* Add know signing test (from subkey)

* Align sr25519 known sigs

* 0.10 (schnorrkel got a bump)
2019-05-09 15:18:44 +02:00
Jaco Greeff 6c6fb39102 rm -rf cc-test-reporter 2019-04-29 15:42:58 +02:00
Jaco Greeff 103d829a06 Bump deps (#18)
* Bump deps

* Bump deps
2019-04-29 11:40:50 +02:00
Jaco Greeff 1e9e1e5234 0.8.1 2019-03-31 16:02:17 +02:00
Jaco Greeff 1c1565b6ff Update error logging (#16)
* Update error logging

* Re-add drropped assert import

* Update travis scripts
2019-03-30 22:02:08 +01:00
Jaco Greeff a1692ae1e6 Combine all crypto into a single package (#15)
* Combine all crypto into a single package

* Disable build for daled & schnrorrkel (combined)

* Bump @polkadot/dev (for publish)

* yarn.lock

* Fix CHANGELOG
2019-03-30 17:35:43 +01:00
Jaco Greeff ed3e822d82 Fix error logging (#14) 2019-03-30 10:20:23 +01:00
Jaco Greeff e668b96bca Log init errors to the console (#11)
* Log init errors to the console

* Use stable @polkadot/util packages
2019-03-27 22:12:54 +01:00
Jaco Greeff 44c0553cae Add bip39ToSeed, add wasm-crypto (simple) usage (#10) 2019-03-23 17:51:39 +01:00
Jaco Greeff d7d0999033 0.3 2019-03-23 08:02:04 +01:00
Jaco Greeff 4e6bf711ed Pull down binaries for binaryen (instead of building) (#9)
* Pull down binaries for binaryen (instead of building)

* Try x86 version

* Skeip build deps

* Try with a "stable" version?

* Extend crypto

* Use Xenial

* Cache binaryen

* dalek-ed25519 (WIP)

* Small test cleanups

* Revamp binaryen cache

* Update ed25519 tests

* Remove externals for sr & ed

* Test with --release
2019-03-22 10:07:22 +01:00
Jaco Greeff bdd64d55bc 0.2 2019-03-20 17:15:52 +01:00
Jaco Greeff dde6a2f7af Build updates (#5)
* Build script updates

* Add @babel/core (peerdep)
2019-03-20 13:14:46 +01:00
Jaco Greeff b16da28e81 Add crypto requires (instead of dynamic) (#4)
* Add crypto requires (instead of dynamic)

* Remove duplicated log
2019-03-20 12:03:36 +01:00
Jaco Greeff 9438234750 Add wasm-crypto package (just start, incomplete) (#3)
* Add wasm-crypto package (just start, incomplete)

* Update

* Merge master

* Headers

* Add sha512

* Add blake2b

* Add twox

* xxhash with multiple rounds

* Cleanup tests (non-async)

* Adjust signatures

* Doc comments

* schnorrkel 0.1.0 crate

* Simplify export names

* Bip39

* Updates, ext_* function exposure

* bip39 tested and working

* Re-add wasm optimisations

* Cleanup build script

* Auto-detect internal packages

* bip39ToMiniSecret
2019-03-20 10:09:40 +01:00
Travis CI bff0dcdb09 [CI Skip] 0.1.0-beta.2 2019-03-17 15:00:22 +00:00
Jaco Greeff 362f921d18 Seed repo (#1)
* Seed repo

* Travis matrix for JS & Rust

* Update with cleaned latest schnorrkel

* Delete node-test.js

* Update .gitignore

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update build.sh

* Update .travis.yml

* Update .travis.yml

* Update build.sh

* Update build.sh

* Update build.sh

* Update .travis.yml

* Update build.sh

* Pull in latest schnorrkel-js fork

* Update schnorrkel README as per source

* Build via ./test.sh

* Move build to deps (only dep install)

* Adapt for header

* Show build output
2019-03-17 13:12:14 +01:00