13 Commits

Author SHA1 Message Date
cab09d1949 Respond encrypted if 'startsecure' set
Upon sending a message, the server checks whether 'startsecure' has
been issued before or not. If yes, the response is encrypted.
2020-12-29 20:34:47 +01:00
93a2a87f07 Allow 'startsecure' to be issued at any time 2020-12-29 19:02:36 +01:00
a9eab7cfb9 Implement full handshake and login over DMAP2.0 2020-12-29 16:45:32 +01:00
e311064c48 Implement startsecure() and login() on client 2020-12-29 11:54:08 +01:00
d1bf65698d Correct client challenge encoding
First, encode the individual parameters, then add them to the command,
do the encryption and then encode the binary string again for sending.
2020-12-29 10:33:26 +01:00
6666494009 Save challenge for later 2020-12-26 16:36:12 +01:00
64a12a816f Generate base64 encoded client challenge 2020-12-23 22:33:19 +01:00
779fb6dc43 Implement SecretKey and IV generation 2020-12-23 20:55:25 +01:00
93157eb9de Implement skeleton for MessageClient 2020-12-23 18:10:57 +01:00
970b62ed72 Remove build folder 2020-12-23 12:01:30 +01:00
acfe3a0b12 Add implementation from Assignment 1 2020-12-23 11:56:50 +01:00
2ae01910cd Add .gitignore 2020-12-18 17:19:41 +01:00
eb951d69e1 Initial commit 2020-12-18 17:02:46 +01:00