anonymous@hoi-polloi.org [2017-01-17 11:05:16+01] wrote:
gpg (GnuPG) 2.1.17
How to sign message with an 1SC key instead of 3S?
pub rsa****/0x1******* [SC]
sub rsa****/0x2******* [E]
sub rsa****/0x3******* [S]
sub rsa****/0x4******* [E]
Like this:
gpg2 --local-user 0x1*******! --sign ...
See that exclamation mark (!) there? If you add the exclamation mark
after a key id (or fingerprint) then exactly that (sub)key is used with
the operation.
--
/// Teemu Likonen - .-.. <
https://keybase.io/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///
--=-=-Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQEcBAEBCAAGBQJYfhQnAAoJEJM6NQQefq1RHvYH/2DxIiEi15ENUs6gUfvZITuX xVIHxw4Gp+M68A6CzDA6qFRyohBPKBr6H9+lpqklyxPJvoFL/JgcfHioNBJOvVxF LnJRX+Q+PKFi+SNzUxa+NPvOX0JPuidYtwdAfpen8/6StLhERYEt1oRqgq0J1sMc q9Mtx+09FS01kuA//Wc/uZkyFZ20Q7a0j+WU8yayk69vU8NRwIr5FIDE7q06YdXv Qbu8nCBGN+TvJ8W1k5m5MPtPvrd5URjp4IMVm2eCj0Ubr/jZGeAULJFyaQM+GKoJ W4HOcf7xgyi19ikzeEA1aqSOywpLYpJsyWZK2IM8zIu1jp6flK026za5AosOK5Q=M3jf
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)