Commit Graph

4 Commits

Author SHA1 Message Date
Marcio Diaz a643ac6c6f Fix subkey does not verify with pubkey (#3547)
* Decode hex

* Remove log

* Some refactoring to help with testing

* Add own functions for sign and verify.

* Add sign test

* Sign-verify test

* Generate-sign-verify test for both cryptos

* Add aliases

* Print signature

* More refactoring

* Update sign-transaction as transfer

* Simplify transfer and sign-transaction

* main to top file

* rename read_input_message to read_message_from_stdin

* More refactoring

* Add read_required_parameter

* Add format seed

* More refactoring

* format code

* add print_extrinsic

* Remove 0x from print

* fix naming

* Fix readme

* Remove rustfmt

* Remove commented test

* Fix import nits
2019-09-12 15:42:35 +02:00
Michael Müller 7f3d71d306 Add possibility to sign calls via cli (#2549)
* Add possibility to sign calls via cli

* Update subkey/README.adoc

Co-Authored-By: Robert Habermeier <rphmeier@gmail.com>
2019-05-13 21:18:14 +02:00
Logan Saether e6c73e8951 update readme (#2066) 2019-03-21 10:44:39 +01:00
Chevdor 903ce68809 Subkey fix and refactor (#418)
* Fix bug and refactoring

- Fix panic in some cases
- Extract the generation as a reusable function
- Improve scoring calculation
- Add tests
- Sort the results
- Fix the case when called with a desired pattern either empty or of 1 char
- Add a 'even more' paranoiac mode
- Add benchmarks

Fix #417

* Fixed compilation for nightly
2018-07-26 11:11:52 +02:00