Skip to content

Conversation

@meiryleneavelino
Copy link

For this solution, bcrypt was used to encrypt the user's password before storing it in the database. Since tcpdump was still capturing passwords, I noticed that the front-end requests were being sent in plain text.

To address this, I generated two self-signed certificates with CN = localhost, uploaded the files to the project, and, in the main.go class, I created a function to start an HTTPS server and another function to redirect HTTP requests to HTTPS.

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.

1 participant