go-secretstream
go-secretstream copied to clipboard
Go port of secret-handshake
We most likely want to tag a new release given the fact that we changed the import path? https://github.com/ssbc/go-secretstream/compare/v1.2.10...master ``` go: github.com/planetary-social/scuttlego/service/domain/transport/boxstream imports github.com/ssbc/go-secretstream/boxstream: github.com/ssbc/[email protected]: parsing go.mod: module declares its...
test against static test vectors. see cryptix/secretstream#1
according to @dominictarr 's secret-handshake paper the shared secret resulting from the secret handshake is: K|a · b|a · B|A · b where in your code you use a ·...
in the latest version of the spec the sever sends the client a challenge where the hmac is keyed with the application key K concatenated with scalar_mult(a, b) whereas your...
"other language implementations of secret-handshake should share these test vectors. this would give implementers some confidence that they've done it correctly. additionally the binary compatibility among language implementations might prove...