Closed winmasta closed 6 years ago
There is some files in .gitattributes
file and when I made git push from local machine those files are encrypted.
The problem was that I have aexported private key but should export secret one.
Had the same problem, thanks for tracking this down.
What if I don't have my secret key at all (it was generated on a yubikey and I only have my public key)? It worked fine on the main machine, but doesn't work on my laptop for some reason.
I have created GPG keypair with
gpg --gen-key
I have exported this key to a file and put it to another machine.
I have imported this key on another machine.
It was imported.
On local machine I have executed
in the project folder, then executed
to add public key to my git repo.
On another machine I have cloned my repo requred branch. Then I have tried to
git-crypt unlock
and I have got an errorWhat I did wrong ?