Commit Graph
16 Commits
Author SHA1 Message Date
Andre Neto 17f75eccb0 Netflox: read DB password from env; stop tracking archive with old password
database.py had the PostgreSQL password in plain text (inline literal repeated
in every psycopg2.connect call). It now reads NETFLOX_DB_PASSWORD once at
import time and raises RuntimeError if it is unset, so there is no default.

The committed Projeto_Netflox_*.zip embeds the same database.py and therefore
still carries the old password, so it is removed from the index
(git rm --cached; the file stays on disk outside the working tree). README.md
documents the env var and the archive removal.

Why: the credential must not live in the repository. The value is still in the
history and in any clone/cache, so it must be rotated.
2026-10-08 14:03:21 +01:00
alexalmeida2001 fcd17b1eba Add files via upload 2020-12-12 21:56:44 +00:00
agsNeto20 d1470ff157 Add files via upload 2020-12-12 13:40:18 +00:00
agsNeto20 3c30c99905 Delete database.py 2020-12-12 13:36:46 +00:00
agsNeto20 542669c135 Add files via upload 2020-12-12 06:31:39 +00:00
agsNeto20 add79df3bb Delete database.py 2020-12-12 06:25:04 +00:00
agsNeto20 7e0f9dd51a Update database.py 2020-12-11 22:09:10 +00:00
agsNeto20 4544366e2d Update database.py 2020-12-11 22:00:32 +00:00
agsNeto20 0ac7cd0ea7 Add files via upload 2020-12-10 20:01:58 +00:00
agsNeto20 a19ea572ef Delete database.py 2020-12-10 20:00:49 +00:00
alexalmeida2001 73e7d261e4 Update database.py 2020-12-06 12:30:47 +00:00
alexalmeida2001 efb7a2d4c7 Update database.py 2020-12-03 11:45:35 +00:00
alexalmeida2001 2ebc198a24 Update database.py 2020-12-02 16:24:43 +00:00
alexalmeida2001 e6e45ac990 Add files via upload
new stuff
2020-11-28 12:05:12 +00:00
agsNeto20 a8f45c59d9 Update database.py 2020-11-27 11:07:28 +00:00
agsNeto20 8f3ca62d95 Add files via upload 2020-11-26 12:50:21 +00:00