Closed polarhive closed 1 month ago
can i get assigned?
!assign @ManishMDharani
!deassign @ManishMDharani
can i please get this assigned?
!assign @ManishMDharani
!deassign
@ManishMDharani do you want to take this?
I kinda did this. Can I make a PR real quick?
problem I'm facing is that the rate limit isn't expiring...
I was mistaken it works
What I'm looking for is a mechanism that tracks failed $PASSPHRASE
header attempts by IP. For instance, after each failed passphrase, the cooldown for that IP could be increased by 5 minutes.
// Check for passphrase in headers
if r.Header.Get("X-Auth-Passphrase") != passphrase {
http.Error(w, "Unauthorized", http.StatusUnauthorized)
return
While your rate-limiting effectively prevents spammy behavior and limits excessive requests from the same IP, it doesn’t currently provide protection against brute force password attacks since failed passphrase attempts aren’t tracked separately.
I can !extend
your time if you'd like to work on it for the rest of the bounty points.
Hi sorry, I was on my way home and didn't see the update, Thanks for the advice, I'll work on this when I have more time next week for fun. Thanks!
X-Auth-Passphrase