gotOK I'm a little new when it comes to Git. So I decided to read Pro Git by Scott Chacon. Great BTW book, highly recommend.
In any case, I got into the "Signed Tags" section. To sign a tag with GPG, you must have the secret key that I make installed. However, when I ran:
git tag -s v1.6 -m "my signed 1.6 tag"
I got the following:
C:\Users\Name\Desktop\git>git tag -s v1.6 -m "my signed 1.6 tag" gpg: error loading `iconv.dll': The specified module could not be found. gpg: please see http:
So, I did what the error message told me, and went to the link and followed the instructions. I copied iconv.dll to the folder with gpg.exe (\ Git \ bin). Run the command again and get:
C:\Users\Name\Desktop\git>git tag -s v1.6 -m "my signed 1.6 tag" gpg: skipped "Name < name@gmail.com >": secret key not available gpg: signing failed: secret key not available error: gpg failed to sign the data error: unable to sign the tag
EDIT:
When I try to list my private keys, I get this error.
Name@NAME-PC ~ $ gpg --list-secret-keys gpg: keyblock resource `c:/Users/Name/.gnupg\secring.gpg': file open error gpg: keyblock resource `c:/Users/Name/.gnupg\pubring.gpg': file open error gpg: fatal: c:/Users/Name/.gnupg: directory does not exist! secmem usage: 0/0 bytes in 0/0 blocks of pool 0/32768
source share