-
Notifications
You must be signed in to change notification settings - Fork 189
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
Make strict signing the default #179
Comments
This seems like a sensible default to me, and it seems like it would be the least surprising behavior as a new user. |
It's been long enough. |
cc @alanshaw @vasco-santos are we doing this in JS land? |
Dammit! I'm sorry, I completely didn't consider that. @vyzo let's back out of this for now. |
ugh, you want to revert? We can just delay making default in ipfs. |
I just don't want to break libp2p interop. Let's see what the js people think. |
Unless we plan a gomod release really soon, we should be having some slack for js-libp2p to catch up. |
I've tagged a release and propagated to p2pd, but other than that it's up to the individual users to upgrade. Regardless, I really think this should be high priority for the js folks, we've been living with a DoS vector for too long. |
Plus it's pretty simple to implement! |
@jacobheun / @vasco-santos do you have bandwidth to implement it before the end of this quarter? I’d rather not unnecessarily add pressure before IPFS Camp but if it can be done easily then it would be good to get in. |
We can implement it but something will likely have to drop for one of us, it wasn't on our radar for Q2. Now that we have libp2p/interop with pubsub tests, it should help speed up the release of this. Default signing would probably be an ideal thing to roll out in tandem with moving pubsub out of experimental configuration. |
@jacobheun let's implement this in js-libp2p-pubsub in two steps:
If we do step 1 quickly, we can keep this patch merged. If it takes any longer than a few hours, we can't live with broken interop too long, and we'll have to revert this patch, re-release (sigh), and integrate the reversal upstream. |
there isn't such urgency as to "fix in a few hours", it can take a couple of days because it hasn't bubbled up in the interop suite. |
Yeah, I meant a few hours of effort, not as in a few hours from now, should've clarified. As long as we can get outbound signing implemented by Monday, I'm fine. Also, posting a quick heads-up in the users forum would be great: https://discuss.libp2p.io/c/users ;-) |
I'll start working on these, should be able to get 1 tested against interop on Monday. |
Signing work is done and passing in interop, it just needs final review and release. I'll look at adding validation this week. |
Signing is released and I cut a new patch release of js-libp2p, any new installs of the latest js-ipfs will also get the change. |
@vyzo this is done, right? |
Yeah, this looks pretty done. I guess we can close. |
We have had message signing for a little while now, and the signature is critical in preventing cache poisoning attacks.
I suggest it is time to make strict signing the default.
cc @Stebalien @whyrusleeping
The text was updated successfully, but these errors were encountered: