ietf-openpgp
[Top] [All Lists]

Re: Primary subkey subpacket

2002-08-14 10:05:58

On Wed, Aug 14, 2002 at 09:14:56AM +0200, Werner Koch wrote:

On Tue, 13 Aug 2002 23:58:44 +0200, Timo Schulz said:

Recently I stumbled over a problems with multiple subkeys. I know
PGP doesn't let the user choose the key at all and GPG uses the
newest key by default. What about a "primary subkey" subpacket

I don't think this is needed.  If a subkey is published a sending
implementation may choose any of the valid subkeys for encryption.
Although not specified in OpenPGP, it should select the newest one as
long as it has no creation date in the future.

I imagine a primary subkey flag as more of a tie-breaker.  If an
implementation wanted to ignore the flag (whether for PFS or other
reasons), that would be fine.  If the implementation did not care, or
could not reach a decision, the primary subkey would be chosen.

David

-- 
   David Shaw  |  dshaw(_at_)jabberwocky(_dot_)com  |  WWW 
http://www.jabberwocky.com/
+---------------------------------------------------------------------------+
   "There are two major products that come out of Berkeley: LSD and UNIX.
      We don't believe this to be a coincidence." - Jeremy S. Anderson