Groups | Search | Server Info | Login | Register


Groups > comp.security.pgp.tech > #66

Re: define sign key

Path csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Teemu Likonen <tlikonen@iki.fi>
Newsgroups comp.security.pgp.tech
Subject Re: define sign key
Date Tue, 17 Jan 2017 14:55:03 +0200
Organization A noiseless patient Spider
Lines 40
Message-ID <874m0x6e3c.fsf@iki.fi> (permalink)
References <f41ee18bce7dee8e3714ae78273789f6@hoi-polloi.org>
Mime-Version 1.0
Content-Type multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature"
Injection-Info mx02.eternal-september.org; posting-host="5d2224cec14d7569ceb5eabb0dd5b113"; logging-data="1754"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/meig0/56JZbKdwXIo0xrbaRN3B7+TY1I="
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/25.1.91 (gnu/linux)
Cancel-Lock sha1:JRPkxazfUt6tM0q0RWs3iSTefhA= sha1:G18bPLTpq8CN8KBRSCii+CEQOm8=
Xref csiph.com comp.security.pgp.tech:66

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

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 ///

Back to comp.security.pgp.tech | Previous | NextPrevious in thread | Find similar


Thread

define sign key Anonymous <anonymous@hoi-polloi.org> - 2017-01-17 11:05 +0100
  Re: define sign key Teemu Likonen <tlikonen@iki.fi> - 2017-01-17 14:55 +0200

csiph-web