<div dir="ltr"><div>I didn't see the original message,  but "basic authentication", depending on with what,  is done with hmac-sha1 or hmac-md5, which technically is not encryption, but a "one way hash", it can be "decrypted", but tends to be A LOT of work and is not a one-on-one  "process" or result.  typically it depends on the mechanism.  Onvif for example uses a client generated "nonce", a date string and password. using hmac-sha1 (the a special case of hmac-sha1) if not mistaken TLS uses the same mechanism.  other "mechanisms" (used in simple routers and smart devices),  the device sends out a key, which is used to hash (one way hash) similar things (date, public key, password) with hmac-md5.</div><div><br></div><div>So theoretically you can reverse engineer (or crack) it, but it is not trivial. (if it were it would be pretty worthless).</div><div><br></div><div>Most of these device also accept the password in clear text, so for testing/debugging purposes you could have the server you built, accept it in clear text for debugging.</div><div><br></div><div><br></div><div>Ron<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 9, 2019 at 12:13 PM Michael MacIntosh <<a href="mailto:mmacintosh@linear-systems.com">mmacintosh@linear-systems.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">If you are using basic authentication, it should be under the <br>
"authorization" header.<br>
<br>
Digest Authentication is going to be harder to get the password from.<br>
<br>
Hope that helps!<br>
<br>
On 5/9/2019 8:09 AM, thierry wrote:<br>
> Hi all ,<br>
><br>
> I implemented a rtsp server with authentication with success.<br>
> Now , i try to intercept the passord transmit by rtsp client ( i need crypt<br>
> it)<br>
> Do you know if it is possible and how ?<br>
><br>
> Thx a lot<br>
><br>
> Thy<br>
><br>
><br>
><br>
> --<br>
> Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div>