Commit graph

20 commits

Author SHA1 Message Date
kim
711aaada87 only use the unique part of challenge string in logs 2025-04-26 12:19:25 +01:00
kim
b5b889b2c1 improved code comment 2025-04-26 12:19:25 +01:00
kim
1b7e341ac4 move constants 2025-04-26 12:19:25 +01:00
kim
6c1d0e00eb more code comments! 2025-04-26 12:19:25 +01:00
kim
5377b22bff don't initialize log entry until after cookie check 2025-04-26 12:19:25 +01:00
kim
45aa5f5a26 add further code comment explaining 2025-04-26 12:19:25 +01:00
kim
f9da51e6c5 used a repeated portion of their sucess token 2025-04-26 12:19:25 +01:00
kim
7a6d8dfb14 just use gin GetQuery() function now we don't delete the query param 2025-04-26 12:19:25 +01:00
kim
fcc6af163c add code comment 2025-04-26 12:19:25 +01:00
kim
2163633901 add test for nollamas middleware 2025-04-26 12:19:25 +01:00
kim
bfd4d5ab18 remove cookie length check , constant time compare handles this 2025-04-26 12:19:25 +01:00
kim
c34589d281 fix incorrect buffer length 2025-04-26 12:19:25 +01:00
kim
5b41861c9c update code comment, add logging 2025-04-26 12:19:25 +01:00
kim
924280ac0b add config option for scraper deterrence 2025-04-26 12:19:25 +01:00
tobi
db4a6e746c penis 2025-04-26 12:19:25 +01:00
kim
c7c8edd982 formatting 2025-04-26 12:19:25 +01:00
kim
4d1acc477c formatting 2025-04-26 12:19:25 +01:00
kim
b98ed0db3f update to just pass instance account directly to nollamas middleware 2025-04-26 12:19:25 +01:00
kim
86e342c443 finish adding an initial draft of the nollamas security check 2025-04-26 12:19:25 +01:00
kim
2442c6fc41 start adding proof of work middleware 2025-04-26 12:19:25 +01:00