-
Notifications
You must be signed in to change notification settings - Fork 35
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
Alternate caps.shs #316
Comments
Hey @mplorentz i'm unfamiliar with this feature but I server cli options available:
Perhaps a config option is not supported? Unsure. |
Ah thanks @decentral1se that looks like what I want but it doesn't seem to be working when I set it. My client (go-ssb/Planetary) says:
@boreq I think you fixed a bug related to alternate caps in cryptoscope/ssb a few months ago. Do you remember the details of that and do you think that go-ssb-room would have the same issue? I think they share many of the underlying Go modules. |
The problem which you are probably referring to that I fixed was related to not being able to redeem invites on the test network. This was caused by the fact that the code always used the default network key. The linked commit allows configuring an alternate network key when redeeming invites. I suspect that this is a separate problem. |
@mplorentz and to clarify, you can connect when not using the |
I am very confused as to how the shscap work. In the code it says "appkey" so I supposed it should be a unique key. But my setup never works if I put any other 32 bytes in that field than the default ones. Do they need to be the fixed |
Yes, the main network uses a predefined network key. It is sometimes referred to as the "app key" but the protocol guide consistently calls it a "network key". I find the name "app key" confusing. Different network keys can be used to set up alternate networks for example for testing purposes. https://ssbc.github.io/scuttlebutt-protocol-guide/#handshake |
I'd like to run a room on an alternate SSB network. I have the room running via docker-compose, and I can see my secret in the
ssb-go-room-secrets
directory. I tried adding adding aconfig
file there with mycaps
dictionary, but it doesn't seem to be picked up by the room. Is there another way to pass caps keys to the room?The text was updated successfully, but these errors were encountered: