1,522 karma · joined Aug 31, 2020 (6y ago) · 1,230 submissions
comment 4y ago · link · parent
Story time.
Our company recently switched to JWTs for our SPAs from regular OAuth2. I told them up front - we need a way to invalidate a token if an account is compromised. The lead on this initiative said we can blacklist any token. I told him that's not practical because you would need to know the exact token to be able to blacklist and because we don't store them in the database and don't log them have any real way to figure out which token is being used by an attacker and which are not that it's basically useless.
I suggested a simple fix: cypher the private key we sign the JWT with the hashed password of the user account we're generating the token for. If an account is compromised, we can reset the password and invalidate all tokens for that one user.
I was ignored and lo-and-behold within a month CTO and tech lead are trying to track down JWTs for a hacked account. I told them we can update the app to cypher the key, it'll invalidate all tokens and people will have to log in again but at least they'll be secured. Nothing has been changed to this day, despite banging this drum for literally over a year. We've recently extracted our authentication into a micro-service (for no reason really, i'm still mad about this too) and still nothing has been done about this issue when it would have been the perfect time to fix this.
I love my job but "priorities" and "business cases" as an excuse for this kind of incompetence is rage inducing.
The point I'm trying to make is. You are most likely using some kind of web framework that can just plug in an authentication implementation, just use that. NIH is very real and it is more than a waste of time, it can be dangerous.
comment 4y ago · link · parent
Personally, on my team we use Pivotal Tracker - it tracks our velocity for us and automatically "guesses" our release date based on our velocity. If we aren't happy with the projected date, we reduce scope aggressively. Clients see our backlog and can see when things change. Most of our project planning is completely automated by Tracker - we just create tasks and point them. It's the only thing that has been even remotely successful for us. If I had to give up Tracker for Jira I would quit my job.
comment 4y ago · link · parent
comment 4y ago · link · parent
Ignoring the fact that cloudflare provides we security services and they decided to just give up on it, this leaves a very sour taste in my month. I won’t be giving cloudflare my business anymore. If Kiwifarms users were engaging in illegal activity then just let enforcement do their job.
comment 4y ago · link · parent
If we are not able to ask skeptical questions, to interrogate those who tell us that something is true, to be skeptical of those in authority, then, we are up for grabs for the next charlatan (political or religious) who comes rambling along.”
-- Carl Sagan
First thing that comes to mind. The Demon Haunted World changed my life but it seems like the one thing that got wrong isn't that external forces are a threat to "making progress via the scientific method to determine what is true" but science has instead been weaponized from within to push an agenda. This is much more terrifying to me.
comment 4y ago · link · parent
Brain drain is devastating for the developing world. Abolishing H1B completely would be a net positive for the world in my opinion.
comment 4y ago · link · parent
What's the point of having a progression system if nobody is incentivized to actually progress? If your entire business model requires that people buy the battle pass, but they don't buy the battle pass because they just want to play with friends because the battle pass contents funnels them into solo play the game won't survive as a F2P title.
comment 4y ago · link · parent
At least MCC is good.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
I also feel very fulfilled from my personal relationships, family and lifestyle that my “success” affords me.
comment 4y ago · link · parent
comment 4y ago · link · parent
I used to wonder why friends of mine would get gifts for things like graduating elementary school or even high school. I asked my father for something because I was graduating highschool on the honour roll, and he told me completely stoned faced "i am not going to reward you for things that you are just simply expected to do". That sticks with me 20 years later and I apply that to everything I do in life, especially work.
If you aren't succeeding, you are failing - and I was expected and taught to succeed by default.
comment 4y ago · link · parent
Discord is a blackhole for information that search engines cannot index, it is not a replacement for documentation.
I hate Discord with such a bloody passion, and this is one of the biggest reasons. People think "just ask on discord" is appropriate as a means of documentation, it absolutely is not.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
Trying to convince my team to use podman instead of docker (even though I've been using it myself primarily for months without issues), that's another story.