esl / MongooseICE

STUN/TURN server written in Elixir
https://www.erlang-solutions.com/products/mongooseim.html
Other
118 stars 15 forks source link

Sign responses with MESSAGE-INTEGRITY #51

Open arkgil opened 7 years ago

arkgil commented 7 years ago

Currently Fennec does not sign responses with MESSAGE-INTEGRITY. TURN clients do not require messages to be signed, but if they are, MESSAGE-INTEGRITY must be checked. It's just an extra security measure.

Dzol commented 6 years ago

AFAICT we do this.

There's the following too:

$ grep -r -i --color verified lib/
lib//mongooseice/auth.ex:         true                       <- params.verified? do
lib//mongooseice/auth.ex:      false -> # Not verified
$ grep -r -i --color signed lib/
##
lib//mongooseice/auth.ex:    signed? = params.signed?
lib//mongooseice/auth.ex:      nil when not signed? ->
lib//mongooseice/auth.ex:      _ when signed? ->

Looking at the Jerboa code, however, it seems like we don't support message integrity for the short-term credential mechanism. There are tests for the existing functionality.