Commit graph

26 commits

Author SHA1 Message Date
Luca Palmieri
10f48f5452 Fix 'without db' confusion 2024-09-01 11:51:51 +02:00
Luca Palmieri
aae796327a Remove once_cell 2024-08-29 17:21:21 +02:00
Luca P
9e6339f729 Chapter 11: fault tolerant workflows. 2022-03-13 19:41:50 +00:00
Luca P
fc36707be8 Solve reader exercise at the end of chapter 10 2022-03-13 15:26:57 +00:00
Luca P
df6bdea82b Last part of chapter 10 - sessions, seed users and change password form 2022-03-12 19:05:53 +00:00
Luca Palmieri
48c9a5b39c Fix clippy lints. 2021-09-11 22:00:34 +02:00
Luca Palmieri
80a286113a Prevent user enumeration via timing attacks. 2021-08-30 18:27:56 +02:00
Luca Palmieri
5492da0b38 Add tests to highlight timing attack. 2021-08-30 17:57:35 +02:00
Luca Palmieri
e106c5c69a Tests pass. 2021-08-29 22:32:52 +02:00
LukeMathWalker
312ee4aa89 Password hashing using SHA3-256. 2021-08-22 16:54:41 +01:00
LukeMathWalker
f78f25c358 Store user list, insecurely. 2021-08-15 13:26:16 +01:00
LukeMathWalker
984800f1a8 Random creds. 2021-08-14 23:01:18 +01:00
LukeMathWalker
32c03a55c5 Refactor tests. 2021-07-25 17:37:00 +01:00
LukeMathWalker
77f0e49405 Use once_cell instead of lazy_static for tracing. Use custom sinks instead of filters to disable logging. 2021-05-01 15:53:57 +01:00
LukeMathWalker
b7ed1b4c28 cargo fmt. 2021-04-02 11:51:39 +01:00
LukeMathWalker
e820e37275 Refactor. 2021-03-11 21:14:29 +00:00
LukeMathWalker
b3ad683b9a Roudntrip test. 2021-03-11 09:24:57 +00:00
LukeMathWalker
967b16b19b Get a 404. 2021-03-09 22:40:14 +00:00
LukeMathWalker
f4b066b487 Red test. 2021-03-08 21:10:59 +00:00
LukeMathWalker
3359c5f921 Fix failing test. 2021-02-15 21:26:43 +00:00
LukeMathWalker
04c53d49da Extract helper method. 2021-02-14 17:07:31 +00:00
LukeMathWalker
e562b7df6f Add address. 2021-02-14 16:41:45 +00:00
LukeMathWalker
55da2e2e2e Share startup logic. 2021-02-14 16:27:04 +00:00
LukeMathWalker
beeeacdafb Split into multiple files. 2021-02-14 15:26:43 +00:00
LukeMathWalker
0344317f85 Split tests across files. 2021-02-14 12:24:50 +00:00
LukeMathWalker
e8ff7914c9 Restructure test suite - first step. 2021-02-14 12:12:07 +00:00