After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 764798 - rtspsrc Critical errors when connecting with TLS / rtsps
rtspsrc Critical errors when connecting with TLS / rtsps
Status: RESOLVED DUPLICATE of bug 765027
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
1.8.0
Other Linux
: Normal normal
: 1.8.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-04-08 15:59 UTC by Jake Foytik
Modified: 2016-04-16 14:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jake Foytik 2016-04-08 15:59:51 UTC
When connecting to RTSP with TLS enabled, rtspsrc posts CRITICAL errors related to the keymgmt header. 

The gst_mikey_message_new_from_caps() function in gstmikey.c expects "srtp-cipher" and "srtp-auth" to be set and they are not. In gstrtspsrc.c, the default_srtcp_param() function creates the caps:

  caps = gst_caps_new_simple ("application/x-srtp",
      "srtp-key", GST_TYPE_BUFFER, buf,
      "srtcp-cipher", G_TYPE_STRING, "aes-128-icm",
      "srtcp-auth", G_TYPE_STRING, "hmac-sha1-80", NULL);

Should this be changed to:

  caps = gst_caps_new_simple ("application/x-srtp",
      "srtp-key", GST_TYPE_BUFFER, buf,
      "srtcp-cipher", G_TYPE_STRING, "aes-128-icm",
      "srtcp-auth", G_TYPE_STRING, "hmac-sha1-80",
      "srtp-cipher", G_TYPE_STRING, "aes-128-icm",
      "srtp-auth", G_TYPE_STRING, "hmac-sha1-80", NULL);

Also, it appears the gst_mikey_message_new_from_caps() function requires "srtcp-cipher" and "srtcp-auth" to be set, but these values are never used.
Comment 1 Aleix Conchillo Flaqué 2016-04-16 14:16:19 UTC
This is now fixed with patch for bug 765027. Please, close.
Comment 2 Tim-Philipp Müller 2016-04-16 14:28:29 UTC

*** This bug has been marked as a duplicate of bug 765027 ***