News for hackers. Stuff that matters.
Re:The Twelve-Factor App (2011) by metadat on Friday April 29, 2022 @12:25AM (#31201423)
Then I'll just pull it from the processes memory directly. It's security through obscurity at best.
Re:The Twelve-Factor App (2011) by mumblemumble on Friday April 29, 2022 @12:39AM (#31201515)
It seems to me in line with the comment that the post quoted:

> Ultimately, secrets need to live somewhere and need to be accessed as plain text. Just make sure that the access as small window is as [sic] possible, and try to obliterate it after use, if possible.

This is not an all-or-nothing situation; it's a game of mitigation. If the process needs to retain the secret in memory, true, there's not much you can do about that. But I don't think that minimizing where else you're storing it is just security through obscurity. Fewer possible attack vectors is still fewer possible attack vectors.

Re:The Twelve-Factor App (2011) by metadat on Friday April 29, 2022 @01:26AM (#31201753)
Now, if you encrypt them in memory, or even better obtain the creds in an audited fashion, use them and clear the memory promptly, it's slightly better.
Re:The Twelve-Factor App (2011) by Rapzid on Friday April 29, 2022 @03:21AM (#31202339)
Just an arbitrary file read vulnerability away at /proc/$pid/mem