draft-ietf-keyprov-symmetrickeyformat-02.txt   draft-ietf-keyprov-symmetrickeyformat-03.txt 
KEYPROV Working Group Sean Turner, IECA KEYPROV Working Group Sean Turner, IECA
Internet Draft Russ Housley, Vigil Security Internet Draft Russ Housley, Vigil Security
Intended Status: Standard Track February 25, 2008 Intended Status: Standard Track July 14, 2008
Expires: August 25, 2008 Expires: January 14, 2009
Symmetric Key Package Content Type Symmetric Key Package Content Type
draft-ietf-keyprov-symmetrickeyformat-02.txt draft-ietf-keyprov-symmetrickeyformat-03.txt
Status of this Memo Status of this Memo
By submitting this Internet-Draft, each author represents that any By submitting this Internet-Draft, each author represents that any
applicable patent or other IPR claims of which he or she is aware applicable patent or other IPR claims of which he or she is aware
have been or will be disclosed, and any of which he or she becomes have been or will be disclosed, and any of which he or she becomes
aware will be disclosed, in accordance with Section 6 of BCP 79. aware will be disclosed, in accordance with Section 6 of BCP 79.
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF), its areas, and its working groups. Note that Task Force (IETF), its areas, and its working groups. Note that
skipping to change at page 1, line 33 skipping to change at page 1, line 33
and may be updated, replaced, or obsoleted by other documents at any and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress." material or to cite them other than as "work in progress."
The list of current Internet-Drafts can be accessed at The list of current Internet-Drafts can be accessed at
http://www.ietf.org/ietf/1id-abstracts.txt http://www.ietf.org/ietf/1id-abstracts.txt
The list of Internet-Draft Shadow Directories can be accessed at The list of Internet-Draft Shadow Directories can be accessed at
http://www.ietf.org/shadow.html http://www.ietf.org/shadow.html
This Internet-Draft will expire on August 18, 2008. This Internet-Draft will expire on January 14, 2008.
Copyright Notice Copyright Notice
Copyright (C) The IETF Trust (2008). Copyright (C) The IETF Trust (2008).
Abstract Abstract
This document defines the symmetric key format content type. It is This document defines the symmetric key format content type. It is
transport independent. The Cryptographic Message Syntax can be used transport independent. The Cryptographic Message Syntax can be used
to digitally sign, digest, authenticate, or encrypt this content to digitally sign, digest, authenticate, or encrypt this content
type. type.
Table of Contents Table of Contents
1. Introduction...................................................2 1. Introduction...................................................2
1.1. Requirements Terminology..................................2 1.1. Requirements Terminology..................................2
1.2. ASN.1 Syntax Notation.....................................2 1.2. ASN.1 Syntax Notation.....................................2
2. Use Cases......................................................3 2. Use Cases......................................................3
2.1. Offline Use Cases.........................................3 2.1. Online Use Cases..........................................3
2.1.1. Credential migration by end-user.....................3 2.1.1. Transport of Keys from Server to Cryptomodule........3
2.1.2. Bulk import of new credentials.......................3 2.1.2. Transport of Keys from Cryptomodule to Cryptomodule..3
2.1.3. Bulk migration of existing credentials...............3 2.1.3. Transport of Keys from Cryptomodule to Server........3
2.1.4. Credential upload case...............................3 2.1.4. Server to Server Bulk Import/Export of Keys..........4
2.2. Online Use Cases..........................................3 2.2. Offline Use Cases.........................................4
2.2.1. Online provisioning a credential to end-user's 2.2.1. Server to Server Bulk Import/Export of Keys..........4
authentication token........................................3 3. Symmetric Key Package Content Type.............................5
2.2.2. Server to server provisioning of credentials.........3 4. Security Considerations........................................6
2.2.3. Online update of an existing authentication token 5. IANA Considerations............................................6
credential..................................................3 6. References.....................................................6
3. Symmetric Key Package Content Type.............................4 6.1. Normative References......................................6
4. Security Considerations........................................5 6.2. Non-Normative References..................................7
5. IANA Considerations............................................5 APPENDIX A: ASN.1 Module..........................................8
6. References.....................................................5
6.1. Normative References......................................5
6.2. Non-Normative References..................................5
APPENDIX A: ASN.1 Module..........................................6
1. Introduction 1. Introduction
This document defines the symmetric key format content type. It is This document defines the symmetric key format content type. It is
transport independent. The Cryptographic Message Syntax [RFC3852] can transport independent. The Cryptographic Message Syntax [RFC3852] can
be used to digitally sign, digest, authenticate, or encrypt this be used to digitally sign, digest, authenticate, or encrypt this
content type. content type.
1.1. Requirements Terminology 1.1. Requirements Terminology
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in [RFC2119]. document are to be interpreted as described in [RFC2119].
1.2. ASN.1 Syntax Notation 1.2. ASN.1 Syntax Notation
The key package is defined using the ASN.1 [X.680,X.681]. The key package is defined using the ASN.1 [X.680, X.681, X.682,
X.683].
2. Use Cases 2. Use Cases
2.1. Offline Use Cases These use cases help in understanding the applicability of this
specification to real world situations.
2.1.1. Credential migration by end-user 2.1. Online Use Cases
2.1.2. Bulk import of new credentials This section describes the use cases related to provisioning the keys
using an online provisioning protocol such as [DSKPP].
2.1.3. Bulk migration of existing credentials 2.1.1. Transport of Keys from Server to Cryptomodule
2.1.4. Credential upload case For example, a mobile device user wants to obtain a symmetric key for
use with a cryptomodule on the device. The cryptomodule client from
vendor A initiates the provisioning process against a provisioning
system from vendor B using a standards-based provisioning protocol
such as [DSKPP]. The provisioning entity delivers one or more keys
in a standard format that can be processed by the mobile device.
2.2. Online Use Cases For example, in a variation of the above, instead of the user's
mobile phone, a key is provisioned in the user's soft token
application on a laptop using a network-based online protocol. As
before, the provisioning system delivers a key in a standard format
that can be processed by the soft token on the PC.
2.2.1. Online provisioning a credential to end-user's authentication For example, the end-user or the key issuer wants to update or
token configure an existing key in the cryptomodule and requests a
replacement key container. The container may or may not include a
new key and may include new or updated key attributes such as a new
counter value in HOTP key case, a modified response format or length,
a new friendly name, etc.
2.2.2. Server to server provisioning of credentials 2.1.2. Transport of Keys from Cryptomodule to Cryptomodule
2.2.3. Online update of an existing authentication token credential For example, a user wants to transport a key from one cryptomodule to
another. There may be two cryptographic modules, one on a computer
one on a mobile phone, and the user wants to transport a key from the
computer to the mobile phone. The user can export the key and
related data in a standard format for input into the other
cryptomodule.
2.1.3. Transport of Keys from Cryptomodule to Server
For example, a user wants to activate and use a new key and related
data against a validation system that is not aware of this key. This
key may be embedded in the cryptomodule (e.g., SD card, USB drive)
that the user has purchased at the local electronics retailer. Along
with the cryptomodule, the user may get the key on a CD or a floppy
in a standard format. The user can now upload via a secure online
channel or import this key and related data into the new validation
system and start using the key.
2.1.4. Server to Server Bulk Import/Export of Keys
From time to time, a key management system may be required to import
or export keys in bulk from one entity to another.
For example, instead of importing keys from a manufacturer using a
file, a validation server may download the keys using an online
protocol. The keys can be downloaded in a standard format that can
be processed by a validation system.
For example, in a variation of the above, an OTA key provisioning
gateway that provisions keys to mobile phones may obtain key material
from a key issuer using an online protocol. The keys are delivered
in a standard format that can be processed by the key provisioning
gateway and subsequently sent to the end-user's mobile phone.
2.2. Offline Use Cases
This section describes the use cases relating to offline transport of
keys from one system to another, using some form of export and import
model.
2.2.1. Server to Server Bulk Import/Export of Keys
For example, cryptomodules such as OTP authentication tokens, may
have their symmetric keys initialized during the manufacturing
process in bulk, requiring copies of the keys and algorithm data to
be loaded into the authentication system through a file on portable
media. The manufacturer provides the keys and related data in the
form of a file containing records in standard format, typically on a
CD. Note that the token manufacturer and the vendor for the
validation system may be the same or different. Some crypto modules
will allow local PIN management (the device will have a PIN pad)
hence random initial PINs set at manufacturing should be transmitted
together with the respective keys they protect.
For example, an enterprise wants to port keys and related data from
an existing validation system A into a different validation system B.
The existing validation system provides the enterprise with a
functionality that enables export of keys and related data (e.g., for
OTP authentication tokens) in a standard format. Since the OTP
tokens are in the standard format, the enterprise can import the
token records into the new validation system B and start using the
existing tokens. Note that the vendors for the two validation
systems may be the same or different.
3. Symmetric Key Package Content Type 3. Symmetric Key Package Content Type
The symmetric key package content type is used to transfer one or The symmetric key package content type is used to transfer one or
more plaintext symmetric keys from one party to another. A symmetric more plaintext symmetric keys from one party to another. A symmetric
key package MAY be encapsulated in one or more CMS protecting content key package MAY be encapsulated in one or more CMS protecting content
types. This content type must be DER encoded [X.690]. types. This content type must be DER encoded [X.690].
The symmetric key package content type has the following syntax: The symmetric key package content type has the following syntax:
skipping to change at page 5, line 34 skipping to change at page 6, line 37
None: All identifiers are already registered. Please remove this None: All identifiers are already registered. Please remove this
section prior to publication as an RFC. section prior to publication as an RFC.
6. References 6. References
6.1. Normative References 6.1. Normative References
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, March 1997. Requirement Levels", BCP 14, RFC 2119, March 1997.
[X.680] ITU-T Recommendation X.680: Information Technology - Abstract [X.680] ITU-T Recommendation X.680 (2002) | ISO/IEC 8824-1:2002.
Syntax Notation One, 1997. Information Technology - Abstract Syntax Notation One.
[X.681] ITU-T Recommendation X.680: Information Technology - Abstract [X.681] ITU-T Recommendation X.681 (2002) | ISO/IEC 8824-2:2002.
Syntax Notation One: Information Object Spcification, 1997. Information Technology - Abstract Syntax Notation One: Information
Object Specification.
[X.690] ITU-T Recommendation X.690 Information Technology - ASN.1 [X.682] ITU-T Recommendation X.682 (2002) | ISO/IEC 8824-3:2002.
encoding rules: Specification of Basic Encoding Rules (BER), Information Technology - Abstract Syntax Notation One: Constraint
Canonical Encoding Rules (CER) and Distinguished Encoding Rules Specification.
(DER), 1997.
[X.683] ITU-T Recommendation X.683 (2002) | ISO/IEC 8824-4:2002.
Information Technology - Abstract Syntax Notation One:
Parameterization of ASN.1 Specifications.
[X.690] ITU-T Recommendation X.690 (2002) | ISO/IEC 8825-1:2002.
Information Technology - ASN.1 encoding rules: Specification of Basic
Encoding Rules (BER), Canonical Encoding Rules (CER) and
Distinguished Encoding Rules (DER).
6.2. Non-Normative References 6.2. Non-Normative References
[DSKPP] Doherty, A., Pei, M., Machani, S., and M. Nystrom, "Dynamic
Symmetric Key Provisioning Protocol (DSKPP)", work-in-progress.
[RFC3852] Housley, R., "Cryptographic Message Syntax (CMS)", RFC3852, [RFC3852] Housley, R., "Cryptographic Message Syntax (CMS)", RFC3852,
July 2004. July 2004.
APPENDIX A: ASN.1 Module APPENDIX A: ASN.1 Module
This appendix provides the normative ASN.1 definitions for the This appendix provides the normative ASN.1 definitions for the
structures described in this specification using ASN.1 as defined in structures described in this specification using ASN.1 as defined in
X.680 and X.681. [X.680] through [X.683].
SymmetricKeyPackageModulev1 SymmetricKeyPackageModulev1
{ iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9)
smime(16) modules(0) 33 } smime(16) modules(0) 33 }
DEFINITIONS IMPLICIT TAGS ::= DEFINITIONS IMPLICIT TAGS ::=
BEGIN BEGIN
-- EXPORTS ALL -- EXPORTS ALL
skipping to change at page 6, line 46 skipping to change at page 8, line 46
SymmetricKeyPackage ::= SEQUENCE { SymmetricKeyPackage ::= SEQUENCE {
version KeyPkgVersion DEFAULT v1, version KeyPkgVersion DEFAULT v1,
sKeyPkgAttrs [0] SEQUENCE SIZE (1..MAX) OF Attribute OPTIONAL, sKeyPkgAttrs [0] SEQUENCE SIZE (1..MAX) OF Attribute OPTIONAL,
sKeys SymmetricKeys } sKeys SymmetricKeys }
SymmetricKeys ::= SEQUENCE SIZE (1..MAX) OF OneSymmetricKey SymmetricKeys ::= SEQUENCE SIZE (1..MAX) OF OneSymmetricKey
OneSymmetricKey ::= SEQUENCE { OneSymmetricKey ::= SEQUENCE {
sKeyAttrs SEQUENCE SIZE (1..MAX) OF Attribute OPTIONAL, sKeyAttrs SEQUENCE SIZE (1..MAX) OF Attribute OPTIONAL,
sKey OCTET STRING } sKey OCTET STRING OPTIONAL
-- MUST contain sKeyAttrs, sKey, or sKeyAttrs and sKey
}
KeyPkgVersion ::= INTEGER { v1(1), ... } KeyPkgVersion ::= INTEGER { v1(1), ... }
Attribute ::= SEQUENCE { Attribute ::= SEQUENCE {
type ATTRIBUTE.&id ({SupportedAttributes}), type ATTRIBUTE.&id ({SupportedAttributes}),
values SET SIZE (1..MAX) OF ATTRIBUTE.&Type values SET SIZE (1..MAX) OF ATTRIBUTE.&Type
({SupportedAttributes}{@type}) } ({SupportedAttributes}{@type}) }
SupportedAttributes ATTRIBUTE ::= { ... } SupportedAttributes ATTRIBUTE ::= { ... }
ATTRIBUTE ::= CLASS { ATTRIBUTE ::= CLASS {
 End of changes. 20 change blocks. 
43 lines changed or deleted 131 lines changed or added

This html diff was produced by rfcdiff 1.35. The latest version is available from http://tools.ietf.org/tools/rfcdiff/