From 6676f07705734dec34de5fb819b74de39a32e394 Mon Sep 17 00:00:00 2001 From: Unbreathable <70802809+Unbreathable@users.noreply.github.com> Date: Fri, 15 May 2026 10:15:51 +0200 Subject: [PATCH] feat(4): task 2c --- sheet04/a2/c.txt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 sheet04/a2/c.txt diff --git a/sheet04/a2/c.txt b/sheet04/a2/c.txt new file mode 100644 index 0000000..135bb5b --- /dev/null +++ b/sheet04/a2/c.txt @@ -0,0 +1,5 @@ +Without the time interval entering the codes would be really difficult. Imagine having only one second to enter the code + the request having to travel to some server for it to verify (can take up to 200ms around the world) + the server having to process the request and verify the code. + +There could be measures to make sure the code is still valid even when entering a little old code, but then you're really just introducing an interval. So why not do it from the start? + +That's why you need a 30s interval. For user experience, to make sure the system can actually work even when grandma has to type it in and reopen the authenticator 10x because she forgot the code or typed something wrong.