From 397287ab53baa3e121848cf9c4668f70d497d5a1 Mon Sep 17 00:00:00 2001
From: Clement Loh <72453473+ClementLohCK@users.noreply.github.com>
Date: Sun, 6 Aug 2023 16:49:30 +0800
Subject: [PATCH 1/2] fix: fix typo
---
_assignments/pa2_2_ap.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/_assignments/pa2_2_ap.md b/_assignments/pa2_2_ap.md
index 92b57a9..15543ab 100644
--- a/_assignments/pa2_2_ap.md
+++ b/_assignments/pa2_2_ap.md
@@ -173,7 +173,7 @@ Now both client and server must implement `MODE: 3`, which signifies the `authen
- another M1 from server: size of incoming M2 in bytes (this is `server_signed.crt`)
- another M2 from server: `server_signed.crt`
-2. Upon receiving `MODE: 3`, the server will send these four messages above _immediately_, in sequence one after another. There's no need to send another `MODE` to the client because are still under the AP -- and the sequence must be as such: client send MODE 3, then TWO messages, and expecting FOUR messages from the server.
+2. Upon receiving `MODE: 3`, the server will send these four messages above _immediately_, in sequence one after another. There's no need to send another `MODE` to the client because they are still under the AP -- and the sequence must be as such: client send MODE 3, then TWO messages, and expecting FOUR messages from the server.
3. Once the client receives both replies from the server, it will perform the `CHECK` as specified above using the CA's public key extracted from `csertificate.crt`. If check is successful, the regular non-secure FTP should proceed where we can key in the file names one by one for the server to receive. Otherwise, send a `MODE 2` to close connection immediately.
From 733be0cc65efe4c23707a2a8af1559c99cbd6aa2 Mon Sep 17 00:00:00 2001
From: Clement Loh <72453473+ClementLohCK@users.noreply.github.com>
Date: Thu, 10 Aug 2023 21:05:13 +0800
Subject: [PATCH 2/2] fix: fix typo
---
_assignments/pa2_3_cp.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/_assignments/pa2_3_cp.md b/_assignments/pa2_3_cp.md
index e3572b9..517db1a 100644
--- a/_assignments/pa2_3_cp.md
+++ b/_assignments/pa2_3_cp.md
@@ -46,7 +46,7 @@ Figure out which key to use to encryp
### Expanding the FTP
-Make a copy of Task 1 files: `ClientWithSecurityAP.py` and `ClientWithSecurityAP.py` each, and name it as `ClientWithSecurityCP1.py` and `ServerWithSecurityCP1.py`.
+Make a copy of Task 1 files: `ClientWithSecurityAP.py` and `ServerWithSecurityAP.py` each, and name it as `ClientWithSecurityCP1.py` and `ServerWithSecurityCP1.py`.
> Leave the original files as is. You should have 6 `.py` files now under `source/`.
There's no need to implement any new `MODE` in this task.