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

Solve DTLS in new wyze FW #111

Open
AdiAbuAli opened this issue Oct 10, 2021 · 1 comment
Open

Solve DTLS in new wyze FW #111

AdiAbuAli opened this issue Oct 10, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@AdiAbuAli
Copy link

🚀 Feature Request

The below code suggested by merlt8 to overcome DTLS feature in new wyze FW, where current code cannot access RTSP with new FW with DTLS

def getAuthKey(mac, enr): key = enr + mac.upper() hash = hashlib.sha256(key.encode()) print(hash.digest()) bArr = bytearray(hash.digest())[0:6] print(bArr) authKey = base64.standard_b64encode(bArr).decode().replace('+', 'Z').replace('/', '9').replace('=', 'A').encode() return authKey

av_account: admin
av_password: camera.enr

🔈 Motivation

This will help keep the code compatible with new wyze FW updates (latest one compatabile was in August wyze FW release).
Wyze official RTSP will stay beta, and they will not maintain it, as they mentioned explicitly (they dont have enough resources to maintain 2 branches of FW).
And always, non RTSP wyze FW maintained and updated well....hut this DTLS is now showstopper.

🛰 Alternatives

Dont update wyze FW anymore.

📎 Additional context

@AdiAbuAli AdiAbuAli added the enhancement New feature or request label Oct 10, 2021
@iliabaranov
Copy link

Yes please, this would be great!

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

2 participants