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

Support for two way authentication #37

Open
avol-io opened this issue Mar 9, 2021 · 4 comments
Open

Support for two way authentication #37

avol-io opened this issue Mar 9, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@avol-io
Copy link

avol-io commented Mar 9, 2021

There is some trick to maintain two way authentication on ezviz account and this library?
If not there is a plan to implement that in the future? Can i help in some way?

Thanks

@RenierM26
Copy link
Collaborator

Short answer:

In the future yes.

Long answer:

I have one AJAX endpoint that I need to replace with the API endpoint. (To enable/disable Alarm notifications per camera.)

The API endpoint makes use of their CAS proxy and seems to make use of Chinese or binary character in the response. Really difficult to reverse engineer at the moment.

Once all the endpoint are via their API, I should be able to use tokens instead of username/password., then it will be possible for MFA to work. They have a modified oauth2 token system so I should be possible.

@RenierM26 RenierM26 added the enhancement New feature or request label Mar 22, 2021
@kklem0
Copy link

kklem0 commented Jul 13, 2021

@RenierM26 is there a repo or something for the environment you're using for reverse engineering?
I have some docs in Chinese and I speak Chinese and would like to help where possible and first would be cool to reproduce your result.

@RenierM26
Copy link
Collaborator

Hi @avol-io,

Added MFA/Verification code in the latest release!

Hi @klem-everywhere,

I'm using mitmproxy and literally following the API calls from the android app. Some of the requests are more complex and require wireshark and some guessing on encryption schemes. (might also be due to latin-1 or utf-8 character support in mitmproxy

@avol-io
Copy link
Author

avol-io commented Nov 22, 2021

great news! thank you!!!

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

No branches or pull requests

3 participants