양조에서 GPG가 설치되었습니다.git - mac osx에 gpg : 오류 : gpg 데이터에 서명하지 못했습니다.
brew install gpg
gnupg2-2.0.30_2입니다. 내가 커밋 할 때
, 나는 오류 메시지가 수행
gpg --list-secret-keys | grep ^sec
하고 저를 다시 제공합니다 :
sec 2048R/1111AAAA 2017-01-05
다음
내가 사용하는 내가 명령을 사용
You need a passphrase to unlock the secret key for
user: "Max Mustermann (mycomment) <[email protected]>"
2048-bit RSA key, ID 1111AAAA, created 2017-01-05
error: gpg failed to sign the data
fatal: failed to write commit object
이 명령 :
git config --global user.signingkey 1111AAAA
커밋하면 다시 같은 오류 메시지가 표시됩니다.
이 문제를 어떻게 해결할 수 있습니까?
https://stackoverflow.com/a/47087170/3782119 –
도 참조하십시오 https://stackoverflow.com/questions/39494631/gpg-failed-to-sign-the-data-fatal-failed -write-commit-object-git-2-10-0 (가능한 중복) –
및 https://stackoverflow.com/questions/41052538/git-error-gpg-failed-to-sign-data (가능한 중복) –