←back to thread

1208 points jamesberthoty | 1 comments | | HN request time: 0.243s | source
Show context
madeofpalk ◴[] No.45260948[source]
My main takeaway from all of these is to stop using tokens, and rely on mechanisms like OIDC to reduce the blast radius of a compromise.

How many tokens do you have lying around in your home directory in plain text, able to be read by anything on your computer running as your user?

replies(1): >>45261000 #
diggan ◴[] No.45261000[source]
> How many tokens do you have lying around in your home directory in plain text, able to be read by anything on your computer running as your user?

Zero? How many developers have plain-text tokens lying around on disk? Avoiding that been hammered into me from every developer more senior than me since I got involved with professional software development.

replies(5): >>45261018 #>>45261050 #>>45261136 #>>45261146 #>>45261317 #
mewpmewp2 ◴[] No.45261018[source]
How do you manage secrets for your projects?
replies(2): >>45261045 #>>45261228 #
diggan ◴[] No.45261045[source]
Using a password manager for fetching them when needed. 1Password in my case, but I'm sure any password manager can be used for storing secrets for most programming projects.
replies(3): >>45261088 #>>45261546 #>>45261567 #
1. loloquwowndueo ◴[] No.45261546[source]
Fun fact : Bitwarden’s cli is written in JavaScript and needs Node.js to run.