Added support for Apple Remote Desktop authentication

Fixed eslint warnings

Fixing tests that failed

Added unit tests for ARD authentication

Fixed an issue with the ARD rfb version number in the unit tests

Fixed issue with username/password lengths

Username and password lengths are now capped at 63 characters each.  Improved code for sign bit on public key bytes.

UTF Encoder username and password before packing it

Change UTF encoding to encode the username and password before packing it to prevent it from being expanded beyond the allowed size.  Public key is truncated to proper key length.

Replaced forge with web crypto for ARD authentication

Changed the way in which the async methods are handled, added unit tests to verify ARD encryption output.

Update .eslintignore
This commit is contained in:
Paul Dumais
2021-10-05 14:22:49 -04:00
committed by Paul Dumais
parent a85c85fb5f
commit e21ed2e689
5 changed files with 548 additions and 5 deletions
+4 -2
View File
@@ -1,10 +1,12 @@
{
"env": {
"browser": true,
"es6": true
"es6": true,
"es2020": true
},
"parserOptions": {
"sourceType": "module"
"sourceType": "module",
"ecmaVersion": 2020
},
"extends": "eslint:recommended",
"rules": {