Skip to content

Instantly share code, notes, and snippets.

@kdbaustert
Forked from repodevs/macOS.sh
Created February 16, 2021 02:56
Show Gist options
  • Select an option

  • Save kdbaustert/c885c63b322d74ed8ee94a7ba779a00d to your computer and use it in GitHub Desktop.

Select an option

Save kdbaustert/c885c63b322d74ed8ee94a7ba779a00d to your computer and use it in GitHub Desktop.
gpg: signing failed: Inappropriate ioctl for device macOS
❱ git config user.signingKey 38AF394C
❱ git config commit.gpgSign true
echo "test" | gpg --clearsign
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
test
gpg: signing failed: Inappropriate ioctl for device
gpg: [stdin]: clear-sign failed: Inappropriate ioctl for device
export GPG_TTY=$(tty)
echo "test" | gpg --clearsign
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
test
-----BEGIN PGP SIGNATURE-----
XXXXXX SUCCESS XXXX
-----END PGP SIGNATURE-----
ref: https://github.com/keybase/keybase-issues/issues/2798
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment