US 20030105965 A1
A business method employing hardware complaint to the Trusted Computing Platform Alliance (TCPA) Specification is implemented to allow a credit card company to remotely install a credit card private key into a TCPA module to create a Trusted Platform Module (TPM). More specifically, when a credit worthy user applies for a credit card, the user will send the credit card company a public portion of a "non-migratable storage key," which is accredited a TPM endorsed by a Certification Authority. The credit card company will create its own public/private key pair according to the TCPA Specification, to create a TCPA header, and wrap the full structure by encrypting it with the public portion of the TCPA non-migratable storage key. The credit card company then sends by email the encrypted bundle with a certificate for it, and sends a corresponding pass phrase by regular mail.
 This application is a continuation-in-part of application Serial No. 09/851956 entitled System and Method for Installing a Remote Credit Card Authorization on a System with a TCPA Complaint Chipset.
 The present invention relates in general to data processing systems, and in particular, to enabling secure communications over data processing networks.
 The Internet provides a new arena for electronic commerce in which credit card companies are very interested. Quite naturally, since "commerce" is a necessary part of e-commerce, it stands to note that providing for the transfer of funds and credit during e-commerce transactions bodes well for those credit card companies that can securely provide for such transactions. One of the main concerns that continues with respect to e-commerce is the lack of trust that the consuming public has in the security of such transactions to protect their credit card and banking accounts.
 One current method for obtaining a credit card from a credit card company on- line is for the user to fill out a credit card application at the credit card company's website, and then if approved, the credit card company will send a physical credit card to the user who can then activate the credit card by calling a toll-free number from the user's home phone. However, credit card theft is abundant, and according to some reports, accounts for half of the monetary loss of the credit card companies.
 To eliminate the need for a physical credit card, another prior art method is to send to the user a smartcard for use in on-line transactions. However, the problem with a smartcard is one of expense, since use of a smartcard requires a smartcard reader to be installed on the user's computer.
 As a result, there is a need in the art for a less expensive but reliable and secure process for enabling users to obtain a credit card authorization that they can use on their computer for facilitating purchases over the Internet.
 The present invention makes use of the TCPA (Trusted Computing Platform Alliance) Specification to allow a company to remotely install an authorization private key into a TCPA module in a way that the company can be assured it is going to a trusted TPM (Trusted Platform Module). While the invention is not limited to credit card companies, the most detailed examples shown are for credit card companies. In the specific case of a credit card company, when a user applies for a credit card, the credit card company will first determine if the person is credit worthy. Assuming they are, then the user will send the credit card company a public portion of a "non-migratable storage key," which is accredited a TPM which is in turn endorsed by a Certification Authority (CA). The private portion of the "non-migratable storage key" is known to be a key that was created inside the TPM, and cannot be exported from the TPM. The credit card company will now create its own public/private key pair according to the TCPA Specification, using whatever size key it desires, create a TCPA header, and wrap the full structure by encrypting it with the public portion of the TCPA non-migratable storage key. The credit card company will then send by email to the person the encrypted bundle and a certificate for it, and via "snail mail," a pass phrase that is hashed to provide usage of the encrypted bundle on the person's system. The present invention provides for an interaction between the credit card company and the user in a way so that the credit card company is assured that a private key used by a user is used to the same degree that the user uses a physical credit card. That is, an embodiment of the present invention establishes a similar level of trust for a credit card authorization over the Internet as presently exists for transactions using physical credit cards in stores.
 In one alternative embodiment of the present invention, the credit card company can be its own certification authority.
 An advantage of the present invention is that only one user computer can use the encrypted bundle sent by the credit card company, which will reduce the amount of fraud by use of credit cards in e-commerce transactions. Another advantage of the present invention is that the certificate can easily be checked against the credit card company's database for revocation. Using this type of signature instead of a credit card number precludes someone from charging a credit card multiple times, and also precludes someone keeping a database of credit card numbers to be exposed to a hacker accessing such numbers.
 The foregoing has outlined rather broadly the features and technical advantages of the present invention in order that the detailed description of the invention that follows may be better understood. Additional features and advantages of the invention will be described hereinafter which form the subject of the claims of the invention.
 For a more complete understanding of the present invention, and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
FIGURE 1 illustrates a data processing system configured in accordance with an embodiment of the present invention;
FIGURE 2 illustrates a flow diagram configured in accordance with an embodiment of present invention; and
FIGURE 3 illustrates a network configured in accordance with an embodiment of present invention.
FIGURE 4 illustrates a business method in accordance with an embodiment of the present invention.
 In the following description, numerous specific details are set forth such as encryption methods or key lengths, etc. to provide a thorough understanding of the present invention. However, it will be obvious to those skilled in the art that the present invention may be practiced without such specific details. In other instances, well-known circuits have been shown in block diagram form in order not to obscure the present invention in unnecessary detail. For the most part, details concerning timing considerations and the like have been omitted in as much as such details are not necessary to obtain a complete understanding of the present invention and are within the skills of persons of ordinary skill in the relevant art.
 Referring to FIGURE 3, there is illustrated a configuration of a network 300 in accordance with the present invention where a user (customer) computer 301 applies for a credit card authorization from a credit card company server 302 over the Internet 303.
 Referring to FIGURE 1, there is illustrated exemplary data processing system 113 configured in accordance with the present invention, whereby system 113 could be used for the user computer 301, the credit card company server 302, and any and all servers used in the Internet 303 to communicate data between computer 301 and server 302.
 The system 113 has a central processing unit (CPU) 110, which is coupled to various other components by system bus 112. Read-only memory ("ROM") 116 is coupled to the system bus 112 and includes a basic input/output system ("BIOS") that controls certain basic functions of the data processing system 113. Random access memory ("RAM") 114, I/O adapter 118, and communications adapter 134 are also coupled to the system bus 112. I/O adapter 118 may be a small computer system interface ("SCSI") adapter that communicates with a disk storage device 120. Communications adapter 134 interconnects bus 112 with an outside network 160 (e.g., the Internet 303) enabling the data processing system to communicate with other such systems. Input/Output devices are also connected to system bus 112 via user interface adapter 122 and display adapter 136. Keyboard 124 and mouse 126 are all interconnected to bus 112 via user interface adapter 122. Display monitor 138 is connected to system bus 112 by display adapter 136. In this manner, a user is capable of inputting to the system 113 throughout the keyboard 124 or mouse 126 and receiving output from the system via display 138.
 Implementations of the invention include implementations as a computer system programmed to execute the method or methods described herein, and as a computer program product. According to the computer system implementation, sets of instructions for executing the method or methods may be resident in the random access memory 114 of one or more computer systems configured generally as described above. Until required by the computer system, the set of instructions may be stored as a computer program product in another computer memory, for example, in disk drive 120 (which may include a removable memory such as an optical disk or floppy disk for eventual use in the disk drive 120). Further, the computer program product can also be stored at another computer and transmitted when desired to the user's workstation by a network or by an external network such as the Internet 303. One skilled in the art would appreciate that the physical storage of the sets of instructions physically changes the medium upon which it is stored so that the medium carries computer readable information. The change may be electrical, magnetic, chemical, biological, or some other physical change. While it is convenient to describe the invention in terms of instructions, symbols, characters, or the like, the reader should remember that all of these and similar terms should be associated with the appropriate physical elements.
 Note that the invention may describe terms such as comparing, validating, selecting, identifying, or other terms that could be associated with a human operator. However, for at least a number of the operations described herein which form part of at least one of the embodiments, no action by a human operator is desirable. The operations described are, in large part, machine operations processing electrical signals to generate other electrical signals.
 Referring to FIGURE 2, there is illustrated a flow diagram of a process configured in accordance with an embodiment of the present invention where a potential credit card customer desires to receive an embedded credit card authorization within the customer's computer system 301. In step 201, the customer will create a TPM identity per the TCPA Specification and obtain a certificate for it. The TCPA Specification is published at www.trustedpc.org/home/home.htm, as Version 1.1b, which is hereby incorporated by reference herein. When a TPM is manufactured, its own endorsement key is generated and placed into nonvolatile memory inside the TPM chip. Only the public portion of that endorsement key, P1, is ever released from the chip, and is released to the manufacturer. The manufacturer of the TPM signs a certificate, C1, that goes along with the TPM. Alternatively, the certificate, C1, can be retrieved by a user over the Internet from the manufacturer. This certificate, C1, is tied to the public portion of the endorsement key, P1, that determines that the public key is the endorsement key of this particular TPM. This endorsement key, P1, is used for decrypting.
 As noted above, a TPM identity is created in step 201, which is a special kind of private key. A TPM identity can be created by the customer, such as with a DOS command, and the TPM identity is the public portion of a public/private key pair.
 The public key, P2, of the TPM identity and the certificate, C1, tied to the public portion of the endorsement key, P1, are then sent over the Internet to a Certificate Authority (CA). This may be authorized by the user as a result of a user command. The CA checks the accuracy of the certificate, C1, signed by the manufacturer. The CA can perform this check by looking in a database at the manufacturer's website. The CA then makes a certificate, C2, for the TPM identity, P2, and encrypts the certificate, C2, and bundles it with the public key, P2, of the TPM identity sent by the customer. This second bundle is then encrypted with the public endorsement key, P1, of the TPM.
 The second bundle is then returned to the customer by the CA, which is then decrypted by the TPM with the private portion of the endorsement key, P3. This protects from unauthorized requests for certificates from a CA. The TPM will then decrypt the first bundle with the private key, P4, of its TPM identity to obtain the certificate, C2, issued by the CA. The result is a TPM identity that has been signed by a CA.
 In step 202, the customer with create a non-migratable key. The TCPA Specification has two types of keys used to store other keys. The first type is "migratable," and the owner of the system is able to move such keys to other systems, as long as the owner knows the correct authorization data. It is possible to move such keys to insecure systems this way, and hence, migratable keys can be exposed by the owner of the system. This may or may not be a problem to a credit card company. Currently, a consumer exposes his key to a seller every time he shows his credit card, so currently, there is no requirement that keys be kept out of the hands of the customer. "Non-migratable" keys are locked to the hardware in a way that they cannot be cloned or migrated to another system even by the owner. They are thus inherently more secure.
 In one alternative embodiment of step 202, the customer creates a non-migratable storage key, K1, that may be a 2048-bit RSA key. A storage key is used for encrypting other keys so that the TPM can read them (i.e., a storage key decrypts items into the TPM). To create a non-migratable storage key, the customer may use the CreateWrapKey function of the TCPA Specification. There may also be a piece of software that does this for the user in a user-friendly way. The customer will then decide if the key, K1, will require authorization or not, and what that authorization would be. When the key is created, the customer decides if he wants to require authorization for use and if so, what pass phrase to use to provide the authorization. Software can be used to require authorization using some other type of means instead of a pass phrase, such as through the use of biometrics. The customer also decides what parent will be used for storing this key (the SRK (storage root key) is available). The parent key is a key used to store another key. The key stored is called a child, while the key used to do the storing is called the parent. In particular, if there are two key pairs, Private One, Public One and Private Two, Public Two, if Private Two is encrypted with Public One, then the first key pair would be referred to as the parent and the second key pair the child. Further, there is one key that is guaranteed to always be loaded inside the chip. It is called the storage root key, and it is an ancestor of every other key the chip can use. To load a key into the chip, it needs to have its parent's private key already loaded in the chip (so the chip can decrypt it). If the SRK is the great grandparent of a key, first one would need to load the grandparent of a key in the chip, then the parent of the key into the chip, and finally the key itself into the chip. This structure, called a daisy chain, is used to allow a TCPM chip to "store" an unlimited number of keys. The customer will then execute a TPM_CreateWrapKey command, with required parameters indicating the key produced will be a storage key. The customer then signs the non-migratable storage key, K1, with the TPM identity key, P2, creating a certificate, C3, for that non-migratable storage key.
 In another alternative embodiment of step 202, the customer creates a non-migratable signing key, K2, with the TPM_CreateWrapKey command, wherein the key may be a 2048-bit RSA key. Signing keys can be used by the TPM to sign the hash of a message (i.e., encrypt the hash of a message). The customer decides if this signing key, K2, will require authorization or not, and what that authorization will be. The customer decides what parent will be used for storing this key (the SRK is available). The customer executes the TPM_CreateWrapKey command, with required parameters indicating the key, K2, will be a signing key. And then, the customer signs the non-migratable signing key, K2, with the TPM identity key, P2, creating a certificate, C4, for that key, K2.
 In step 203, the customer contacts a credit card company over the Internet by browsing the credit card company's website. In step 204, the customer applies for a credit card authorization at the credit card company website by entering into a secure section of that website to fill out an application form. This implies a Secure Sockets Layer (SSL) to prove to the customer that the information he is giving the credit card company is not snoopable, and a certificate to prove to the customer he is indeed at the credit card company's web site. SSL is a means of creating encrypted communication between a user and a web site for entering a credit card without snoopers being able to access the number. The customer fills out the application form with his name, address and whatever other information the credit card company requires to determine whether the customer is credit worthy.
 In step 205, under the first alternative embodiment described above where the customer creates a non-migratable storage key, K1, the customer will provide to the credit card company the non-migratable public portion of the storage key, K1, the certificate, C3, by the TPM identity that the RSA storage key is a non-migratable TPM key, the certificate, C2, from the CA that the TPM identity is indeed a TPM identity, and a pass phrase the customer would like to use for authorizing use of the requested credit card authorization. It is at this point that the credit card company can evaluate the requested pass phrase and turn it down if it appears to be too trivial.
 If the customer had created a non-migratable signing key, K2, under the second alternative embodiment described above with respect to step 202, the customer will provide to credit card company in step 205 that non-migratable public portion of that signing key, K2, the certificate, C4, by the TPM identity that the signing key is a non-migratable TPM key, and the certificate, C2, from the CA that the TPM identity is indeed a TPM identity. In this embodiment, the pass phrase is chosen by the user, but is never provided to the credit card company.
 In step 206, the credit card company determines the credit worthiness of the customer, and assuming the customer is credit worthy, the credit card company then checks the TPM identity certificate, C2, to see the level of security inherent in the TPM system to determine if that is sufficient to proceed. The credit card company may also check to see if the TPM identity certificate, C2, has been revoked by the CA that issued it.
 In step 207, the credit card company creates a public/private key pair, P5, and a certificate, C5, to send to the customer. If the customer had previously sent a non-migratable storage key, K1, under the first alternative discussed above, then the credit card company will perform the following procedure. The credit card company will create the public/private key pair, P5, which may be a 2048-bit RSA key. If the credit card company wants to use a different kind of key, the TPM identity certificate, C2, will have to be checked to see if the TPM supports such a different kind of key. The credit card company will then create a header for the key, P5, using the format defined in the TCPA Specification, which is hereby incorporated by reference herein. In one alternative embodiment of this step, the header is created using the SHA-1 hash of the pass phrase selected by the customer, a migration pass phrase the credit card company generates, and creating a TCPA key bundle wrapping the key, P5, in the public key, K1, the customer gave the credit card company. In another alternative embodiment, the credit card company can create the header by using its own TCPA chip by commanding it to create a migratable key using the requisite pass phrases and choosing its own storage key (of any sort) for its own TPM, and then migrating that key to the customer's TPM public key, K1. If the credit card company performs this process, it must pass the end user the bundle and the random number that is used for this transition.
 The credit card company then creates its own certificate, C5, for the public key, P5, it created. In one alternative embodiment of this substep, the credit card company mails (traditional mail services) a diskette with the bundle stored on it to the verified address of the customer. In another alternative embodiment of this subset, the credit card company emails or mails the bundle to the customer (thus allowing verification of address) and either mails the random number to the customer with the bundle, or mails the random number to the end user separately, or mails the end user a 1-800 telephone number to call in order to get the random number (thus allowing verification of telephone number).
 If the customer had sent a non-migratable public portion of a signing key, K2, then the credit card company certifies the public key it has been sent and sends the certificate to the mailing address (proving verification of address) on a diskette. If the credit card company also wants to verify the telephone number, the certificate can be encrypted, for example X-ored with the SHA-1 hash of a pass phrase which is delivered over the phone.
 At the end of this process, in step 208, the customer now has a private key pair which can only be used on the customer's computer system using a pass phrase the customer was allowed to choose, and which has a certificate of the credit card company. The credit card company can revoke the certificate whenever it wants.
 An advantage of the first alternative described above where a non-migratable storage key is utilized, the credit card company can use the same key on multiple systems belonging to the customer, by simply re-wrapping the key with multiple storage keys of the customer. This is not possible with the second alternative where a signing key is created, unless the credit card company is willing to use migratable signing keys.
 An advantage of the second alternative discussed above where the customer creates a non-migratable public portion of a signing key, the credit card company never receives the pass phrase from the customer used to authorize use of the key on the customer's system.
 In an alternative embodiment of the present invention, a credit card company can perform a self-certification for a received non-migratable storage key. The customer of the system takes the certificate, C1, that was signed by the manufacturer of the system. This includes information regarding the security level the system was designed to as well as a certificate from the manufacturer of the TPM chip itself and a copy of P1, the endorsement public key from the TPM. The customer also asks the TPM (through a standard command) to generate a "TPM identity," a 2048-bit RSA signing key. The TPM returns the public portion of that key, P2. The customer takes P2 and the Certificate, C1, for the system and sends them to the credit card manufacturer. The credit card company verifies the certificate using the public keys of the manufacturer of both the TPM and the system and then provides a certificate, C6, for P2. However, the credit card company encrypts this certificate, C6, using P1 (as per the TCPA Specification). This encrypted certificate is sent back to the customer of the system. The customer sends the encrypted certificate, C6, to his TPM, (reloading the TPM identity key if necessary). The TPM checks the certificate against the identity key making certain that they match. If they do, the TPM exports enough information to decrypt the credit card company's certificate, C6, for that key.
 The customer then requests his TPM to produce a non-migratable storage key (or non-migratable signing key depending on which alternative he is taking). The TPM returns the public portion of the key. The customer then requests the TPM to sign the public portion of the non-migratable key in the last step with his identity. The TPM does this, providing an identity certificate that it is a non-migratable (storage or signing) key. The customer then sends the public portion of the non-migratable key, its identity-based certificate, and the credit card company certificate, C6, for the identity, back to the credit card company, which can then use its own certification of the quality of the non-migratable key.
 An additional embodiment will now be described in which a remote entity can install a private key on a remote user's Trusted Platform Module (TPM) associated with the remote user's computer system. The embodiment provides for secure usage of the key while retaining the key's transfer within the control of the remote entity.
 This embodiment provides a method for conducting business by which a company, such as a credit card company, creates a private signature key (which would represent a credit card in the example which follows) and transfers the key to an end user in a way that (i) preserves security, (ii) preserves control over the locale or locales where the key is to be used - for example, restricting the locale to the remote entity's locale (so that the remote entity can restrict the usage of the key to secure environments), and (iii) preserve control over the usage of the key - for example, restricting usage to the end user (so that only the designated end user can use the credit card). In the example which follows, a credit card company deploying a credit card product is shown as employing the method of doing business of this embodiment. The end product need not be a credit card, it can be a debit card or a general bank card used for all types of transactions. The example given below is not meant to be limiting in any way. For example, and not by way of limitation, the company can be a trust management company and the product can be a trust or will where authentication is given for power of attorney. The company can be an cable television company and the product a cable subscription service such as pay per view. The company may be an insurance provider and the product a medical benefits dispersion. In short, a provider benefits by the teachings of this embodiment for secure authentication for anything having good and valuable consideration.
 Referring now to Fig. 4, the transactions or steps of this embodiment of a method of doing
business are shown between an end user 401 and a credit card company 402. In step 404, the
credit card company 402 receives a credit card private key request from an end user 401 when
end user 401 applies for a credit card private key. In step 405, the credit card company 402
checks that the Applicant is qualified to receive the credit card key. This checking step 405 can
be for example the checking of the end user's 401 credit worthiness. In still another embodiment
of step 405, and not by way of limitation, the checking step 405 can be to check whether the end
user has an existing account etc. Upon qualification, in step 407, the credit card company 402
requests of the end user's 401 Trusted Platform Module (TPM) associated with the end user's
401 computer system a secure non-migratable storage key. Next, in step 408, the credit card
company 402 receives the secure non-migratable storage key generated by end user's 401 Trusted
Platform Module. To create a non-migratable storage key, the customer may use the
CreateWrapKey function of the TCPA Specification as described hereinabove. The secure non-migratable storage key is received along with any of the following:
 Steps 409 and 410 are optionally utilized when it is the items of (C) which are received. In this case, the credit card company 402 creates a certificate for the TPM identity key, encrypts the certificate as per the TCPA specification / TPM specification - as in for example key1, and sends key1 back to the user encrypted in a blob containing the public identity key and encrypted with the public endorsement key. When steps 409 and 410 are required, processing continues with step 410. In step 410, a decrypted identity certificate is received by the credit card company 402. This decrypted identity certificate is generated as a result of the end user 401 utilizing the TPM associated with end user's 401 computer system to decrypt the TPM identity key certificate; which, in turn, utilizes the provided endorsement private key to decrypt the key used to decrypt the certificate - but only if the TPM identity key matches the identity key generated by that TPM.
 Upon verification that the storage key is a TPM non-migratable key, and hence secure, the
credit card company 402 creates a pair of public credit card private keys, and
 Upon receipt of the credit card private key per step 411, the method continues with the
final step 412. In step 412, the user 401 waits to receive the code word necessary to use the key
via a secure channel to the user. The secure channel can be:
 Additional steps can be securely taken as necessary. In the example which follows, a
virtual private network (VPN) is utilized to establish a secure connection between the end user
401 and the credit card company 402. Details concerning VPNs are well known in the art and are
omitted so as to not obfuscate the present disclosure in unnecessary detail. In this example, if the
end user 401 desires to change his or her password or PIN code, this can be done securely as
 Although the present invention and its advantages have been described in detail, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims.