[Tiny Tips] GnuPG commands (to be continued)
Sign (or perform some other operations) with a specific subkey:
gpg -u <subkey id>! --sign ...
Example:
gpg -u 1234ABCD! --sign something.txt
Ref:
- How to select a specific subkey for signing?
- About how gpg select the keys to be used: Priority of GnuPG subkey selection during encryption - Stack Exchange