From 453112c2f310a3da50d40855b4596bd2bdec6b3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=BA=E8=B6=85=20=E5=BC=A0?= Date: Fri, 21 Apr 2023 00:47:25 +0800 Subject: [PATCH 1/2] client port problem fix in 'run.sh' --- demo/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/run.sh b/demo/run.sh index b608be1e..904caa34 100755 --- a/demo/run.sh +++ b/demo/run.sh @@ -21,7 +21,7 @@ echo "keygen part" for i in $(seq 1 $n) do echo "key gen for client $i out of $n" - ./target/release/examples/gg18_keygen_client http://127.0.0.1:8001 keys$i.store & + ./target/release/examples/gg18_keygen_client http://127.0.0.1:8000 keys$i.store & sleep 3 done @@ -33,7 +33,7 @@ echo "sign" for i in $(seq 1 $((t+1))); do echo "signing for client $i out of $((t+1))" - ./target/release/examples/gg18_sign_client http://127.0.0.1:8001 keys$i.store "KZen Networks" & + ./target/release/examples/gg18_sign_client http://127.0.0.1:8000 keys$i.store "KZen Networks" & sleep 3 done From f1823fa2fde524a0b75769289b44d2574e71aaa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=BA=E8=B6=85=20=E5=BC=A0?= Date: Fri, 21 Apr 2023 09:45:31 +0800 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6b4fa464..a2e5cab4 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ run `gg18_keygen_client` as follows: `./gg18_keygen_client http://127.0.0.1:8000 ### Sign -Run `./gg18_sign_client`. The application should be in the same folder as the `keys.store` file (or custom filename generated in keygen). the application takes three arguments: `IP:port` as in keygen, `filename` and message to be signed: `./gg18_sign_client http://127.0.0.1:8001 keys.store "KZen Networks"`. The same message should be used by all signers. Once `t+1` parties join the protocol will run and will output to screen signature (R,s). +Run `./gg18_sign_client`. The application should be in the same folder as the `keys.store` file (or custom filename generated in keygen). the application takes three arguments: `IP:port` as in keygen, `filename` and message to be signed: `./gg18_sign_client http://127.0.0.1:8000 keys.store "KZen Networks"`. The same message should be used by all signers. Once `t+1` parties join the protocol will run and will output to screen signature (R,s). The `./gg18_sign_client` executable initially tries to unhex its input message (the third parameter). Before running ensure two things: