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

webrtc: Don't use multihash for noise prologue #3

Open
wants to merge 1 commit into
base: webrtc
Choose a base branch
from

Conversation

thomaseizinger
Copy link

As elaborated in this comment, I don't think the use of multihash gives us any value here.

Both peers need to know the hash algorithm in advance and they never get to look at the wrapped hash of the other party. As such, they can't learn any information from it, so I think the use of a self-describing format doesn't make any sense.

The only thing I can think of that the use of multihash might guard against is that two different hash algorithms could produce the same hash for different certificates. I am not even sure such kinds of collisions are possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants