Skip to content

Fix/9 Isolation of SECRETS#14

Open
falconmath27 wants to merge 1 commit intomainfrom
fix/secure-env-variables
Open

Fix/9 Isolation of SECRETS#14
falconmath27 wants to merge 1 commit intomainfrom
fix/secure-env-variables

Conversation

@falconmath27
Copy link
Copy Markdown
Collaborator

@falconmath27 falconmath27 commented Jan 21, 2026

Fixed #13 Isolation of secrets

@falconmath27 falconmath27 changed the title Moved SECRET_KEY to .env file Fix/9 Isolation of SECRETS Jan 21, 2026
Comment thread server/.env.example
@@ -1 +1 @@
SECRET_KEY=paste_your_secret_key_here No newline at end of file
SECRET_KEY=os.getenv("SECRET_KEY") No newline at end of file
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good job.

There are some small issues here.
'os.getenv' is used to get the value of a env variable FROM env TO python.
You have given example as os.getenv(...)

the previous value given in .env.example ("paste_your_secret_key_here") was appropriate.

Comment thread server/db.sqlite3
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you are adding this file, please make sure to ignore it in .gitignore.

Copy link
Copy Markdown
Owner

@MrBottleTree MrBottleTree left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work overall, just a few changes buddy and we can proceed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants