This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
SecretStore: ECDSA session for cases when 2*t < N #7739
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
implements #7615
this PR is only about c0a8f8d commit
Background description is in the #7615
API changes
/schnorr/{server_key_id}/{signature}/{message_hash}
(previously: GET to/{server_key_id}/{signature}/{message_hash}
)/ecdsa/{server_key_id}/{signature}/{message_hash}
Usage example
curl --data-binary '{"jsonrpc": "2.0", "method": "secretstore_signRawHash", "params": ["0x00a329c0648769A73afAc7F9381E08FB43dBEA72", "", "0x0000000000000000000000000000000000000000000000000000000000000003"], "id":1 }' -H 'content-type: application/json' http://127.0.0.1:8545/
curl -v -X POST http://localhost:8082/shadow/0000000000000000000000000000000000000000000000000000000000000003/bd22d48735e5d711fffa03d9a987366acd50359a7a27f2fb0480e5339a44bf155b36ee1f2f860f4fcbb1171cf68dd59ac5f95d407137cafec4898f3e562fa9d700/1
curl -v http://localhost:8082/ecdsa/0000000000000000000000000000000000000000000000000000000000000003/bd22d48735e5d711fffa03d9a987366acd50359a7a27f2fb0480e5339a44bf155b36ee1f2f860f4fcbb1171cf68dd59ac5f95d407137cafec4898f3e562fa9d700/0000000000000000000000000000000000000000000000000000000000000005