Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only usable with admin username #86

Open
nagyrobi opened this issue Sep 22, 2022 · 1 comment
Open

Only usable with admin username #86

nagyrobi opened this issue Sep 22, 2022 · 1 comment

Comments

@nagyrobi
Copy link

As also described in #10, the library refuses to work unless we log in with full admin user rights.
I have a restricted user which is able to talk to the ISAPI on the NVR via curl or any other method, but this library doesn't want to work with that.

To improve security of the environment, please allow for using this library not only with full admin username and password. ISAPI is usable from restricted user logins too.

@mezz64
Copy link
Owner

mezz64 commented Oct 27, 2022

As noted in #10, it seems like this may be a quirk of the requests library for some reason. I'd be open to playing with some things, but I can't replicate the behavior on my older cameras, they authenticate fine to non-admin users through the library.

Long term things should really be refactored to move away from requests and into aiohttp to better service the event stream, but it's just not something I have much time for these days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants