Skip to content

Commit

Permalink
derp: challenge must still be sent in hex
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Feb 4, 2025
1 parent 7420251 commit 3667972
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion html5/js/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -2882,7 +2882,8 @@ class XpraClient {
const hex_salt = Utilities.convertToHex(salt);
Utilities.gendigest(challenge_digest, password, hex_salt)
.then(challenge_response => {
this.do_send_hello(challenge_response, client_salt)
const hex_challenge = Utilities.convertToHex(challenge_response);
this.do_send_hello(hex_challenge, client_salt)
})
.catch(err => this.disconnect("failed to generate challenge response: " + err));
})
Expand Down

0 comments on commit 3667972

Please sign in to comment.