Questions on TURN REST API and Long term Credential vis-a-vis the database schema

114 views
Skip to first unread message

Sam

unread,
Apr 7, 2016, 5:53:37 AM4/7/16
to TURN Server (Open-Source project)

I have installed the server itself but have a few questions on configuration. Specifically, in the Coturn db, there is a table "turnusers_lt" with columns realm, name and hmackey. 
There is another table turn_secret. This table has two columns realm and value. I am not very clear on the relationship between all these fields for authentication.

I understand that the password itself for a user is not stored in the clear.  
I also see that turnadmin generates key by applying some HMAC function, default MD5, over (username, realm and password). I presume that that key is stored in the "turnusers" table. Is that correct?

When specifying config info in peerConnection, what is the "credential" field to be specified?
Where is the "value" field in the "turn_secret" table used? Is it used for computing message integrity as in hmac(value_in_turnsecret, MD5(username, realm, password))? 
Where does the client get the "value" field from?

Any clarification would be greatly appreciated.

Sabbir Ahmed

unread,
May 2, 2016, 7:23:05 AM5/2/16
to TURN Server (Open-Source project)
Have you found any answer? I am still confused at exact sam

Sabbir Ahmed

unread,
May 2, 2016, 7:24:03 AM5/2/16
to TURN Server (Open-Source project)
Have you found any answer? I still need these clarifications.
Reply all
Reply to author
Forward
0 new messages