-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lkg init #5
base: j-main
Are you sure you want to change the base?
lkg init #5
Conversation
"NumParticipants": int, | ||
"WantedThreshold": int, | ||
"GuardianSpecifics" : array | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there should be a cfg.example.json with actual numbers
|
||
|
||
Where `NumParticipants` is the number of guardians in the system, | ||
`WantedThreshold` is the wanted threshold (For instance, `NumParticipants=19` and `WantedThreshold=13`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WantedThreshold
is the number of guardians that need to approve a VAA?
] | ||
``` | ||
|
||
The DKG protocol is used to generate secrets to TSS, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is for DKG. This binary runs it locally, so we should clarify that in the local setting, certs are only used for assigning names since there's no communication to encrypt. (thus, no need to provide the secret key that will be used to protect future communication).
|
||
# After running the local DKG protocol. | ||
|
||
Once you run the protocol, expect numerous files containing secret keys and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where are these files created? are they placed in some directory structure? (e.g., one directory per guardian?). numerous seems under specified.
|
||
Once you run the protocol, expect numerous files containing secret keys and | ||
additional configurations. | ||
Each guardian operator should take the file saved by the given name they |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps: those files may be used in a guardian's config to point to its key shard.
node/pkg/tss/internal/cmd/cnfg.json
Outdated
"Identifier": { | ||
"TlsX509":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUgvVENDQmVXZ0F3SUJBZ0lRYUJZRTMvTTA4WEhZQ25OVm1jRkJ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Zi8KWnNCMndMSG96VFlvQVZtUTlGb1UxSkxnY1ZpdnFKK3ZObEJoSFhobHhNZE4wajgwUjlOejZFSWdsUWplSzNPOApJL2NGR20vQjgrNDJoT2xDSWQ5WmR0bmRKY1JKVmppMHdEMHF3ZXZDYWZBOWpKbEh2L2pzRStJOVV6NmNwQ3loCnN3K2xyRmR4VWdxVTU4YXhxZUs4OUZSK05vNHEwSUlPK0ppMXJKS3I5bmtTQjBCcVhvelZuRTFZQi9LTHZkSXMKdVlaSnVxYjJwS2t1K3p6VDZnVXdIVVRadkJpTk90WEw0Tnh3Yy9LVDdXek9TZDJ3UDEwUUk4REtnNHZmaU5EcwpIV21CMWM0S2ppNmdPZ0E1dVNVemFHbXEvdjRWbmNLNVVyK245TGJmbmZMYzI4SjVmdC9Hb3Rpbk15RGszaWFyCkYxMFlscWNPbWVYMXVGbUtiZGkvWG9yR2xrQ29NRjNURHg4cm1wOURCaUIvCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0=" | ||
}, | ||
"WhereToSaveSecrets": "Alex" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is Alex a directory? I'm not sure what this argument means
Also, why not use the standard Alice, Bob, Carol, Dave,... for names?
No description provided.