"gpg: WARNING: unsafe permissions on homedir" 签名时 git 提交 Windows 10
"gpg: WARNING: unsafe permissions on homedir" when signing git commit on Windows 10
我正在使用 Kleopatra 创建 gpg 密钥(以便签署我的 git 提交),虽然它工作得很好,但当我尝试使用
列出我的密钥时
gpg --list-secret-keys --keyid-format LONG
我收到以下错误:
gpg: WARNING: unsafe permissions on homedir
`C:\Users\Daniel\AppData\Roaming\gnupg'
gpg: WARNING: using insecure memory!
我已经将 ..\gnupg\
的权限更改为仅 "Daniel"
并删除了属性 window 中的 SYSTEM and administrator permissions
。我还需要做什么?
1) 安装 Gpg4win
2) 运行 git config --global gpg.program "C:\Program Files (x86)\GnuPG\bin\gpg.exe"
这里是完整的答案https://github.com/Microsoft/vscode/issues/43809#issuecomment-366188770。
它帮助了我。
我正在使用 Kleopatra 创建 gpg 密钥(以便签署我的 git 提交),虽然它工作得很好,但当我尝试使用
列出我的密钥时gpg --list-secret-keys --keyid-format LONG
我收到以下错误:
gpg: WARNING: unsafe permissions on homedir
`C:\Users\Daniel\AppData\Roaming\gnupg'
gpg: WARNING: using insecure memory!
我已经将 ..\gnupg\
的权限更改为仅 "Daniel"
并删除了属性 window 中的 SYSTEM and administrator permissions
。我还需要做什么?
1) 安装 Gpg4win
2) 运行 git config --global gpg.program "C:\Program Files (x86)\GnuPG\bin\gpg.exe"
这里是完整的答案https://github.com/Microsoft/vscode/issues/43809#issuecomment-366188770。 它帮助了我。