Problem signing git commits with smartcard key
gniibe at fsij.org
Fri Jun 1 04:57:26 CEST 2018
If I understand correctly, you put:
your primary key to the OPENPGP.1 on card.
your subkey of SEA capability to the OPENPGP.2 on card.
your subkey of A capability to the OPENPGP.3 on card.
In this configuration, the OPENPGP.2 key on card is only for decryption.
You can't sign with that, even if its capability is specified Sign,
Encryption, and Authentication.
In OpenPGP card specification, three keys are different.
You can have a subkey with Sign capability and put it to OPENPGP.1 key
More information about the Gnupg-users