DEV Community

Discussion on: Mac OS for the Web!

 
mohammad_mahdi profile image
Info Comment hidden by post author - thread only visible in this permalink
Muhammad Mahdi • Edited

Thanks :)

  1. For your first question, I had the mistake of adding my github's account private key to the repository source.
    now I remove them all.

  2. I'm glad about that :)
    I had no idea what vanilla meant 😅(of course, now I know).

Thread Thread
 
nicolasdanelon profile image
Info Comment hidden by post author - thread only visible in this permalink
Nicolás Danelón

you are 14? really?
btw, be careful on how you remove those private keys. one commit removing the files is not enough

Thread Thread
 
Sloan, the sloth mascot
Comment deleted
 
enter801 profile image
Info Comment hidden by post author - thread only visible in this permalink
Schlick Jones

Just change the keys if you've exposed a private key. As a general rule, never commit a private key on a public repository and really it's best to not ever and use something more secure like Hashicorp Vault or AWS's tools for secrets.

Thread Thread
 
blackr1234 profile image
Info Comment hidden by post author - thread only visible in this permalink
blackr1234

To OP: See this for GitHub's official guide about removing sensitive data: docs.github.com/en/authentication/...

Some comments have been hidden by the post's author - find out more