INTERNET-DRAFT Brian Tungdraft-ietf-cat-kerberos-pk-init-16.txtdraft-ietf-cat-kerberos-pk-init-17.txt Clifford Neuman Updates: RFC 1510bis USC/ISI expiresMarch 12, 2002May 31, 2004 Matthew HurMicrosoft CorporationAri MedvinskyLiberate TechnologiesMicrosoft Corporation Sasha Medvinsky Motorola, Inc. John Wray Iris Associates, Inc. Jonathan Trostle Public Key Cryptography for Initial Authentication in Kerberos 0. Status Of This Memo This document is an Internet-Draft and is in full conformance with allprovisionsprovision of Section 10 of RFC 2026. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet-Drafts. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt The list of Internet-Draft Shadow Directories can be accessed athttp://www.ietf.org/shadow.html. To learn the current status of any Internet-Draft, please check the "1id-abstracts.txt" listing contained in the Internet-Drafts Shadow Directories on ftp.ietf.org (US East Coast), nic.nordu.net (Europe), ftp.isi.edu (US West Coast), or munnari.oz.au (Pacific Rim).http://www.ietf.org/shadow.html The distribution of this memo is unlimited. It is filed asdraft-ietf-cat-kerberos-pk-init-16.txt,draft-ietf-cat-kerberos-pk-init-17.txt and expiresMarch 12, 2002.May 31, 2004. Please send comments to the authors. 1. Abstract Thisdocument definesdraft describes protocol extensions(PKINIT)(hereafter called PKINIT) to the Kerberos protocol specification (RFC 1510bis[1]) to[1]). These extensions provide a method forusingintegrating public key cryptographyduring initial authentication. The methods defined specifyinto thewaysinitial authentication exchange, by passing cryptographic certificates and associated authenticators inwhichpreauthentication datafields and error data fields in Kerberos messages are to be used to transport public key data.fields. 2. IntroductionThe popularity of public key cryptography has producedA client typically authenticates itself to adesire for its supportservice in Kerberos[2]. The advantages provided by public key cryptography include simplified key management (fromusing three distinct though related exchanges. First, the client requests a ticket-granting ticket (TGT) from the Kerberosperspective) andauthentication server (AS). Then, it uses theabilityTGT toleverage existingrequest a service ticket from the Kerberos ticket-granting server (TGS). Usually, the AS anddeveloping public key certification infrastructures. Public key cryptography can beTGS are integratedinto Kerberosin anumber of ways. One is to associatesingle device known as akey pair with each realm, which can then be used to facilitate cross-realm authentication;Kerberos Key Distribution Center, or KDC. (In thisis the topic of another draft proposal. Another way is to allow users with public key certificatesdraft, we will refer touse them in initial authentication. This isboth theconcern ofAS and thecurrent document. PKINIT utilizes ephemeral-ephemeral Diffie-Hellman keys in combination with RSA keysTGS as theprimary, required mechanism. Note that PKINIT supportsKDC.) Finally, theuse of separate signature and encryption keys. PKINIT enables accessclient uses the service ticket to authenticate itself toKerberos-secured services based on initial authentication utilizing public key cryptography. PKINIT utilizes standard public key signature and encryption data formats withinthestandard Kerberos messages. The basic mechanism is as follows:service. Theuser sends an AS-REQ message toadvantage afforded by theKDC as before, except that if that userTGT isto use public key cryptography in the initial authentication step, his certificate and a signature accompanythat theinitialuser need only explicitly requestin the preauthentication fields. Upon receipt of this request, the KDC verifies the certificate and issuesa ticketgranting ticket (TGT) as before, except that the encPart from the AS-REP message carrying theand expose his credentials once. The TGTis now encrypted utilizing either a Diffie-Hellman derived key or the user's public key. This message is authenticated utilizing the publicand its associated session keysignaturecan then be used for any subsequent requests. One implication ofthe KDC. Notethis is thatPKINIT does not require the useall further authentication is independent ofcertificates. A KDC may storethepublic key ofmethod by which the initial authentication was performed. Consequently, initial authentication provides aprincipal asconvenient place to integrate public-key cryptography into Kerberos authentication. As defined, Kerberos authentication exchanges use symmetric-key cryptography, in partof that principal's record. In this scenario, the KDCfor performance. (Symmetric-key cryptography is typically 10-100 times faster than public-key cryptography, depending on thetrusted partypublic-key operations. [c]) One cost of using symmetric-key cryptography is thatvouches for the principal (as in a standard, non-cross realm, Kerberos environment). Thus, for any principal,theKDC may maintain a symmetric key, a public key, or both. The PKINIT specification may alsokeys must beused asshared, so that before abuilding block for other specifications. PKINIT mayuser can authentication himself, he must already beutilized to establish inter-realm keys forregistered with thepurposes of issuing cross-realm service tickets. It may also be usedKDC. Conversely, public-key cryptography--in conjunction with an established certification infrastructure--permits authentication without prior registration. Adding it toissue anonymousKerberostickets using the Diffie-Hellman option. Efforts are under way to draft specifications for these two application protocols. Additionally,allows thePKINIT specification may be used for direct peer to peer authenticationwidespread use of Kerberized applications by users withoutcontactingrequiring them to register first--a requirement that has no inherent security benefit. As noted above, acentral KDC. This application of PKINITconvenient and efficient place to introduce public-key cryptography into Kerberos isbased on concepts introducedin[6, 7]. For direct client-to-server authentication,theclient uses PKINIT to authenticate toinitial authentication exchange. This document describes theend server (instead of a central KDC), which then issuesmethods and data formats for integrating public-key cryptography into Kerberos initial authentication. Another document (PKCROSS) describes aticketsimilar protocol foritself. This approach has an advantage over TLS [5] in that the server does not need to save state (cache session keys). Furthermore, an additional benefit is thatKerberostickets can facilitate delegation (see [6]).cross-realm authentication. 3.ProposedExtensions This section describes extensions to RFC 1510bis for supporting the use ofpublic keypublic-key cryptography in the initial request for a ticket granting ticket (TGT).In summary,Briefly, the followingchangechanges to RFC 1510bisisare proposed:* Users may authenticate1. If public-key authentication is indicated, the client sends the user's public-key data and an authenticator in a preauthentication field accompanying the usual request. This authenticator is signed by the user's private signature key. 2. The KDC verifies the client's request against its own policy and certification authorities. 3. If the request passes the verification tests, the KDC replies as usual, but the reply is encrypted usingeithereither: a. apublicrandomly generated key, signed using the KDC's signature keypairand encrypted using the user's encryption key; or b. aconventional (symmetric) key. If publickeycryptography is used, publicgenerated through a Diffie-Hellman exchange with the client, signed using the KDC's signature key. Any key data required by the client to obtain the encryption key istransportedreturned in a preauthenticationdata fields to help establish identity.field accompanying the usual reply. 4. Theuser presents a public key certificate andclient obtainsan ordinary TGT that may be used for subsequent authentication, with such authentication using only conventional cryptography.the encryption key, decrypts the reply, and then proceeds as usual. Section 3.1provides definitions to help specifyof this document defines the necessary message formats. Section 3.2 describesthe extensionstheir syntax and use in greater detail. Implementation of all specified formats and uses in these sections is REQUIRED forthe initial authentication method.compliance with PKINIT. 3.1. DefinitionsThe extensions involve new preauthentication fields; we introduce3.1.1. Required Algorithms [What is the current list of required algorithm? --brian] 3.1.2. Defined Message and Encryption Types PKINIT makes use of the following new preauthentication types: PA-PK-AS-REQ14TBD PA-PK-AS-REP15 The extensions also involve new error types; we introduceTBD PKINIT introduces the following new error types: KDC_ERR_CLIENT_NOT_TRUSTED 62 KDC_ERR_KDC_NOT_TRUSTED 63 KDC_ERR_INVALID_SIG 64 KDC_ERR_KEY_TOO_WEAK 65 KDC_ERR_CERTIFICATE_MISMATCH 66 KDC_ERR_CANT_VERIFY_CERTIFICATE 70 KDC_ERR_INVALID_CERTIFICATE 71 KDC_ERR_REVOKED_CERTIFICATE 72 KDC_ERR_REVOCATION_STATUS_UNKNOWN 73KDC_ERR_REVOCATION_STATUS_UNAVAILABLE 74KDC_ERR_CLIENT_NAME_MISMATCH 75KDC_ERR_KDC_NAME_MISMATCH 76 We utilizePKINIT uses the following typed data types for errors:TD-PKINIT-CMS-CERTIFICATES 101TD-DH-PARAMETERS 102 TD-TRUSTED-CERTIFIERS 104 TD-CERTIFICATE-INDEX 105We utilizePKINIT defines the following encryptiontypes (which map directly to OIDs):types, for use in the AS-REQ message (to indicate acceptance of the corresponding encryption OIDs in PKINIT): dsaWithSHA1-CmsOID 9 md5WithRSAEncryption-CmsOID 10 sha1WithRSAEncryption-CmsOID 11 rc2CBC-EnvOID 12 rsaEncryption-EnvOID(PKCS#1(PKCS1 v1.5) 13 rsaES-OAEP-ENV-OID(PKCS#1(PKCS1 v2.0) 14 des-ede3-cbc-Env-OID 15These mappings are provided so that a client may send the appropriate enctypes in the AS-REQ message in order to indicate support for the corresponding OIDs (for performing PKINIT).The above encryption types areutilizedused (in PKINIT) only within CMS [8] structures within the PKINIT preauthentication fields. Their use withintheKerberos EncryptedDatastructurestructures is unspecified.In many cases,3.1.3. Algorithm Identifiers PKINITrequires the encoding of the X.500 name of a certificate authority as a Realm. When such a name appears as a realm it will be represented using the "Other" form of the realm name as specified in the naming constraints section of RFC 1510bis. For a realm derived from an X.500 name, NAMETYPE will have the value X500-RFC2253. The full realm name will appear as follows: <nametype> + ":" + <string> where nametype is "X500-RFC2253" and string is the result of doing an RFC2253 encoding of the distinguished name, i.e. "X500-RFC2253:" + RFC2253Encode(DistinguishedName) where DistinguishedName is an X.500 name, and RFC2253Encode is a function returing a readable UTF encoding of an X.500 name, as defined by RFC 2253 [11] (part of LDAPv3 [15]). Each component of a DistinguishedName is called a RelativeDistinguishedName, where a RelativeDistinguishedName is a SET OF AttributeTypeAndValue. RFC 2253does notspecify the order in which to encode the elements of the RelativeDistinguishedName and so to ensure that this encoding is unique, we add the following rule to those specified by RFC 2253: When converting a multi-valued RelativeDistinguishedName to a string, the output consists of the string encodings of each AttributeTypeAndValue, in the same order as specified by the DER encoding. Similarly, in cases where the KDCdefine, but doesnot provide a specific policy-based mapping from the X.500 name or X.509 Version 3 SubjectAltName extension in the user's certificate to a Kerberos principal name, PKINIT requires the direct encoding of the X.500 name as a PrincipalName. In this case, the name-type of the principal name MUST be set to KRB_NT-X500-PRINCIPAL. This new name type is defined in RFC 1510bis as: KRB_NT_X500_PRINCIPAL 6 For this type, the name-string MUST be set as follows: RFC2253Encode(DistinguishedName) as described above. When this name type is used, the principal's realm MUST be set to the certificate authority's distinguished name using the X500-RFC2253 realm name format described earlier in this section. Note that the same string may be represented using several different ASN.1 data types. As the result, the reverse conversion from an RFC2253-encoded principal name back to an X.500 name may not be unique and may result in an X.500 name that is not the same as the original X.500 name found in the client certificate. RFC 1510bis describes an alternate encoding of an X.500 name into a realm name. However, as described in RFC 1510bis,make use of, thealternate encoding does not guarantee a unique mapping from a DistinguishedName inside a certificate into a realm name and similarly cannot be used to produce a unique principal name.following algorithm identifiers. PKINITthereforeusesan RFC 2253-based name mapping approach, as specified above. RFC 1510bis specifies the ASN.1 structure for PrincipalName as follows: PrincipalName ::= SEQUENCE { name-type[0] INTEGER, name-string[1] SEQUENCE OF GeneralString } The following rules relate to the the matching of PrincipalNames with regard to the PKI name constraints for CAs as laid out in RFC 2459 [12]. In order to be regarded as a match (for permitted and excluded name trees),the followingMUST be satisfied. 1. If the constraint is given as a user plus realm name, or as a client principal name plus realm name (as specified in RFC 1510bis), the realm name MUST be valid (see 2.a-d below) and the match MUST be exact, byte for byte. 2. If the constraint is given only as a realm name, matching depends on the type of the realm: a. If the realm contains a colon (':') before any equal sign ('='), it is treated as a realm of type Other, and MUST match exactly, byte for byte. b. Otherwise, if the realm name conforms to rules regarding the format of DNS names, it is considered a realm name of type Domain. The constraint may be given as a realm name 'FOO.BAR', which matches any PrincipalName within the realm 'FOO.BAR' but not those in subrealms such as 'CAR.FOO.BAR'. A constraint of the form '.FOO.BAR' matches PrincipalNames in subrealms of the form 'CAR.FOO.BAR' but not the realm 'FOO.BAR' itself. c. Otherwise, the realm name is invalid and does not match under any conditions. 3.1.1. Encryption and Key Formats In the exposition below, we use the terms public key and private key generically. It should be understood that the term "public key" may be used to refer to either a public encryption key or a signature verification key, and that the term "private key" may be used to refer to either a private decryption key or a signature generation key. The fact that these are logically distinct does not preclude the assignment of bitwise identical keysalgorithm identifier forRSA keys. In the case of Diffie-Hellman, the key is produced from the agreed bit string as follows: * Truncate the bit string to the required length. * Apply the specific cryptosystem's random-to-key function. AppropriateDiffie-Hellman keyconstraints for each valid cryptosystem are given in RFC 1510bis. 3.1.2. Algorithm Identifiersagreement [11]: dhpublicnumber PKINITdoes not define, but does permit,uses thealgorithm identifiers listed below. 3.1.2.1. Signature Algorithm Identifiers Thefollowing signature algorithm identifiersspecified in [8] and in [12] are used with PKINIT:[8, 12]: sha-1WithRSAEncryption (RSA with SHA1) md5WithRSAEncryption (RSA with MD5) id-dsa-with-sha1 (DSA with SHA1)3.1.2.2 Diffie-Hellman Key Agreement Algorithm Identifier The following algorithm identifier shall be used within the SubjectPublicKeyInfo data structure: dhpublicnumber This identifier andPKINIT uses theassociated algorithm parameters are specified in RFC 2459 [12]. 3.1.2.3. Algorithm Identifiers for RSA Encryption Thesefollowing encryption algorithm identifiersare used inside the EnvelopedData data structure,[12] for encrypting the temporary key with a public key: rsaEncryption(RSA encryption, PKCS#1(PKCS1 v1.5) id-RSAES-OAEP(RSA encryption, PKCS#1(PKCS1 v2.0)Both of the above RSA encryption schemesThese OIDs arespecified in [13]. Currently, only PKCS#1 v1.5 is specified by CMS [8], althoughnot to be confused with theCMS specification says that it will likely include PKCS#1 v2.0 inencryption types listed above. PKINIT uses thefuture. (PKCS#1 v2.0 addresses adaptive chosen ciphertext vulnerability discovered in PKCS#1 v1.5.) 3.1.2.4. Algorithm Identifiers for Encryption with Secret Keys Thesefollowing algorithm identifiersare used inside the EnvelopedData data structure in the PKINIT Reply,[8] for encrypting the reply key with the temporary key: des-ede3-cbc(3-key 3-DES,(three-key 3DES, CBC mode) rc2-cbc (RC2, CBC mode)The full definition ofAgain, these OIDs are not to be confused with theabove algorithm identifiersencryption types listed above. 3.2. PKINIT Preauthentication Syntax andtheir corresponding parameters (an IV for block chaining) is provided inUse In this section, we describe theCMS specification [8]. 3.2. Public Key Authentication Implementationsyntax and use of thechanges in this section is REQUIRED for compliance withvarious preauthentication fields employed to implement PKINIT. 3.2.1. Client RequestPublic keys may be signed by some certification authority (CA), or they may be maintained by the KDC in which case the KDC is the trusted authority. Note that the latter mode does not require the use of certificates.The initial authentication request (AS-REQ) is sent as per RFC 1510bis, except that a preauthentication field containing data signed by the user's private signature key accompanies therequest:request, as follows: PA-PK-AS-REQ ::= SEQUENCE { --PA TYPE 14PAType TBD signedAuthPack [0] ContentInfo, -- Defined inCMS [8];CMS. --SignedData OIDType is{pkcs7 2}SignedData. -- Content is AuthPack(below) defines the--data that is signed.(defined below). trustedCertifiers [1] SEQUENCE OFTrustedCasTrustedCAs OPTIONAL, --This is aA list ofCAs that theCAs, trusted by --client trusts and thatthe client, used to certify -- KDCs. kdcCert [2] IssuerAndSerialNumberOPTIONALOPTIONAL, --As definedDefined inCMS [8];CMS. --specifiesIdentifies a particular KDC --certificatecertificate, if the client -- already has it. encryptionCert [3] IssuerAndSerialNumberOPTIONALOPTIONAL, --For example, this may beMay identify the user's --client'sDiffie-Hellman--certificate,or it may be the--client'sor an RSA encryption key -- certificate. ... }TrustedCasTrustedCAs ::= CHOICE {principalName [0] KerberosName, -- as defined belowcaName[1] Name[0] Name, --fullyFully qualified X.500 name -- as definedbyin X.509 [11]. issuerAndSerial[2] IssuerAndSerialNumber[1] IssuerAndSerialNumber, --SinceIdentifies a specific CAmay have a number of -- certificates, only one of which--a client trusts } The type of the ContentInfo in the signedAuthPack is SignedData. Its usage is as follows: The SignedData data type is specified in the Cryptographic Message Syntax, a product of the S/MIME working group of the IETF. The following describes how to fill in the fields of this data: 1. The encapContentInfo field MUST contain the PKAuthenticator and, optionally, the client's Diffie Hellman public value. a. The eContentType field MUST contain the OID value for pkauthdata: iso (1) org (3) dod (6) internet (1) security (5) kerberosv5 (2) pkinit (3) pkauthdata (1) b. The eContent field is data of the type AuthPack (below). 2. The signerInfos field contains the signature of AuthPack. 3. The Certificates field, when non-empty, contains the client's certificate chain. If present, the KDC uses the public key from the client's certificate to verify the signature in the request. Note that the client may pass different certificate chains that are used for signing or for encrypting. Thus, the KDC may utilize a different client certificate for signature verification than the one it uses to encrypt the reply to the client. For example, the client may place a Diffie-Hellman certificate in this field in order to convey its static Diffie Hellman certificate to the KDC to enable static-ephemeral Diffie-Hellman mode for the reply; in this case, the client does NOT place its public value in the AuthPack (defined below). As another example, the client may place an RSA encryption certificate in this field. However, there MUST always be (at least) a signature certificate. 4. When a DH key is being used, the public exponent is provided in the subjectPublicKey field of the SubjectPublicKeyInfo and the DH parameters are supplied as a DomainParameters in the AlgorithmIdentitfier parameters. The DH paramters SHOULD be chosen from the First and Second defined Oakley Groups [The Internet Key Exchange (IKE) RFC-2409],certificate, ifa server will not accept either of these groups, it will respond with a krb- error of KDC_ERR_KEY_TOO_WEAK. The accompanying e-data is a SEQUENCE of TypedData that includes type TD-DH-PARAMETERS (102) whose data-value is DomainParameters with appropriate Diffie-Hellman parameters for the client to use. 5. The KDC may wish to use cached Diffie-Hellman parameters (see Section 3.2.2, KDC Response). To indicate acceptance of cached parameters, the client sends zero in the nonce field of the PKAuthenticator. Zero is not a valid value for this field under any other circumstances. If cached parameters are used,the clientand the KDC MUST perform key derivation (for the appropriate cryptosystem) on the resulting encryption key,-- only trusts one. ... } [Should we even allow principalName asspecified in RFC 1510bis. (Withazero nonce, message binding is performed using the nonce in the main request, which must be encrypted using the encapsulated reply key.)choice? --brian] AuthPack ::= SEQUENCE { pkAuthenticator [0] PKAuthenticator, clientPublicValue [1] SubjectPublicKeyInfo OPTIONAL -- Defined in X.509, -- reproduced below. -- Present only if the client -- is usingDiffie-Hellmanephemeral-ephemeral --(ephemeral-ephemeral only)Diffie-Hellman. } PKAuthenticator ::= SEQUENCE { cusec [0] INTEGER,-- for replay prevention as in RFC 1510bisctime [1] KerberosTime, --for replay preventioncusec and ctime are used as -- in RFC1510bis1510bis, for replay -- prevention. nonce [2] INTEGER, -- Binds reply to request, -- except is zeroonly ifwhen client -- will accept--cachedDH-- Diffie-Hellman parametersfrom KDC;--mustfrom KDC and MUST NOT benon-zero otherwise pachecksum [3] Checksum--Checksum over KDC-REQ-BODYzero otherwise. paChecksum [3] Checksum, -- Definedby Kerberos spec;in RFC 1510bis. -- Performed over KDC-REQ-BODY, -- must beunkeyed, e.g. sha1 or rsa-md5unkeyed. ... } SubjectPublicKeyInfo ::= SEQUENCE { -- As defined in X.509. algorithm AlgorithmIdentifier, --dhPublicNumberEquals dhpublicnumber (see -- AlgorithmIdentifier, below) -- for PKINIT. subjectPublicKey BIT STRING --for DH, equals --Equals public exponent -- (INTEGER encoded--as payload -- of BIT STRING) for PKINIT. }-- as specified by the X.509 recommendation [7]AlgorithmIdentifier ::= SEQUENCE { -- As defined in X.509. algorithm OBJECT IDENTIFIER, --for dhPublicNumber, thisdhpublicnumber is -- { iso (1) member-body (2) -- US (840) ansi-x942 (10046) --ansi-x942(10046) number-type(2)number-type (2) 1 } --fromFrom RFC 2459[12][11]. parameters ANY DEFINEDbyBY algorithm OPTIONAL --for dhPublicNumber, thisContent is--DomainParameters}--as specified by the X.509 recommendation [7](see below) for PKINIT. } DomainParameters ::= SEQUENCE { -- As defined in RFC 2459. p INTEGER, -- p is the odd prime,p=jq +1equals -- jq+1. g INTEGER, --generator, gGenerator. q INTEGER, --factor of p-1Divides p-1. j INTEGER OPTIONAL, --subgroup factorSubgroup factor. validationParms ValidationParms OPTIONAL }-- as defined in RFC 2459 [12]ValidationParms ::= SEQUENCE { -- As defined in RFC 2459. seed BIT STRING, --seedSeed for the system parameter -- generationprocessprocess. pgenCounter INTEGER --integerInteger value output as part -- of theof thesystem parameter --primegenerationprocessprocess. }-- as defined in RFC 2459 [12] If the client passes an issuer and serial numberThe ContentInfo in therequest, the KDCsignedAuthPack isrequested to use the referred-to certificate. If none exists, then the KDC returns an errorfilled out as follows: 1. The eContent field contains data of typeKDC_ERR_CERTIFICATE_MISMATCH.AuthPack. It MUST contain the pkAuthenticator, and MAY alsoreturns this error if, oncontain theother hand,user's Diffie-Hellman public value (clientPublicValue). 2. The eContentType field MUST contain theclient does not pass any trustedCertifiers, believing that it hasOID value for pkauthdata: { iso (1) org (3) dod (6) internet (1) security (5) kerberosv5 (2) pkinit (3) pkauthdata (1)} 3. The signerInfos field MUST contain theKDC's certificate, butsignature of theKDC has more than one certificate.AuthPack. 4. TheKDC should include information in the KRB-ERROR messagecertificates field MUST contain at least a signature verification certificate chain thatindicatesthe KDCcertificate(s) that acan use to verify the signature on the AuthPack. Additionally, the client mayutilize. This data is specified inalso insert an encryption certificate chain, if (for example) thee-data, whichclient isdefined in RFC 1510bis revisions asnot using ephemeral-ephemeral Diffie-Hellman. 5. If aSEQUENCE of TypedData: TypedData ::= SEQUENCE { data-type [0] INTEGER, data-value [1] OCTET STRING, } -- per Kerberos RFC 1510bis where one ofDiffie-Hellman key is being used, theTypedData elements is: data-type = TD-PKINIT-CMS-CERTIFICATES = 101 data-value = CertificateSet // as specified by CMS [8]parameters SHOULD be chosen from the First or Second defined Oakley Groups. (See RFC 2409 [c].) 6. ThePKAuthenticator carries information to foil replay attacks,KDC may wish tobinduse cached Diffie-Hellman parameters. To indicate acceptance of caching, thepre-authentication data toclient sends zero in theKDC-REQ-BODY, and to bindnonce field of therequest and response. The PKAuthenticatorpkAuthenticator. Zero issigned withnot a valid value for this field under any other circumstances. Since zero is used to indicate acceptance of cached parameters, message binding in this case is performed instead using theclient's signature key.nonce in the main request. 3.2.2.KDC Response Upon receiptValidation of Client Request Upon receiving theAS_REQ with PA-PK-AS-REQ pre-authentication type,client's request, the KDCattempts to verifyvalidates it. This section describes theclient's certificate chain, if one is providedsteps that the KDC MUST (unless otherwise noted) take in validating the request.This is done by verifying the certification path againstThe KDC must look for a user certificate in theKDC's policy of legitimate certifiers.signedAuthPack. Ifthe KDCit cannot find one signed by atrusted client certificate chain within the PA-PK-AS-REQ, then the KDCCA it trusts, it sends back an errormessageof type KDC_ERR_CANT_VERIFY_CERTIFICATE.Certificate chain validation is defined in RFC 2459 [12].The accompanying e-data for this errorcodeis a SEQUENCEofOF TypedData: TypedDatathat includes type TD-TRUSTED-CERTIFIERS (104) whose::= SEQUENCE { -- As defined in RFC 1510bis. data-type [0] INTEGER, data-value [1] OCTET STRING } For this error, the data-type is TD-TRUSTED-CERTIFIERS, and the data-value is an OCTET STRINGwhich iscontaining the DER encoding of TrustedCertifiers ::= SEQUENCE OFPrincipalName -- X.500 name encoded as a principal name -- see Section 3.1 IfName If, while verifyingathe certificatechainchain, the KDC determines that the signature on one of the certificates in theCertificateSet from thesignedAuthPackfails verification, then the KDCis invalid, it returns an error of type KDC_ERR_INVALID_CERTIFICATE. The accompanying e-data for this error is a SEQUENCEof TypedData that includes type TD-CERTIFICATE-INDEX (105)OF TypedData, whose data-type is TD-CERTIFICATE-INDEX, and whose data-value is an OCTET STRINGwhich iscontaining the DER encoding of the index into the CertificateSet field, ordered as sent by theclient.client: CertificateIndex ::= INTEGER -- 0 =1st certificate, --first certificate (in -- order ofencoding)encoding), -- 1 =2ndsecond certificate,etcetc. If more than one signature is invalid, the KDC sends one TypedData per invalid signature. The KDCmayMAY also check whether any of the certificates in theclient'suser's chainhashave been revoked. Ifoneany ofthe certificates hasthem have been revoked,thenthe KDC returns an error of type KDC_ERR_REVOKED_CERTIFICATE; ifsuch a query reveals thatthecertificate'sKDC attempts to determine the revocation status but isunknown or not available, then if required by policy, the KDCunable to do so, it returnsthe appropriatean error of typeKDC_ERR_REVOCATION_STATUS_UNKNOWN or KDC_ERR_REVOCATION_STATUS_UNAVAILABLE.KDC_ERR_REVOCATION_STATUS_UNKNOWN. Inany of these three cases,either case, theaffectedcertificateisor certificates affected are identifiedby the accompanying e-data, which contains a CertificateIndexexactly asdescribedforKDC_ERR_INVALID_CERTIFICATE.an error of type KDC_ERR_INVALID_CERTIFICATE (see above). If the certificate chaincan be verified,is successfully validated, but the nameof the clientin the user's certificate does not match theclient'sname given in the request,thenthe KDC returns an error of type KDC_ERR_CLIENT_NAME_MISMATCH. There is no accompanying e-datafield infor thiscase.error. Even ifall succeeds,the chain is validated, and the names in the certificate and the request match, the KDCmay--for policy reasons--decidemay decide not to trust the client.In this case, the KDC returns an error message of type KDC_ERR_CLIENT_NOT_TRUSTED. One specific case of this isFor example, thepresence or absence ofcertificate may include (or not include) an Enhanced Key Usage (EKU) OIDwithinin thecertificate extensions. The rules regarding acceptabilityextensions field. As a matter of local policy, the KDC may decide to reject requests on the basis ofan EKU sequence (orthe absence or presence ofany sequence) are a matterspecific EKU OIDs. In this case, the KDC returns an error oflocal policy.type KDC_ERR_CLIENT_NOT_TRUSTED. For the benefit ofimplementers,implementors, we define a PKINIT EKU OID asthe following:follows: { iso (1) org (3) dod (6) internet (1) security (5) kerberosv5 (2) pkinit (3) pkekuoid(2).(2) }. Ifa trust relationship exists,theKDC then verifiescertificate chain and usage check out, but the client's signature onAuthPack. If that fails,the signedAuthPack fails to verify, the KDC returns an errormessageof type KDC_ERR_INVALID_SIG.Otherwise,There is no accompanying e-data for this error. [What about the case when all this checks out but one or more certificates is rejected for other reasons? For example, perhaps the key is too short for local policy. --DRE] The KDCusesmust check the timestamp(ctime and cusec) in the PKAuthenticatortoassureensure that the request is not areplay. The KDC also verifiesreplay, and thatits name is specified inthePKAuthenticator.time skew falls within acceptable limits. If the check fails, the KDC returns an error of type KRB_AP_ERR_REPEAT or KRB_AP_ERR_SKEW, respectively. Finally, if the clientPublicValuefieldis filled in, indicating that the client wishes to useDiffie-Hellman key agreement, thenephemeral-ephemeral Diffie-Hellman, the KDC checks to seethatif the parameters satisfy its policy. If they donot (e.g., the prime size is insufficient for the expected encryption type), then the KDC sends backnot, it returns an errormessageof type KDC_ERR_KEY_TOO_WEAK. The accompanying e-data is a SEQUENCEof TypedData that includes type TD-DH-PARAMETERS (102)OF TypedData, whose data-type is TD-DH-PARAMETERS, and whose data-value is an OCTET STRING containing the DER encoding of a DomainParameterswith(see above), including appropriate Diffie-Hellman parametersfor the clientwith which to retry the request.Otherwise, it generates its own public and private values[This makes no sense. For example, maybe the key is too strong for local policy. --DRE] In order to establish authenticity of the reply, theresponse. TheKDCalso checks thatwill sign some key data (either thetimestamprandom key used to encrypt the reply in thePKAuthenticatorcase of a KDCDHKeyInfo, or the Diffie-Hellman parameters used to generate the reply-encrypting key in the case of a ReplyKeyPack). The signature certificate to be used iswithinto be selected as follows: 1. If theallowable window and thatclient included a kdcCert field in theprincipal name and realm are correct.PA-PK-AS-REQ, use the referred-to certificate, if the KDC has it. If it does not, thelocal (server) time andKDC returns an error of type KDC_ERR_CERTIFICATE_MISMATCH. 2. Otherwise, if the clienttime indid not include a kdcCert field, but did include a trustedCertifiers field, and theauthenticator differKDC possesses a certificate issued bymore thanone of theallowable clock skew, thenlisted certifiers, use that certificate. if it does not possess one, it returns an error of type KDC_ERR_KDC_NOT_TRUSTED. 3. Otherwise, if the client included neither a kdcCert field nor a trustedCertifiers field, and the KDC has only one signature certificate, use that certificate. If it has more than one certificate, it returns an errormessageof typeKRB_AP_ERR_SKEW as defined in RFC 1510bis.KDC_ERR_CERTIFICATE_MISMATCH. 3.2.3. KDC Reply Assumingno errors,that the client's request has been properly validated, the KDCrepliesproceeds as per RFC 1510bis, except as follows. The user's name as represented in theticket is determined byAS-REP must be derived from thefollowing decision algorithm: 1.certificate provided in the client's request. If the KDC hasaits own mapping from the name in the certificate to a Kerberos name,then useit uses that Kerberos name.Else 2. IfOtherwise, if the certificate containsthe SubjectAltName extention and the local KDC policy definesamapping from the SubjectAltName to a Kerberos name, then usesubjectAltName extension with PrincipalName, it uses that name.Else 3. Use the name as represented in the certificate, mapping as necessary (e.g., as per RFC 2253 for X.500 names).In thiscasecase, the realm in the ticketMUST be the name of the certifier that issued the user's certificate. Note that a principal name may be carried in the subjectAltName field of a certificate. This name may be mapped to a principal record in a security database based on local policy, for example the subjectAltName may be kerberos/principal@realm format. In this case the realm nameisnot that of the CA butthat of the local realmdoing the mapping(or some other realm name chosen by that realm).If a non-KDC X.509 certificate contains the principal name within the subjectAltName version 3 extension, that name may utilize KerberosName as defined below, or, in the case of an S/MIME certificate [14], may utilize the email address. If the KDC is presented with an S/MIME certificate, then the email address within subjectAltName will be interpreted as a principal(OID andrealm separated by the "@" sign, or as a name that needssyntax for this extension to bemapped according to local policy. If the resulting name does not correspond to a registered principal name, then the principal name is formed as defined in section 3.1. The trustedCertifiers field contains a list of certification authorities trusted by the client, in the case that the client does not possess the KDC's public key certificate. Ifspecified here.) Otherwise, the KDChas no certificate signed by any of the trustedCertifiers, then itreturns an error of typeKDC_ERR_KDC_NOT_TRUSTED. KDCs should try to (in order of preference): 1. Use the KDC certificate identified byKDC_ERR_CLIENT_NAME_MISMATCH. In addition, theserialNumber includedcertifiers in theclient's request. 2. Use a certificate issued to the KDC by onecertification path of theclient's trustedCertifier(s); If the KDC is unableuser's certificate MUST be added tocomply with any of these options, then the KDC returnsanerror message of type KDC_ERR_KDC_NOT_TRUSTED to the client.authdata (to be specified at a later time). The AS-REP is otherwise unchanged from RFC 1510bis. The KDC then encrypts the reply as usual, but not with the user's long-termkey, butkey. Instead, it encrypts it withthe Diffie Hellman derived key oreither a random encryption key, or a keygenerated for this particular response whichderived through a Diffie-Hellman exchange. Which iscarried inthepadata fieldcase is indicated by the contents of theTGS-REP message.PA-PK-AS-REP (note tags): PA-PK-AS-REP ::= CHOICE { --PA TYPE 15PAType YY (TBD) dhSignedData [0] ContentInfo, --Defined in CMS [8] and used only with -- Diffie-Hellman key exchange (if the -- client public value was present in the -- request). -- SignedData OIDType is{pkcs7 2}SignedData. --This choice MUST be supportedContent is KDCDHKeyInfo --by compliant implementations.(defined below). encKeyPack [1]ContentInfo -- Defined in CMS [8]. -- The temporary key is encrypted -- using the client public key -- key.ContentInfo, --EnvelopedData OIDType is{pkcs7 3} -- SignedReplyKeyPack, encryptedEnvelopedData. --with the temporary key,Content isalsoReplyKeyPack --included.(defined below). ... } Note that PA-PK-AS-REP is a CHOICE: either a dhSignedData, or an encKeyPack, but not both. Thetypeformer contains data ofthe ContentInfo in the dhSignedData is SignedData. Its usage is as follows: When the Diffie-Hellman optiontype KDCDHKeyInfo, and isused, dhSignedData in PA-PK-AS-REP provides authenticated Diffie-Hellman parameters of the KDC. The reply keyusedto encrypt part ofonly when theKDCreplymessageisderived from the Diffie-Hellman exchange: 1. Both the KDC and the client calculate a secret value (g^ab mod p), whereencrypted using ais the client's privateDiffie-Hellman derived key: KDCDHKeyInfo ::= SEQUENCE { subjectPublicKey [0] BIT STRING, -- Equals public exponentand b is the KDC's private exponent. 2. Both the KDC and the client take the first N bits-- (g^a mod p). -- INTEGER encoded as payload -- ofthis secret value and convert it into a reply key. N depends on the reply key type. a. For example, if theBIT STRING. nonce [1] INTEGER, -- Binds replykey is DES, N=64 bits, where some of the bits are replaced with parity bits, accordingtoFIPS PUB 74. b. As another example, ifrequest. -- Exception: A value of zero -- indicates that thereply keyKDC is(3-key) 3-DES, N=192 bits, where some-- using cached values. dhKeyExpiration [2] KerberosTime OPTIONAL, -- Expiration time for KDC's -- cached values. ... } The fields of thebitsContentInfo for dhSignedData arereplaced with parity bits, accordingtoFIPS PUB 74. 3.be filled in as follows: 1. TheencapContentInfoeContent fieldMUST contain the KdcDHKeyInfo as defined below. a.contains data of type KDCDHKeyInfo. 2. The eContentType fieldMUST containcontains the OID value for pkdhkeydata: { iso (1) org (3) dod (6) internet (1) security (5) kerberosv5 (2) pkinit (3) pkdhkeydata (2)b.} 3. TheeContentsignerInfos field contains a single signerInfo, which isdatathe signature of thetype KdcDHKeyInfo (below).KDCDHKeyInfo. 4. The certificates fieldMUST contain the certificates necessary forcontains a signature verification certificate chain that the client may use toestablish trust inverify the KDC'scertificate based on the list of trusted certifiers sent by the client insignature over thePA-PK-AS-REQ. This fieldKDCDHKeyInfo.) It may only be left empty if the client did notsend to the KDCinclude alist of trusted certifiers (thetrustedCertifiers fieldwas empty, meaning that the client already possessesin theKDC's certificate). 5. The signerInfos field is a SETPA-PK-AS-REQ, indicating thatMUST contain at least one member, sinceitcontainshas theactual signature. 6.KDC's certificate. 5. If the clientindicated acceptance of cached Diffie-Hellman parameters from the KDC,andtheKDCsupports such an option (for performance reasons),agree to use cached parameters, the KDCshouldSHOULD return a zero in the nonce field and include the expiration time of theparameterscached values in the dhKeyExpiration field. If this time is exceeded, the client SHOULD NOT use the reply. If the time is absent, the client SHOULD NOT use the reply and MAY resubmit a request with a non-zerononce (thusnonce, thus indicating non-acceptance of the cachedDiffie-Hellman parameters). As indicated above in Section 3.2.1, Client Request, whenparameters. The key is derived as follows: Both the KDCuses cached parameters,and the client calculate the value g^(ab) mod p, where a and b are theKDC MUST perform key derivation (forclient and KDC's private exponents, respectively. They both take theappropriate cryptosystem)first N bits of this secret value and convert it into a reply key, where N depends on theresultingkey type. 1. For example, if the key type is DES, N = 64 bits, where some of the bits are replaced with parity bits, according to FIPS PUB 74 [c]. 2. If the key type is (three-key) 3DES, N = 192 bits, where some of the bits are replaced with parity bits, again according to FIPS PUB 74. If the KDC and client are not using Diffie-Hellman, the KDC encrypts the reply with an encryption key,as specifiedpacked inRFC 1510bis. KdcDHKeyInfothe encKeyPack, which contains data of type ReplyKeyPack: ReplyKeyPack ::= SEQUENCE {-- used only when utilizing Diffie-Hellman subjectPublicKeyreplyKey [0]BIT STRING,EncryptionKey, --Equals public exponent (g^a mod p)Defined in RFC 1510bis. --INTEGER encodedUsed to encrypt main reply. -- MUST be at least as strong aspayload of--BIT STRINGenctype of session key. nonce [1] INTEGER, -- Bindsresponse to the request -- Exception: Setreply tozero when KDC -- is using a cached DH value dhKeyExpiration [2] KerberosTime OPTIONAL -- Expiration time for KDC's cached -- DH valuerequest. ... } [What exactly does "at least as strong" mean? --DRE] Thetypefields of the ContentInfoin thefor encKeyPackis EnvelopedData. Its usage isMUST be filled in as follows:The EnvelopedData data type is specified in the Cryptographic Message Syntax, a product of the S/MIME working group of the IETF. It contains a temporary key encrypted with the PKINIT client's public key. It also contains a signed and encrypted reply key.1. TheoriginatorInfo field is not required, since that information may be presented in the signedData structure that is encrypted within the encryptedContentInfo field. 2. The optional unprotectedAttrs field is not required for PKINIT. 3. The recipientInfos fieldinnermost data isa SET which MUST contain exactly one memberofthe KeyTransRecipientInfotypefor encryption with a public key. a. The encryptedKey field (in KeyTransRecipientInfo) contains the temporary key which is encrypted with the PKINIT client's public key. 4. The encryptedContentInfo field contains the signed and encrypted reply key. a.SignedData. ThecontentType field MUST contain the OID valueeContent forid-signedData: iso (1) member-body (2) us (840) rsadsi (113549) pkcs (1) pkcs7 (7) signedData (2) b. The encryptedContent field is encryptedthis data is ofthe CMStypesignedData as specified below. i. The encapContentInfo field MUST contains theReplyKeyPack.*2. The eContentTypefield MUST containfor this data contains the OID value for pkrkeydata: { iso (1) org (3) dod (6) internet (1) security (5) kerberosv5 (2) pkinit (3) pkrkeydata (3)*} 3. TheeContentsignerInfos field contains a single signerInfo, which isdatathe signature of thetype ReplyKeyPack (below). ii.ReplyKeyPack. 4. The certificates fieldMUST contain the certificates necessary forcontains a signature verification certificate chain, which the client may use toestablish trust inverify the KDC'scertificate based on the list of trusted certifiers sent by the client insignature over thePA-PK-AS-REQ. This fieldReplyKeyPack.) It may only be left empty if the client did notsend to the KDCinclude alist of trusted certifiers (thetrustedCertifiers fieldwas empty, meaning that the client already possessesin theKDC's certificate). iii. The signerInfos field is a SETPA-PK-AS-REQ, indicating thatMUST contain at least one member, sinceitcontains the actual signature. ReplyKeyPack ::= SEQUENCE { -- not used for Diffie-Hellman replyKey [0] EncryptionKey, -- from RFC 1510bis -- used to encrypt main reply -- ENCTYPE is at least as strong as -- ENCTYPE of session key nonce [1] INTEGER, -- binds response to the request -- must be same as the nonce -- passed in the PKAuthenticator } 3.2.2.1. Use of transited Field Since each certifier in the certification path of a user's certificate is equivalent to a separate Kerberos realm, the name of each certifier in the certificate chain MUST be added to the transited field ofhas theticket.KDC's certificate. 5. Theformat of these realm namesouter data isdefined in Section 3.1of type EnvelopedData. The encryptedContent for thisdocument. If applicable, the transit-policy-checked flag should be set indata is theissued ticket. 3.2.2.2. Kerberos NamesSignedData described inCertificatesitems 1 through 4, above. 6. TheKDC's certificate(s) MUST bind the public key(s) of the KDC to a name derivable from the name of the realmencryptedContentType forthat KDC. X.509 certificates MUST contain the principal name of the KDC (defined in RFC 1510bis) as the SubjectAltName version 3 extension. Below is the definition ofthisversion 3 extension, as specified by the X.509 standard: subjectAltName EXTENSION ::= { SYNTAX GeneralNames IDENTIFIED BY id-ce-subjectAltName } GeneralNames ::= SEQUENCE SIZE(1..MAX) OF GeneralName GeneralName ::= CHOICE { otherName [0] OtherName, ... } OtherName ::= SEQUENCE { type-id OBJECT IDENTIFIER, value [0] EXPLICIT ANY DEFINED BY type-id } For the purpose of specifying a Kerberos principal name,data contains the OID valuein OtherName MUST be a KerberosName, defined as follows: KerberosName ::= SEQUENCE { realm [0] Realm, principalName [1] PrincipalName } This specific syntax is identified within subjectAltName by setting the type-id in OtherName to krb5PrincipalName, where (from the Kerberos specification) we have krb5 OBJECT IDENTIFIER ::=for id-signedData: { iso (1)org (3) dod (6) internetmember-body (2) us (840) rsadsi (113549) pkcs (1)security (5) kerberosv5pkcs7 (7) signedData (2) }krb5PrincipalName OBJECT IDENTIFIER ::= { krb5 2 } (This specification may also be used to specify a Kerberos name within the user's certificate.)7. TheKDC's certificate may be signed directly by a CA, or there may be intermediaries if the server resides within a large organization, or it may be unsigned if the client indicates possession (and trust) of the KDC's certificate. Note that the KDC's principal name has the instance equal to the realm, and those fields should be appropriately set in the realm and principalName fields of the KerberosName. ThisrecipientInfos field isthe case even when obtainingacross-realm ticket using PKINIT. 3.2.3. Client ExtractionSET which MUST contain exactly one member ofReplytype KeyTransRecipientInfo. Theclient then extracts the random key used to encryptencryptedKey for this member contains themain reply. This randomtemporary key(in encPaReply)which is encryptedwith eitherusing the client's publickey or with a key derived from the DH values exchanged between the client andkey. 8. Neither theKDC. The client uses this random key to decryptunprotectedAttrs field nor themain reply, and subsequently proceeds as described in RFC 1510bis.originatorInfo field is required for PKINIT. 3.2.4.Required Algorithms Not allValidation of KDC Reply Upon receipt of thealgorithms inKDC's reply, thePKINIT protocol specification have to be implemented in order to comply withclient proceeds as follows. If theproposed standard. Below isPA-PK-AS-REP contains alist ofdhSignedData, therequired algorithms: * Diffie-Hellman public/private key pairs * utilizing Diffie-Hellman ephemeral-ephemeral mode * SHA1 digestclient obtains andRSA for signatures * SHA1 digest for the Checksum in the PKAuthenticator * using Kerberos checksum type 'sha1' * 3-key triple DES keys derived fromverifies the Diffie-HellmanExchange * 3-key triple DES Temporary and Reply keys 4. Logisticsparameters, andPolicy This section describes a way to define the policy onobtains theuse of PKINIT for each principal and request. The KDC is not required to contain a database record for users who use publicshared keyauthentication. However, if these users are registered with the KDC, it is recommended thatas described above. Otherwise, thedatabase record for these users be modified tomessage contains anadditional flag in the attributes field to indicate thatencKeyPack, and theuser should authenticate using PKINIT. If this flag is setclient decrypts anda request message does not containverifies thePKINIT preauthentication field,temporary encryption key. In either case, the client then decrypts theKDC sends backmain reply with the resulting key, and then proceeds aserror of type KDC_ERR_PREAUTH_REQUIRED indicating that a preauthentication field of type PA-PK-AS-REQ must be includeddescribed inthe request. 5.RFC 1510bis. 4. Security Considerations PKINIT raisesa fewcertain securityconsiderations, which weconsiderations beyond those that can be regulated strictly in protocol definitions. We will address them in this section.First of all,PKINIT extends the cross-realm model to thepublic keypublic-key infrastructure. Anyone using PKINIT must be aware of how the certification infrastructure they are linking to works. Also, as in standard Kerberos, PKINIT presents the possibility of interactions betweendifferentcryptosystems of varying strengths, and this now includes public-key cryptosystems. Many systems, forinstance,example, allow the use of 512-bit public keys. Using such keys to wrap data encrypted under strong conventional cryptosystems, such astriple-DES,3DES, may be inappropriate. PKINIT calls for randomly generated keys for conventional cryptosystems. Many such systems contain systematically "weak" keys. For recommendations regarding these weak keys, see RFC 1510bis. Care should be taken in how certificates arechoosenchosen for the purposes of authentication using PKINIT. Some local policies may require that key escrow be applied for certain certificate types. People deploying PKINIT should be aware of the implications of using certificates that have escrowed keys for the purposes of authentication.As described in Section 3.2, PKINIT allows for the caching of the Diffie-Hellman parameters on the KDC side, for performance reasons. For similar reasons, the signed data in this case does not vary from message to message, until the cached parameters expire. Because of the persistence of these parameters, the client and the KDC are to use the appropriate key derivation measures (as described in RFC 1510bis) when using cached DH parameters.PKINIT does not provide for a "returnroutability test"routability" test to prevent attackers from mounting adenial of servicedenial-of-service attack on the KDC by causing it to performneedlessunnecessary and expensivecryptographicpublic-key operations. Strictly speaking, this is also true ofbasestandard Kerberos, although the potential cost is not asgreat in base Kerberos,great, becauseitstandard Kerberos does not make use ofpublic keypublic-key cryptography.Lastly, PKINIT calls for randomly generated keys for conventional cryptosystems. Many such systems contain systematically "weak" keys. For recommendations regarding these weak keys, see RFC 1510bis. 6. Transport Issues Certificate chains can potentially grow quite large and span several UDP packets; this in turn increases5. Acknowledgements Some of theprobability that a Kerberos message involving PKINIT extensions will be broken in transit. In lightideas on which this proposal is based arose during discussions over several years between members of thepossibility thatSAAG, the IETF CAT working group, and the PSRG, regarding integration of Kerberosspecification will require KDCs to accept requests using TCP as a transport mechanism, we makeand SPX. Some ideas have also been drawn from thesame recommendation with respectDASS system. These changes are by no means endorsed by these groups. This is an attempt to revive some of thePKINIT extensions as well.goals of those groups, and this proposal approaches those goals primarily from the Kerberos perspective. Lastly, comments from groups working on similar ideas in DCE have been invaluable. 6. Expiration Date This draft expires May 31, 2004. 7. Bibliography [1] J. Kohl, C. Neuman. The Kerberos Network Authentication Service (V5). Request for Comments 1510. [2] B.C. Neuman, Theodore Ts'o. Kerberos: An Authentication Service for Computer Networks, IEEE Communications, 32(9):33-38. September 1994. [3] M. Sirbu, J. Chuang. Distributed Authentication in Kerberos Using Public Key Cryptography. Symposium On Network and Distributed System Security, 1997. [4] B. Cox, J.D. Tygar, M. Sirbu. NetBill Security and Transaction Protocol. In Proceedings of the USENIX Workshop on Electronic Commerce, July 1995. [5] T. Dierks, C. Allen. The TLS Protocol, Version1.01.0. Request for Comments 2246, January 1999. [6] B.C. Neuman, Proxy-Based Authorization and Accounting for Distributed Systems. In Proceedings of the 13th International Conference on Distributed Computing Systems, May 1993. [7] ITU-T (formerly CCITT) Information technology - Open Systems Interconnection - The Directory: Authentication Framework Recommendation X.509 ISO/IEC 9594-8 [8] R. Housley. Cryptographic Message Syntax. draft-ietf-smime-cms-13.txt, April 1999, approved for publication as RFC. [9] PKCS #7: Cryptographic Message SyntaxStandard,Standard. An RSA Laboratories Technical Note Version1.51.5. Revised November 1, 1993 [10] R. Rivest, MIT Laboratory for Computer Science and RSA Data Security, Inc. A Description of the RC2(r) EncryptionAlgorithmAlgorithm. March 1998. Request for Comments 2268. [11]M. Wahl, S. Kille, T. Howes. Lightweight Directory Access Protocol (v3): UTF-8 String Representation of Distinguished Names. Request for Comments 2253. [12]R. Housley, W. Ford, W. Polk, D. Solo. Internet X.509 Public Key Infrastructure, Certificate and CRL Profile, January 1999. Request for Comments 2459.[13][12] B. Kaliski, J. Staddon. PKCS #1: RSA Cryptography Specifications, October 1998. Request for Comments 2437.[14] S. Dusse, P. Hoffman, B. Ramsdell, J. Weinstein. S/MIME Version 2 Certificate Handling, March 1998. Request for Comments 2312. [15] M. Wahl, T. Howes, S. Kille. Lightweight Directory Access Protocol (v3), December 1997. Request for Comments 2251. [16][13] ITU-T (formerly CCITT) Information Processing Systems - Open Systems Interconnection - Specification of Abstract Syntax Notation One (ASN.1) Rec. X.680 ISO/IEC 8824-1[17][14] PKCS #3: Diffie-Hellman Key-Agreement Standard, An RSA Laboratories Technical Note, Version 1.4, Revised November 1, 1993. 8.Acknowledgements Some of the ideas on which this proposal is based arose during discussions over several years between members of the SAAG, the IETF CAT working group, and the PSRG, regarding integration of Kerberos and SPX. Some ideas have also been drawn from the DASS system. These changes are by no means endorsed by these groups. This is an attempt to revive some of the goals of those groups, and this proposal approaches those goals primarily from the Kerberos perspective. Lastly, comments from groups working on similar ideas in DCE have been invaluable. 9. Expiration Date This draft expires March 12, 2002. 10.Authors Brian Tung Clifford Neuman USC Information Sciences Institute 4676 Admiralty Way Suite 1001 Marina del Rey CA 90292-6695 Phone: +1 310 822 1511 E-mail:{brian, bcn}@isi.edu{brian,bcn}@isi.edu Matthew Hur Ari Medvinsky Microsoft Corporation One Microsoft Way Redmond WA 98052 Phone: +1 425 707 3336 E-mail:matthur@microsoft.com Ari Medvinsky Liberate Technologies 2 Circle Star Way San Carlos CA 94070 E-mail: ari@liberate.commatthur@microsoft.com, arimed@windows.microsoft.com Sasha Medvinsky Motorola, Inc. 6450 Sequence Drive San Diego, CA 92121 +1 858 404 2367 E-mail:smedvinsky@gi.comsmedvinsky@motorola.com John Wray Iris Associates, Inc. 5 Technology Park Dr. Westford, MA 01886 E-mail: John_Wray@iris.com Jonathan Trostle E-mail: jtrostle@world.std.com