Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dream weave #1862

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

thatsme150313
Copy link

No description provided.

Copy link

@Davitcoin Davitcoin left a comment

Choose a reason for hiding this comment

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

Be carefull, sensitive data exposed, in your .env file, use gitignore

@hikafeng
Copy link
Contributor

Hi there, thank you for your contribution! 😊

I noticed that this commit includes the .env.local file, which contains some sensitive information, such as:

NEXT_PUBLIC_SUPABASE_URL
NEXT_PUBLIC_SUPABASE_ANON_KEY
SUPABASE_SERVICE_ROLE_KEY
Exposing such information can lead to potential security risks, such as unauthorized access or data breaches. To ensure the security of the project, I recommend the following steps:

Revoke the exposed keys and generate new ones: Log in to your Supabase dashboard, generate new keys, and revoke the old ones.
Add .env.local to your .gitignore file: This will prevent the file from being committed in the future.
Remove sensitive information from Git history: Use tools like BFG Repo-Cleaner or git filter-repo to clean up the sensitive data from the repository's history.
Recommit your code: After cleaning up the sensitive information, recommit and push the changes.
Protecting sensitive information is crucial for the security of the project. Thank you again for your contribution! Please feel free to reach out if you need any help with this. 😊

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.

3 participants