I just got it working! Once I got the code finished and compiling, there were just a few runtime issues before it succeeded.
The protocol <http://dominictarr.github.io/secret-handshake-paper/shs.pdf> is pretty simple — each side sends a challenge, receives the other’s challenge, then sends a response; the result is two shared symmetric keys for a stream cipher. So it wasn’t hard to splice into an AsyncStream. I hacked at the TLS code and EzRpc. The result isn’t pretty and could probably have been done in half the code if I knew what I was doing, but at least it works. I’ll try to factor it out and publish it as a Git repo, then perhaps experts can suggest how to clean it up. —Jens -- You received this message because you are subscribed to the Google Groups "Cap'n Proto" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/capnproto/16416FA5-CBA5-4FCE-A46A-72182AFC32C7%40mooseyard.com.
