W3C home > Mailing lists > Public > public-xmlsec@w3.org > December 2012

Re: updated XML Encryption 1.1 editors draft for 6.1.3 security consideration

From: <Frederick.Hirsch@nokia.com>
Date: Tue, 4 Dec 2012 15:05:01 +0000
To: <juraj.somorovsky@rub.de>
CC: <Frederick.Hirsch@nokia.com>, <public-xmlsec@w3.org>, <tibor.jager@gmail.com>, <tlr@w3.org>
Message-ID: <1CB2E0B458B211478C85E11A404A2B270184150C@008-AM1MPN1-034.mgdnok.nokia.com>

I think what you are saying is that it would help to clarify how key derivation using the algorithm identifier is done. We have definitions for key derivation functions in the spec as well as algorithm ids. Are you suggesting that we need to be clear how to create the master secret, e.g. prepend the master key with the algorithm id, etc? What kind of text would you be suggesting?

If this is the case, would an informative example suffice?

I'm concerned because the specification is already "frozen" and we are on path to publish final recommendation. We decided to incorporate the security consideration at the last minute since is informative, but adding normative text would imply a new cycle of interop testing, repeat of all process steps, and a significant delay in publication, which may not be possible.

Perhaps there is a way we can avoid another cycle yet address the concern.

regards, Frederick

Frederick Hirsch, Nokia
Chair XML Security WG

On Dec 4, 2012, at 9:25 AM, ext Juraj Somorovsky wrote:

> Hi Frederick,
> thanks for CC'ing us, there are our thoughts.
> On 12/03/2012 03:51 PM, Frederick.Hirsch@nokia.com wrote:
>>  2.  Implementations using symetric keys should not use the same key material for different algorithms, even if serving the same purpose. Key derivation based on a single key and the algorithm identifier can be used to accomplish this, for example.
>>  3.  Implementations that plan to use the same symetric key for both confidentiality and integrity functions should use it as the basis for a key derivation producing different keys for those functions.
> We are puzzled what is the difference between these two points.
> Is 2. meant to be specifically for AES-CBC / AES-GCM and 3. specifically
> for AES-CBC / HMAC ?
> If yes, would it be not better readable to summarize 2. and 3. into one
> point?
>> On a related note, should we define in XML Encryption 1.1 the specific key derivation function to derive a key based on algorithm identifier and key? I'm concerned about what this means for interop and progressing the specification. If we do need this I suggest we might progress it as an independent specification, but am not sure we need to do this. Thoughts?
> We think it is necessary to include the key derivation function into the
> standard (for interoperability reasons as well as for better understanding).
> Thank you
> Juraj and Tibor
Received on Tuesday, 4 December 2012 15:05:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:42:31 UTC