List Info

Thread: Questions I would like to find in a sub-keys FAQ. I miss theanswers.




Questions I would like to find in a sub-keys FAQ. I miss theanswers.
user name
2006-10-24 13:43:01

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

In reply to Jose Simoes's message sent 2006-10-24 05:05:

> Thanks for the answers about sub-keys
>
> Questions I would like to find in a sub-keys FAQ. I miss the
> answers (

> (a) sub-keys are created in pars (private+public) or just one key at
> a time.

Pub/pvt pairs. It makes no sense to have one without the other, else the
one has no purpose (only a pvt key can decrypt that encrypted to the
matching pub key, and only a pub key can be used to verify a sig issued
by the matching pvt key).

> (b) can any sub-key be used to encrypt AND to sign documents?

A key (subkey) can be flagged for either or both purposes. Keep in mind
that the type of key must be appropriate to the intended purpose (ie,
you can't sign with an encryption only subkey (ie, Elg-E (DH)).

> (c) Can sub-keys share the same password / phrase with the main key
> and other sub-keys ?

All keys are arranged in a package, and the package is encrypted with a
single passphrase. It's not trivial to arrange things so that each
subkey has a different passphrase. This can be done, as it is on my
system so that message signing can be performed with a different
passphrase then data signing, but this entails that I keep multiple
keyrings with different copies of my key containing different subkeys
and encrypted with a different passhrase on each separate keyring.

> (d) If I have a valid (main) public + private encrypted key +
> appropriate password can I generate any number of sub-keys with any
> time limit and anytime I want?

Yes.

> (e) Someone with 2 different of my (public?) sub-keys and its
> fingerprints has a good change of find out the are sub-keys of the
> same key?

The subkeys are part of an entire key package known by the keyid (and
fingerprint) of the master signing key (primary key). It's not just a
good chance. It's definite. Take this mesage, for example. It is signed
with a subkey. Your verification output should inform you of the
fingerprint of the subkey used to sign the message, and the fingerprint
of the main key to which the subkey belongs.

> (f) Can I use a expired sub-key (knowing the encrypted sub-key and
> the password) to decrypt or check the signature of a document -
> probably encrypted or signed long ago when when the key was valid ?

Yes.

> (g) If some one signs my main key is it necessary to signed any sub-
> key (more: and if the sub-key was created after the signature?) .

Only the primary key is signed.

You sign your own keys (self-signing) to indicate that all the keys in
your package are your authentic keys. Self-signing is part of the key
generation process. Others sign only your primary key because that's the
only key you can use to issue signatures to authenticate other UID's or
subkeys. Others sign the key that's used to sign keys. It's a path that
can be followed. There is no need for someone to sign a subkey because
they can sign the key that signed the subkey.

> (h) Can I create a revocation certificate for a sub-key if I lost
> the sub-key (but still have everything about the main key).

The most recently generated subkey is used by default, so it's no big
deal if you are unable to revoke a subkey. Just replace it by generating
a new subkey.

- --
List Moderator, PGP Encryption Help Team

Mike Daigle http://www.mikedaigle.ca
My PGP Key Send email with subject=pgpkey-request
Gossamer Spider Web of Trust http://www.gswot.org

-----BEGIN PGP SIGNATURE-----
Comment: GSWoT:CA1 Gossamer Spider Web of Trust www.gswot.org
Comment: Mike Daigle Ontario, Canada www.mikedaigle.ca

iEYEAREDAAYFAkU+GIkACgkQTvHh4CsVTmImTgCgnIUV5RXKry7iPWyc+h1AUDvN
33QAoKeHWx0/dPk7dtG7o9rTRsnhih65
=G5bT
-----END PGP SIGNATURE-----

__._,_.___
.

__,_._,___
Questions I would like to find in a sub-keys FAQ. I miss theanswers.
user name
2006-10-24 17:44:13

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Michael Daigle wrote:
> Only the primary key is signed.

This is a GnuPG keydump of key 0xFEAF8109.

tru::0:1155626826:0:3:1:5
pub:u:2048:1:B700F482FEAF8109:1109070193:::u:::scESC:
rvk:::17::::::7B279258D06B6AA89A48EA9C4E8FF9863D7489C0:80:
fpr:::::::::CE11CA95FF8AF9F97F8D1D84B700F482FEAF8109:
sig:::1:B700F482FEAF8109:1125447456::::Robert J. Hansen:1fx:
uid:u::::1124448219::39B1321959FFCED2E80E40B4405D136721BD8276::Robert J.
Hansen:
sig:::17:7AE51D9C5B8709EB:1109070262::::Robert J. Hansen
< rjh%40sixdemonbag.org">rjhsixdemonbag.org>:10x:
sig:::17:4E8FF9863D7489C0:1109720509::::Raven Alder
<; raven%40oneeyedcrow.net">ravenoneeyedcrow.net>:10x:
sig:::17:71E41E33197B4294:1125022712::::amccaleb (Personal)
< aaron%40mccaleb.us">aaronmccaleb.us>:12x:
sig:::1:5588386268070A2C:1135738640::::Aaron McCaleb:13x:
sig:::1:B700F482FEAF8109:1109070193::::Robert J. Hansen:13x:
sig:::1:B700F482FEAF8109:1109070573::::Robert J. Hansen:13x:
sig:::1:B700F482FEAF8109:1109442868::::Robert J. Hansen:13x:
sig:::1:B700F482FEAF8109:1111634612::::Robert J. Hansen:13x:
sig:::1:B700F482FEAF8109:1124448219::::Robert J. Hansen:13x:
sub:u:2048:1:97B2C95A0569E3E6:1109070223::::::e:
fpr:::::::::285BFD29600F2833A8B703E597B2C95A0569E3E6:
sig:::1:B700F482FEAF8109:1109070223::::Robert J. Hansen:18x:

... Take special note of the last line in the output. That's a
signature attached to the encryption subkey mentioned two lines above.

Subkeys _are_ signed. They're just signed by the certificate's primary
signing key.

The RFC allows for multiple signatures, I believe. However, nobody does
this in practice.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iQEcBAEBCgAGBQJFPlB7AAoJELcA9IL+r4EJIhEIANfyT/Pz4yc+1jW/OAw3Psho
+aYPzOpOfBAcBQEdCBp4b1vh2AfWCDo6NTOqoP0AxWYHBOgejlzA2tFd7iGTc68r
JQEEOUaQ5TafIo/DzzOi5voBws/hGRSjKtyLpya+;2TsmPw29N0XrHjGI52vHxNsJ
6z1ziDlcqBI+;F9DWY/gqcOj/qnxcQKbGBOFFytYtWjXgXXwikgaU7H+vwhWAuE3N
lew3uPCkmHnlCFUYE9b9QCfOaxImjbyErG7EWqa/V1MJVF2oY2sYgpPyMAU74LOc
ov/iPbsSOJuOFi/vX/BH/5HeOuZKuSE/ri/mMM8e1WCU7g8BdGZmbzf1fa9pizw=
=BkiL
-----END PGP SIGNATURE-----

__._,_.___
.

__,_._,___
Questions I would like to find in a sub-keys FAQ. I miss theanswers.
user name
2006-10-24 19:17:19

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

In reply to Robert J. Hansen's message sent 2006-10-24 13:44:

>> Only the primary key is signed.

> Subkeys _are_ signed. They're just signed by the certificate's
> primary signing key.

Right. Jose was referring to others' sigs on his key, though.

> The RFC allows for multiple signatures, I believe. However, nobody
&gt; does this in practice.

It doesn't really seem practical for most uses. I suppose it could come
in handy if you must trust subkeys for encryption and avoid establishing
trust with sign + encrypt keys.

- --
List Moderator, PGP Encryption Help Team

Mike Daigle http://www.mikedaigle.ca
My PGP Key Send email with subject=pgpkey-request
Gossamer Spider Web of Trust http://www.gswot.org

-----BEGIN PGP SIGNATURE-----
Comment: GSWoT:CA1 Gossamer Spider Web of Trust www.gswot.org
Comment: Mike Daigle Ontario, Canada www.mikedaigle.ca

iEYEAREDAAYFAkU+Zv0ACgkQTvHh4CsVTmLC7wCeKzVTqOLjwUuONMAuXGsiyMq4
J6AAoIALJnSA4xAzcfTcDSszqea5+uAI
=xch5
-----END PGP SIGNATURE-----

__._,_.___
.

__,_._,___
Questions I would like to find in a sub-keys FAQ. I miss theanswers.
user name
2006-10-24 19:26:39

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Michael Daigle wrote:
&gt;>>&gt; Only the primary key is signed.
&gt;
>>> Subkeys _are_ signed. They're just signed by the certificate's
>&gt;> primary signing key.
>
> Right. Jose was referring to others' sigs on his key, though.

In that case, I apologize for misunderstanding what you meant. Your
answer was still flawed, though.

If you look after the 'pub' row in the output I just gave you, you only
see one signature there: the self-sig. Other people's signatures are
applied only to user IDs on the key. (I think user-attribute fields can
also be signed by others, but I'm not entirely sure.)

> [Additional subkey sigs don't] really seem practical for most uses.

Agreed.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iQEcBAEBCgAGBQJFPmjvAAoJELcA9IL+r4EJYo0IAJyBB&#43;7KNeZWmuXZDI6Rvpis
Wtf0GCMIpoD3YKidG4zBKVkbU4VikuQlWeeetbfTECakHjmmcTTz3WnAK0SwU5hq
VNJQkJXMI4DLTkVk3aQd0kHZuOmJdb+XbSuVNSFDEP2mOF2wub77/+okdvWVFBZb
wLzohCAxgNpaR8TvzZ93UNySplpPBJf1lEAAadVtMQGUD&#43;LS5bTnYxzgPHvS3goP
RB/KeB8d9/sV0QgPddYc+7P77GtqyPUJrcXHd99PQEXm30PN8WSb6b9/hSUjQNbg
M3GkVxsJ4x742wxC7SGsAJmcCj+iulFet7y0fTbhvXkj7sOZIs4Oq2W5woQTsPM=
=xT9o
-----END PGP SIGNATURE-----

__._,_.___
.

__,_._,___
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )