Closed spamwax closed 4 years ago
Regarding using git-crypt add-gpg-user KEYID in order to add a user/key the REAME says that
git-crypt add-gpg-user KEYID
Note: git-crypt add-gpg-user will add and commit a GPG-encrypted key file in the .git-crypt directory of the root of your repository
I'd like to know if this is the private key that's been committed or the public key, and if it is the public key why it's been encrypted/protected?
the symetric key is encrypted with the pub key of the user with the ID, so that only the user that has the private key can encrypt the file.
Regarding using
git-crypt add-gpg-user KEYID
in order to add a user/key the REAME says thatI'd like to know if this is the private key that's been committed or the public key, and if it is the public key why it's been encrypted/protected?