I've set up my Yubikey 4 to be a smartcard in GPG and I can sign, verify, encrypt, etc when using the GPG command, but when I try,
Code:
git commit -S -m "example"
I get given the following response.
Code:
iMac:test user$ git commit -S -m "example"
scdaemon[9428]: pcsc_control failed: invalid parameter (0x80100004)
scdaemon[9428]: pcsc_vendor_specific_init: GET_FEATURE_REQUEST failed: 65538
scdaemon[9428]: signatures created so far: 5
scdaemon[9428]: DBG: asking for PIN '||Please enter the PIN%0A[sigs done: 5]'
scdaemon[9428]: PIN callback returned error: IPC call has been cancelled
scdaemon[9428]: app_sign failed: IPC call has been cancelled
gpg: signing failed: Inappropriate ioctl for device
gpg: signing failed: Inappropriate ioctl for device
error: gpg failed to sign the data
fatal: failed to write commit object
scdaemon[9428]: updating slot 0 status: 0x0000->0x0007 (0->1)
scdaemon[9428]: scdaemon (GnuPG) 2.0.30 stopped
Any help would be appreciated, this only occurs when using git, nothing else.