Closed negre closed 9 years ago
Yes, it would be nice... Feel free to contribute :)
This has been on my todo list for a while, but no time so far to actually do it.
Cheers.
On Thu, Sep 11, 2014 at 3:38 PM, Amaury Nègre notifications@github.com wrote:
The authentication doesn't work when the axis camera only accept authentication with encrypted password. It would be nice to handle this kind of authentication.
— Reply to this email directly or view it on GitHub https://github.com/clearpathrobotics/axis_camera/issues/28.
Cedric Pradalier
OK, I solved the problem on my fork (https://github.com/negre/axis_camera) I add a ros parameter "use_encrypted_password" to enable/disable this authentication When use_encrypted_password is True, "urllib2.HTTPBasicAuthHandler(password_mgr)" is replaced by "urllib2.HTTPDigestAuthHandler(password_mgr)"
I will send a pull request to merge the code.
Cheers
I merged your PR after giving it a short test on a real camera. Closing :)
The authentication doesn't work when the axis camera only accept authentication with encrypted password. It would be nice to handle this kind of authentication.