|
Ming,
I do not understand why the protected HOTP key value (secret) should know anything about how the key was derived.
I mean at the end the transported key is encrypted with AES-128-CBC.
So would it not be cleaner to leave all the derivation related business to the element that is under KeyContainer?
Ii would also assume that:
'
<pskc:Secret>
<pskc:EncryptedValue Id="ED">
<xenc:EncryptionMethod Algorithm= "http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2"> <pskc:EncryptionScheme Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>' is NOT XMLenc standard compliant whereas:
<Secret>
<EncryptedValue> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"/> <xenc:CipherData> is Philip
From: Pei, Mingliang [mailto:mpei at verisign.com] Sent: Wed 02/09/2009 21.48 To: Philip Hoyer; Hannes.Tschofenig at gmx.net; Phillip Hallam-Baker; Salah Machani; Sean Turner Cc: Doherty, Andrea; Magnus Nyström; KEYPROV Subject: RE: New version of PSKC The reason is that DerivedKey portion only describe how a key is derived for a desired length, not indicating how a key is used. For PBES2, the encryption scheme parameter is required. It should either go to PKCS#5 parameters, or EncryptionMethod part of the xenc:EncryptedDataType. We chose the second one. The encrytion key element contains only the key portion as we have been doing, similar to the pre-shared key case. It is consistent. The common element EncryptionKey includes the key data information, not the encryption algorithm information.
- Ming
|