At this point, you have to change to the session DES key.
The session key will be the key from the config file (newcamd: CWS = ...,
cardserver: DESKEY = ...) xored with the password of the connection just
established.
for (i = 0; i < strlen(cryptPw); i++) deskey[i%14] ^= cryptPw[i];