rfb_apple_dh_client_msg has encrypted_credentials at offset 0 and public_key as a flexible array at offset 128. We were sending them in the wrong order (pub_key first), so neatvnc decrypted the wrong bytes as credentials and sent the wrong bytes as the DH public key, causing a mismatched shared secret and SecurityResult=1. Fixes #92 |
||
|---|---|---|
| .. | ||
| agent.css | ||
| app.js | ||
| index.html | ||
| screen.html | ||
| stats.html | ||
| stats.js | ||