forgeddit

joined 2 years ago
[–] forgeddit@sopuli.xyz 9 points 2 weeks ago

The person you replied to doesn't know what they're talking about. It's just an example password used for running a local empty DB for development and has nothing to do with production or even test databases.

You can see this in the readme: https://archive.softwareheritage.org/browse/origin/directory/?origin_url=https%3A%2F%2Fgithub.com%2Fgsa-tts-archived%2Fai-gov-api

See my longer previous comment if you want to know more. And again, not defending this project, but this whole comment chain was just misinformation.

[–] forgeddit@sopuli.xyz 13 points 2 weeks ago

I'm really shocked by the confidence people have here with clearly zero knowledge.

".env_example" is literally just the example/template which is only updated if new "config" items are needed and it doesn't contain actual secrets.

Developers copy ".env"/prod and ".env_local" files, which are used for the specific environments. These are in .gitignore so that they're not accidentally pushed to .git.

For production the ".env" is generated during deployment from secrets in a locked up environment. (I mean they COULD fuck this up, but there's no evidence of this AFAIK)

The example postgres password is simply a "hello world" type password that is often used when running a local docker image of the DB so you can get a full dev environment running in a couple minutes, as mentioned in the readme.md: https://github.com/gsa-tts-archived/ai-gov-api

It's not even a testing environment, it's a temporary local/dev DB just so you can test your code.

I am NOT defending this project, but holy shit this thread is full of misinformation and I had to correct this.

[–] forgeddit@sopuli.xyz 18 points 2 months ago (1 children)

It was his grandfather who was arrested for being a technocrat while the party was banned during WW 2, and who moved to South Africa from Canada for a "white people's fight" against "global jews". https://www.theatlantic.com/technology/archive/2023/09/joshua-haldeman-elon-musk-grandfather-apartheid-antisemitism/675396/

Not saying his direct parents didn't hold similar beliefs.