Skip to content
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

config gen for setup-node #1761

Closed
0pcom opened this issue Mar 11, 2024 · 1 comment
Closed

config gen for setup-node #1761

0pcom opened this issue Mar 11, 2024 · 1 comment
Labels

Comments

@0pcom
Copy link
Collaborator

0pcom commented Mar 11, 2024

Seems it's not possible to run a setup-node against a regular skywire.json visor config.

2024/03/11 10:42:44 Invalid secret key
panic: Invalid secret key

goroutine 143 [running]:
log.Panic({0xc00059bd00?, 0x0?, 0x0?})
	/usr/lib/go/src/log/log.go:432 +0x5a

So I'm generating the config by parsing the output of config gen with jq.

skywire cli config gen -n --loglvl debug | jq '{public_key: .pk, secret_key: .sk, dmsg: {discovery: .dmsg.discovery, sessions_count: .dmsg.sessions_count, servers: .dmsg.servers}, transport_discovery: .transport.discovery, log_level: .log_level}'

we should make skywire cli config gen able to output the desired config for setup-node so that extra tools or manually creating the config is not required

@0pcom 0pcom added the easy label Mar 16, 2024
@0pcom
Copy link
Collaborator Author

0pcom commented Mar 21, 2024

fixed in #1783

@0pcom 0pcom closed this as completed Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant