AUTO-RECOVERABLE AUTO-CERTIFIABLE CRYPTOSYSTEMS WITH UNESCROWED SIGNATURE-ONLY KEYS

Abstract: A method is provided for digital signature infrastructure that provides public keys (1005) which are effective only for verifying digital signatures, and are not effective for encrypting information in a way that is unrecoverable by law-enforcement entities. The method can be implemented in software, thus avoiding the need for tamper-proof hardware. The method has the property that signing private keys (1010) are not escrowed, since the corresponding public keys cannot be used effectively for criminal communications. As a result no one can impersonate the user; alternately users can prove impersonations. Furthermore, the system is shadow public key resistant. A shadow public key is a public key which is not escrowed and which can be used for untappable communications. Therefore, the method presented here cannot be used to publish public keys which are not escrowed. All information displayed by the certificate authorities, and even the digital signatures of users, are shadow public key resistant. The present invention is useful for any application that requires that messages be verifiably authentic, and is particularly applicable to being used in a national public key infrastructure (PKI), since it is very scalable. It can be combined with Auto Recoverable auto certifiable systems to give a complete solution to encryption (confidentiality) and signature (authentication) in the context of escrow key systems.

Description: AUTO-RECOVERABLE AUTO-CERTIFIABLE CRYPTOSYSTEMS WITH UNESCROWED SIGNATURE-ONLY KEYS Background-Field of Invention The field of this invention is cryptography. This invention relates to digital signature schemes, and in particular to schemes that are compatible with any escrowed encryption system. The scheme introduces a public key/private key system in which the public key is auto-certifiable and is effective only as a digital signature verification key, and is not effective at performing unescrowed encryptions of data. Furthermore, the private signing key in the system is not escrowed. If the public key is ever used to encrypt data then that data is auto-recoverable by trusted authorities. The invention relates to cryptosystems imple- mented in software, but is also applicable to cryptosystems implemented in hardware. In particular the invention can be employed as the signature and authentication component in conjunction with escrowed encryption schemes. Background-Description of Prior Art Public Key Cryptosystems (PKC's) allow secure communications between two parties who have never met before. The notion of a PKC was put forth in (W. Diffie, M. Hellman, "New directions in cryptography", IEEE Transac- tions on Information Theory, 22, pages 644-654, 1976). This communication can take place over an insecure channel. In a PKC, each user possesses a public key E and a private key D. E is made publicly available by a key distribution center, also called certification authority (CA) , after the registration authority verifies the authenticity of the user (its identification, etc.). The registration authority is part of the certification authority. D is kept private by the user. E is used to encrypt messages, and only D can be used to decrypt messages. It is computation- ally impossible to derive D from E. To use a PKC, party A obtains party B's public key E from the key distribution center. Party A encrypts a message with E and sends the result to party B. B recovers the message by decrypting with D. The key distribution center is trusted by both parties to give correct public keys upon request. In the same paper by Diffie and Hellman the notion of a digital signature scheme was also proposed. A digital signature scheme allows a user to digitally "sign" a message using the private key known only to the user, to prove that the message comes from the user. To sign a message M, the user computes a signature using the private key D. The signature can then be verified using the public key E. A PKC and digital signature scheme based on the difficulty of computing discrete logarithms was published in (T. ElGamal, "A Public-Key Cryptosystem and a Signature Scheme Based on Discrete Logarithms", CRYPTO '84, pages 10-18, Springer- Verlag, 1985) . Since the present invention discloses a method for generating, publishing, and employing public key systems based upon a digital signature algorithm which is based on the problem of computing discrete logarithms, we will cite relevant prior art dealing with discrete log based signature schemes. The first space efficient digital signature scheme based on discrete logarithms is the Digital Signature Algorithm (U.S. Patent 5,231,668 ). DSA gets its security from the difficulty of computing discrete logs modulo the prime p, where p is at least 512 bits in size. It also gets its security from the difficulty of computing discrete logs in a cyclic subgroup of order g, where q is a 160 bit prime divisor of p-1. DSA is novel in that the signatures that it outputs are 320 bits in length. Nyberg and Rueppel disclosed a set of ElGamal based variants that provide for message recovery (K. Nyberg, R. Rueppel, "Message Recovery for Signature Schemes Based on the Discrete Logarithm Problem, Eurocrypt '94, pages 182-193, 1994) . The message recovery feature allows the message to be recovered from the signature itself, hence the message need not be sent along with the signature. Another important feature of digital signature schemes is blindability (D. Chaum, "Blind Signatures for Untraceable Payments", CRYPTO '82, pages 199-203). A scheme is blindable if it is possible for Alice to obtain a Bob's signature on a message of her choice such that Bob remains oblivious as to what he is signing and what the resulting signature is. In (D. Chaum, T. Pedersen, "Wallet Databases with Observers", CRYPTO « 92, pages 89-105) a blindable scheme based on ElGamal is disclosed. A good overview of digital signature security is described in (S. Goldwasser, S. Micali, R. Rivest, "A digital Signature Scheme Secure Against Adaptive Chosen Message Attacks", SIAM J. Co put., vol. 17, n. 2, pages 281-308, 1988). In the U.S. Patent Document entitled "Auto-Escrowable and Auto-Certifiable Cryptosystems" (by Young and Yung) , a public key cryptosystem was disclosed that has the following properties: Users of the system can generate a public/private key pair and a certificate of recoverabili- ty. This certificate of recoverability can be used to both recover the private key by the escrow authorities, and verify that the private key is recoverable. The present invention draws many of its ideas from the Auto-Escrowable and Auto-Certifiable key escrow solution but concentrates on signature keys that have the feature that encryptions using the public verification key are auto-recoverable. Other methods for conducting key escrow are U.S. patents 5,276,737, and 5,315,658 which are due to Micali (1994). In these patents Micali discloses a Fair Public Key Cryptosystem (FPKC) which is based on the work of P. Feldman (28th annual FOCS) . The FPKC solution is not as efficient in terms of use as Auto-Escrowable and Auto-Certifiable Cryptosystems. Furthermore, it has been shown that the Fair RSA PKC does not meet certain needs of law enforcement (J. Kilian, F. Leighton, "Fair Cryptosystems Revisited", CRYPTO '95, pages 208-221, Springer-Verlag, 1995, see also U.S. Patent 5,647,000 to Leighton), since a shadow public key cryptosystem can be embedded within it. A shadow public key system is a system that can be embedded in a key escrow system that permits conspiring users to conduct untappable communications. Kilian and Leighton disclose a Fail-safe Key Escrow system. This system has the drawback that it requires users to engage in a multi-round protocol in order to generate public/private key pairs. Other key escrow systems with similar inefficiencies are by De Santis et al., Walker and Winston (TIS) , and the IBM SecureWay document. A "Fraud-Detectable Alternative to Key-Escrow Proposals" based on ElGamal has been described in (E. Verheul, H. van Tilborg, "Binding ElGamal: A Fraud-Detectable Alternative to Key-Escrow Proposals", Eurocrypt '97, pages 119-133, Springer-Verlag, 1997). This system pro- vides for session level key recoverability, and makes no provision for preventing users from encrypting messages prior to using the Binding ElGamal system. Hence, it permits conspiring criminals to conduct untappable communications. Both Binding ElGamal and the Auto-Escrowable and Auto-Certifiable Cryptosystems solutions employ the use of non-interactive zero-knowledge proofs. More specifically, they employ the Fiat Shamir heuristic which is disclosed in (A. Fiat, A. Shamir, "How to Prove Yourself: Practical Solutions to Identification and Signature Problems", CRYPTO '86, pages 186-194, Springer-Verlag, 1987). An overview of key escrow schemes appears in (D. Denning, D. Branstad, "A Taxonomy for Key Escrow Encryption Systems," Communications of the ACM, v. 39, n. 3, 1996). In (N. Jefferies, C. Mitchell, M. Walker, "A Proposed Architecture for Trusted Third Party Services", Cryptography: Policy and Algorithms, LNCS 1029, Springer, 1996) and (R. Anderson, "The GCHQ Protocol and Its Problems", Eurocrypt '97, pages 134-148, Springer-Verlag, 1997) a trusted third party approach to escrow is described where the trusted third parties of the participating users are involved in every session key establishment stage, and hence provides for another cumbersome solution as well. Such solutions are described in the TIS patent (U.S. Patents 5,557,346, 5,557,765, and 5,640,454 to Lipner et al.) and the IBM patents (U.S. Patents 5,796,830 and 5,815,573 to Johnson et al.). Adding time limits to keys is given in (U.S. Patent 5,633,928 to Lenstra et al.). The primary problem with implementing a digital signature scheme suitable for a national usage is that very often the public verifying key can be used as a public encryption key, and the corresponding private signing key can be used as a private decryption key. For law enforcement purposes it is therefore necessary to escrow the signing private keys. But this implies that law enforce- ment has the capability of forging signatures of users, and also impersonating users in interactive identification protocols. There is no legitimate reason that law enforcement should have this capability. Hence, what is needed is a public and private key system that is usable for digital signatures but not for public key encryptions. This problem was stated informally in a request for comments that was published in the Federal Register ("Announcing Plans to Revise Federal Information Processing Standard 186, Digital Signature Standard", vol. 62, n. 92, Federal Register, pages 26293-26294, May 13, 1997). We will now give reasons why existing digital signatures schemes fail due to shadow public key vulnerabilities. Consider the ElGamal digital signature algorithm (T. ElGamal, "A Public-Key Cryptosystem and a Signature Scheme Based on Discrete Logarithms", CRYPTO '84, pages 10-18, Springer-Verlag, 1985). In ElGamal, the public key is y = g x mod p, where x is the private signing key. Here g is a public generator modulo the public prime p. Suppose that y is an escrowed public key. This insures that it can't be used for unescrowed encryptions. But, now the escrow authorities can forge signatures. Suppose that y isn't escrowed. Then signatures can't be forged by the escrow authorities, but by now constitutes a shadow public key. Note that the same situation occurs with DSA, the Schnorr digital signature algorithm, and the ElGamal variants of Nyberg and Rueppel (K. Nyberg, R. Rueppel, "Message Recovery for Signature Schemes Based on the Discrete Logarithm Problem", Eurocrypt '94, pages 182-193, Springer-Verlag, 1994) . Now consider the RSA digital signature algorithm (U.S. Patent 4,405,829 to Rivest et al.). Recall that in RSA n is the product of two large primes p and q. e is a public value such that gcd(e, (p-1) (q-1) ) — 1. e and n are the user's public verification keys, and the inverse of e mod (p-1) (q-1) is the user's private signing key. It is simple enough to revise RSA key generation to preclude shadow public key abuse. It remains to consider the aspects of the digital signature algorithm. Suppose that n is escrowed. It follows that the escrow authorities can forge signatures. Suppose that n is not escrowed. It is clear then that the escrow authorities can't forge, but n is a shadow public key. Thus RSA is subject to the same dichotomy as the discrete log based systems. This abuse applies also to the other algorithms based on the difficulty of factoring. For example, consider Esign (U.S. Patent 4,625,076 to Okamoto et al.). In Esign, n = p 2 q. It is possible to do RSA like encryptions and decryptions using such a modulus. In Fiat-Shamir (U.S. Patent 4,748,668 to Shamir et al. ) , n is the product of two primes and none of the users know the factorization of n. To generate a public key, a user generates k different quadratic residues v 1# v 2 , ... ,v k modulo n. This vector is the public key. The scheme therefore succumbs to the following shadow public key attack. The user's agree on a value (or a set of values) g to be the base for the group Z n * (hopefully it generates a large subgroup) . To generate v, for a public key, a malicious user chooses w at random and sets v, = g 2w mod n. Thus, v, is a quadratic residue, and a shadow public key for ElGamal mod n. The shadow private key is 2w. To the best of our knowledge all digital signature algorithms aside from Okamoto '92 (T. Okamoto, "Provably Secure and Practical Identification Schemes and Corresponding Signature Schemes", CRYPTO '92, pages 31-53, Springer- Verlag,1993) fail immediately when viewed in light of the needs for a satisfactory digital signature infrastructure. Recall that in Okamoto, the public verification key is v = g 1 Λ (-s 1 ) * g 2 A (-s 2 ) mod p. The symbol Λ denotes exponentiation, hence a b is a raised to the b power. Here g 1 and g 2 have order q modulo the public prime p. The values for g,, g,, and q are also public. The private key is (s t ,s 2 ). Both s, and s 2 are chosen randomly modulo q. Okamoto is based on the representation problem modulo p. To sign a message m in Okamoto, we choose two values r, and r 2 randomly mod q. We then compute e = H(g 1 Λ (r 1 ) * g 2 A (r 2 ) mod p, m) . Here H is a one-way hash function. We then compute y 1 = r, + es 1 mod q and y 2 = r 2 +es 2 mod q. The signature is the triple (e, y , y 2 ) . To verify the signature we check that e = H g^ y,,) * g 2 A (y 2 ) * ve mod p,m) . At first sight it seems like Okamoto is a good candidate for the setting of a national PKI for signatures, which is to be used alongside an escrowed PKI. For, suppose we don't escrow v. Then the escrow authorities can't forge signatures. But, then we need to insure that v cannot be used as a shadow public key. In fact, we need to show that any key based on the representation problem with g, and g 2 can't be used as an encryption public key. To see this, note that the quantity g^fy,) * g j A (y 2 ) * ve mod p is in fact just g^fr,) * g 2 A (r 2 ) mod p. Hence, a modular exponentiation with two bases is displayed during signature verification. Now suppose that there is a public key encryption algorithm for public keys with representations using two bases. Since Okamoto is extendible to three or more bases, maybe there is no encryption algorithm if the representation uses three bases, or four bases, etc. In fact, there is a public key algorithm that uses public keys based on the representation problem with any number of bases. To public key encrypt a message m using v as in Okamoto, we do the following. 1. choose k randomly from Z 2. a = g^ mod p 3. b = v k mod p 4. c = g 2 k * m mod p 5. the ciphertext of m is (a,b,c) To decrypt we compute: 1. a'= a A (-s,) mod p which equals g. A (-s 1 * k) moodd pp 2. b • = b/a' mod p which equals g 2 A (-s 2 * k) mod p 3. m == cc//((bb'' AA ((--ll//ss, 2 )))) mmoodd pp Note that unlike in ElGamal encryptions, the cipher- text is a triple. This algorithm can be easily extended to handle representations using more bases. The ciphertext is an (m+1) -tuple if m bases are used in the representation of v. Thus, Okamoto and it's extensions using more bases fails to meet the requirements of the system that is needed. In the pending U.S. patent application entitled "Auto-Recoverable and Auto-Certifiable Cryptosystem with Unescrowed Signing Keys" (A. Young, M. Yung, 08/878,189), a solution was presented that attempted to solve this problem. However, the primary embodiment of that solution, and it's variants, have a drawback that was not addressed. Recall that the solution proposed a three key system which involved a signing private key, a decryption private key, and a public key suitable for public key encryptions and signature verifications. The private signing key and the public verification key are used in a digital signature algorithm that is very similar to the ElGamal digital signature scheme, and its variants. The problem with the system is that in the primary embodiment and it's variants, a signature involves publishing a value which can be used as a shadow public key. For example, in the primary embodiment, the value a = Hfmjfg. j /Y) " * mod 2q is computed as the first part of the signature on m. Yet this quantity can be used as a shadow public key in an ElGamal-like public key cryptosystem where t is the unescrowed decryption key. To see this, note that all users have access to H(m) , so they can compute the public key w = a/H(m) mod 2q. The value (g^Y) "1 can be used as the base g' ' (or generator, if you will) of Z 2 . The key pair is thus ( (w, g'', 2q) ,t) , which is an ElGamal public/private key pair in the group Z 2 . All each malicious collaborator needs to do is publish a single signature to a bulletin board, and retain the unescrowed decryption key. This is a major drawback, since the bulletin board then serves as a shadow public key database, and having it taken down by law-enforcement can be argued to be a violation of the first amendment in court by the collaborators, in the event that law-enforcement tries to take the bulletin board down. The present invention solves this problem by introducing a digital signature algorithm where no shadow public keys are displayed through the digital signatures that are computed. Indeed, what is needed is a new signature scheme that is secure and does not provide public keys which can be used for unescrowed public key encryption, especially in the context of an escrowed PKI. Key Recovery Infrastructure with Unescrowed Signatures The present invention discloses a digital signature mechanism that, unlike all known schemes mentioned above, cannot be used for untappable wire communications. Thus it provides simultaneously for an unescrowed signature scheme and an escrowed encryption scheme. The Auto-Escrowable and AutoCertifiable solution provides an efficient way to implement a public key infrastructure, thereby allowing privacy for users. The present invention builds on that solution and provides the added functionality of authentication capabilities needed in key escrow environments. Thus users of the present invention can verify the authenticity and origin of message senders. Summary of the Invention In order to provide for the above objective the present invention introduces a new idea in cryptography. The present invention introduces a public key which can be used to verify digital signatures but cannot be used to encrypt data in a way that prevents escrow authorities from decrypting the data. The public key has the usual property that it is intractable to derive the corresponding private key from the public key. The present invention also has the property that the escrow authorities and CA's are unable to forge the signatures of users of the system. The present invention consists of a key certification process, a signing process, a signature verification process, and a key (or information) recovery process. The key certification process can be broken down into two functions which are key generation, and key verification. In the key generation process, a public key, the corresponding private signing key, and information proving that the keys were generated properly is output. In the key certification process, the user transmits this information to the certification authorities (CA) (or registration authority, which is often part of the CA) . The certification authority takes this information, processes it, and decides to either publish the public key or not. If the verification information indicates that the keys were generated properly using the key generation algorithm, the certification authority publishes the users public key. Otherwise, the users request for certification is rejected, and the CA may take subsequent action which may include informing the user of this. In the preferred embodiment, public keys that are properly verified by the CA are digitally signed by the CA and a digital certificate from this information is formed. A public key together with a CA's signature on a string that contains the public key constitutes a certified public key. It is the public key and/or the digital certificate that is made available to other users by the CA. User's sign messages and verify messages in the same manner as in typically digital signature schemes. In the recovery process, information that is encrypted using the public signature verification key of a user is decrypted using information that was sent to the CA during key certifica- tion. This may be done without any special authorization, since the public key is only supposed to be used for digital signature verification (another infrastructure should be devoted to ensuring confidentiality, if confiden- tiality is needed) . The method by which the CA certifies and publicizes keys may differ according to the numerous methods available in the art. There are many ways for the CA to act, the ways we adopt in the current description is merely illustrative and there are other variations that are known to the skilled in the art whose implementations does not differ from the current invention. The present invention is useful in any environment that requires messages to be verifiably authentic. Such environments arise in law enforcement nationally and internationally, in the business sector, in secure file systems, etc. The present invention may involve recovery agents. The present invention is also directly extendable to authentication that is conducted via the use of interactive identification protocols by methods known to those skilled in the art. The present invention is robust with respect to any underlying technology since it can be implemented in both hardware and software. When implemented in software it can be easily scrutinized to insure that it functions as desired and to insure that it does not compromise the security of its users. The software implementation allows for fast and easy dissemination of the invention, since it can be disseminated in source code form over diskettes or over a computer communication network. The invention does not require changes in communication protocols used in typical unescrowed PKI's (e.g., session key establishment, key distribution, secure message transmission, etc.). The invention is therefore compatible with typical PKI's. The present invention thus provides a very efficient way of allowing for digital signatures. Description of The Drawing The present invention will be described with reference to the accompanying figures 1-7. FIG. 1 is a flow chart of the basic steps of the process of generating a public key, the private signing key, and the information that shows that the keys were generated properly. FIG. 2 is a data flow diagram of the process of certifying a key using the invention. FIG. 3 is a data flow diagram of the process of recovering information enciphered using the public verification key. FIG. 4 describes a generic digital signature system and its main components and operations FIG. 5 describes the present invention. FIG. 6 describes the digital signing process FIG. 7 describes the digital signature verification process. Description of the Invention The invention describes a mechanism that can be performed in conjunction or parallel with the generation of public keys for encryptions which may be escrowed or recoverable. For example the auto-recoverable auto-certi- fiable systems of Young and Yung (pending U.S. patent 08/864,839). This art is incorporated here by reference. The rest of the description will describe the signature part of the system which is used to authenticate users and users in association with messages they send. It is obvious to those skilled in the art that a signature function and its public verification functions can have many uses and applications, we do not further specify these potential uses of the signature component we describe herein. We will now describe the key generation algorithm that is followed by the users of the system. This process is depicted in FIG. 1. Let e > 2 be a small prime (e.g., e = 3, 5, 7, etc.) . Let M be a security parameter. Choose M/2 bit numbers s and s' randomly, and choose M/2 bit primes p., p 2 , q and q 2 . Let phi denote Euler's totient function. These primes adhere to the following mathemati- cal constraints for proper system operation: 1. Each of p, - 1, q, - 1, p 2 - 1, and q 2 - 1 have a large prime in their factorization. 2. gcd(e,(p, - 1) (q. - 1) (p 2 - 1) (q 2 - 1)) = 1. 3. There exists an M, bit (e.g., M,= 31) odd value t, such that p = 2*t 1 *p 1 *q 1 + 1 is prime and such that gcd(e,phi(t 1 ) ) = l (phi is Euler's totient function). 4. There exists a M, bit odd value t 2 such that q = 2*t 2 *p 2 *q 2 + 1 is prime and such that gcd(e,phi(t 2 ) ) = 1. We incorporate t 1 and t 2 in finding p and q to make key generation fast. To provide protection against shadow public key abuse, the following additional constraints are needed to reduce subliminal leakage: 1. H.,(s) (or H.,(s) + 1, see below) is the same as the upper half of the bits in the bit representation of p^q.,. 2. H^s') (or H^s') + 1) is the same as the upper half of the bits in the bit representation of p 2 *q 2 . To accomplish step 1, the algorithm used in the SETUP attack against RSA keys with an obvious modification is performed (A. Young, M. Yung, "Kleptography: Using Cryptog- raphy Against Cryptography", Eurocrypt '97, section 5, pages 62-74, Springer-Verlag, 1997). Thus, either HI(s) is the upper order bits, or H,(s)+l is the upper order bits due to a borrow bit being taken. Here HI is a suitable one-way hash function. This step is to avoid the leakage of M/2 bits in the composite p^q.,. However, using this approach, we need to perform trial divisions on q 1 - 1 and insure that the resulting value is prime. The same procedure is used to accomplish step 2. The values p, q, t.,, and t 2 are found to satisfy the above. The key generation algorithm then performs the following computations: 1. Compute the smallest values s 1 and s 2 that make g, = a generator mod p and g 2 = H 3 (s,s',s 2 ) a generator mod q. We insist that s 1 and s 2 are, say at most 16 bits in length. 2. Chinese remainder g = g 1 mod p with g = g 2 mod q to get g mod pq (g then has order lambda (n) , see (Rosen, K. R. , "Elementary Number Theory and its Applications", 3rd edition, Theorem 8.21, page 313, Addison Wesley, 1993). 3. n = pq 4. n ι = 2 *t 1 *p 1 *q 1 *t 2 *p 2 *q 2 5. d = (1/e) mod phi (phi (n) ) 6. compute T, to be a non-interactive zero-knowledge proof of knowledge of the factorization of (p-l)/(2*t 1 ) . 7. compute T 2 to be a non-interactive zero-knowledge proof of knowledge of the factorization of (q-l)/(2*t 2 ) . To prove knowledge of the factorization of a number u into two distinct prime factors, one can query a random oracle hash function on this number u to generate enough random numbers mod u and show a square root of at least 3/8 of these random numbers. H 2 and H 3 are suitable one-way hash functions, where the range of H 2 is Z and the range of H 3 is Z . Number (2) above is the last part of step 1000 in FIG. 1. Number (3) above corresponds to step 1005 in FIG. 1. Numbers (4) and (5) above correspond to step 1010 in FIG. 1. Note that n, = lambda(n) is the Carmichael function lambda of n. The public verification key is (g,e,n). The private signing key of the user is (d,n.,) . Numbers (6) and (7) above correspond to step 1020 in FIG. 1. Note that T, and T 2 can optionally be conducted interactively. To register the public verification key with the CA, the user sends to the CA the tuple(s,s' . The values s, and s 2 must be sent, since we know of no way for the CA to verify that q generates Z and that g 2 generates Z . This corresponds to step 1030 in FIG. 1. To those skilled in the art, steps 6 and 7 above can be replaced by an interactive protocol between the user and the CA. Step 2000 in FIG. 2 is the user generating the key pair and forming (s,s' ,p,q,t 1 ,t 2 ,s 1 ,s 2 ,e T 1 ,T 2 ) . Step 2010 depicts the user sending this string of information to the CA. Step 2020 in FIG. 2 is the CA verifying this string of information. We will now describe this process in detail. The CA receives (s,s' ,p q # t 1 t 2 ,s 1 s 2f e,T 1# T 2 ) . The CA computes v, to be (p-l)/(2*t 1 ) and v 2 to be (q-l)/(2*t 2 ) . The CA then sets z to be the upper half of the bit repre- sentation of v.,, and z' to be the upper half of the bit representation of v 2 . The CA computes g, and g 2 in the same way as the user. The CA finds g by Chinese Remainding g, mod p with g 2 mod q. The CA also computes n = pq. Let a j b denote that a divides b evenly. Let a A b denote a raised to the b power. The CA verifies all of the following things: 1. p is prime, t 1 is odd and the appropriate size, t, J p-1, s is M/2 bits, etc. 2. that pq is hard to factor (e.g., jp-q' is large, etc.) 3. H,,(s) or H.,(s)+1 equals z and also checks that H.,(s') or H^s'J+l equals z'. 4. g, A ((p-i)/2) != l, g^Up-D/t.) != 1, g^Up-iJ/v,) i= 1 all mod p and that g 2 A ((q-l)/2) != 1, g 2 A ( (q-l)/t 2 ) • = ! g 2 Λ ( (g -1 )/ v 2 ) •- 1 a11 mod 9 (hence, the CA is sure that g generates a large subgroup) . Here a 1= b denotes that a is not equal to b. 5. checks that T., and T 2 are valid. Step 5 convinces the CA that the user knows the signing private key. If all the verifications pass then the CA publishes (g,e,n) as the user's public verification key. If an escrowed PKI is also in use, then (p,q) is forwarded to the escrow authorities to permit key recovery. Either way, the CA may opt to store all of the infor- mation received by users for future purposes. In the event that the law-enforcement (or whatever body is in charge of investigating rogue use of n) suspects that a given users modulus n was used to encipher data using a public key encryption algorithm, the factors (p,q) of n are used to recover the encrypted information. This process is depicted in FIG. 3. In step 3000 of FIG. 3. The recovery agent (which may be law enforcement) obtains the enciphered communications of the suspected criminal. In step 3010, the recovery agent obtains the factors (p,q) of n from the CA. Here n is the modulus corresponding to the public key of the message recipient. In step 3020, the recovery agent deciphers the communications using the factors (p,q) of n. The encrypted information may be a session key that is needed to decrypt the actual criminal communications. Hopefully, law-enforcement knows exactly what algorithm was used to encipher the information. FIG. 4. depicts a typical public key cryptosystem (PKC) when used for digital signatures. In step l a user of the system reads the CA's address and other information. In step 2, the user generates a public/private key pair and gives the public key to the CA. Step 3 corresponds to normal system operation. In this step, a sender signs a message using the sender's own private key, as depicted in step 4. The sender sends the message along with the signa- ture to the receiver in step 5. In step 6, the receiver obtains the message and signature and obtains the public key of the sender from the CA. In step 7, the receiver verifies the authenticity of the received message using the message, the signature, and the sender's public key. Variations on usages of signatures and technologies built upon the availability of digital signatures are applicable. FIG. 5 describes our digital signature system. Steps 1 through 7 are fundamentally unchanged from FIG. 4. Yet, in our system, if the public key of the sender is used to encipher data, a recover agent can recover the information. This process is depicted in steps 8 and 9. In step 8, the recovery agent gets recovery information from the CA, corresponding to the factors of the senders public modulus n. In step 9 the recovery agents obtains and deciphers the message that is suspected to have been enciphered using the public key of the sender. Art describing the operation of the recovery agents is described in publications that pertain to the specific encryption algorithm used by the malicious user (e.g., RSA in U.S. patent 4,405,829). The signing algorithm is depicted in FIG. 6. To sign an arbitrary message m, the user computes gH(m) mod n as depicted in step 6000 of FIG. 6. Having computed this quantity, the signer proceeds to step 6010 and computes c = (H(m))d mod nl. Here H is a random oracle (e.g., implemented via one-way hash functions) . c is the output of the signing algorithm, and is the signature on m. FIG. 7 depicts the process that is followed to verify the authenticity of a signature c on message m. In an alternate embodiment, the signature c includes redundancy and/or randomness in addition to the message being signed. In step 7000 of FIG. 7, the verifier computes g HCm> mod n. In step 7010 the verifier computes g A (c e ) mod n. In step 7020 the verifier checks that: g H<m> mod n = g A (c e ) mod n If this equality holds, then 1 is output, indicating that c is a valid signature on m. Otherwise, zero is output, indicating that c is not a valid signature on m. Note that if, for example, e = 3, the only way to verify the signature is to compute the right side as follows: (c e ) mod n = ( (g c mod n) c mod n) c mod n This is necessary because the modulus in the exponent is unknown to the verifier, thus the verifier cannot first compute c 3 mod n, and then use this as the exponent for g. Note that if e were a value other than 3, we would simply perform e modular exponentiations to compute the right side of the verification equation. The reason we insist e is small (which is of size polynomial in the logarithm of the size of n) is therefore to make signature verification efficient. This system constitutes a nested trapdoor system involving three domains, FI, F2, and F3. In partic- ular, domain F3 is the integers mod (phi 2 ) (n) , F2 is the integers mod lambda(n), and FI is the integers mod n. If another encryption key is available (namely, the public encryption key of the receiver of the signature) , it can be used to encrypt the message and signature being sent. Thus, there has been described a new and improved unescrowed auto-certifiable signature infrastructure which allows for digital signatures, its variants, and applications. It is to be understood that the preferred embodiment is merely illustrative of some of the many specific embodiments which represent applications of the principles and paradigms of the present invention. Clearly, numerous and alternate arrangements can be readily devised by those who are skilled in the art without departing from the scope of the present invention. In a secondary embodiment of the above method, one can view a system where users or other system entities have signature keys and if the CA or key recovery authorities or law enforcement try to impersonate a user, there is a way for the user to prove a-posteriori that forgery. If retroactive security is acceptable in a system that operates along side an escrowed one, the following simpler solution can be used. By being retroactively secure we mean that under normal system operation, users assume that the escrow authorities will not forge signatures, but if they do forge signatures, then users have a retroactive way of verifying this. This solution has now small sized signatures and efficient signature verification algorithms. In this solution, the user generates two public/private key pairs (y,,^) and (y 2 ,x 2 ) and escrows x, (e.g., as in the pending United States patent application No. 08/878,189 of Young and Yung). Provided that the CA is convinced that x 1 is escrowed and that y 1 doesn't contain a shadow public key, the CA chooses a number r randomly and computes v = H(r,y 2 ) . The CA publishes (y,,v) . Here H is a one-way hash function. Note that v has no subliminal channel from the user, hence it has no shadow public key. This value forms a public commitment of y 2 . Let c = sig(x,m) be the signature on m using the private key x. To sign a message m, the user computes c 1 = sigfx^m), and c' 2 = sig(x 2 ,m) . The user computes c 2 — H'(c' 2 ). The range of H' could be say {0,!} 64 . The signature is (c,,^). Alternatively, c 2 can be a parameter in computing c 1f extending the message m. To verify a signature a user checks that c, is the proper signature on m using y,. The value c 2 goes unchecked under normal system operation. If a user suspects that the escrow authorities forged a signature, the user can demand that the signer send him y 2 . Once y 2 is obtained, the verifier checks that v - H(r,y 2 ), c' 2 is the signature on m using y 2 , and checks that c 2 = H'(c' 2 ). If equality does not hold, it constitutes a proof of forgery. The reason this is only a partial solution is that to check if the escrow authorities forged the signature, a shadow public key y 2 is sent to the verifier. Also, a malicious user could choose c 2 to leak information, hoping it will never be verified (hence, why we restrict it to being small, say 64 bits) . However, for many applications this may suffice.

Claims: What we claim is: 1. A method comprising a cryptosystem which can be used for (a) generating, (b) verifying, (c) using cryptographic keys for signing and authenticating the origin of messages and (d) recovering information encrypted under keys which involves at least four entities: agents, authorities, a registering party, and other parties, and which further consists of the following steps: (1) having said entities establish a set of system parameters; (2) having said registering party generate a registering party public signature verification key and registering party signing private key by employing a specified public proce- dure; (3) having said registering party generate a validation proof which certifies that said registering party signing private key was generated by employing said specified public procedure; (4) having said registering party send said registering party signature verification public key and said validation proof to said authorities; (5) having said authorities verify the correctness of said registering party signature verification public key along with said validation proof; (6) if the verification in step (5) is successful, having said authorities perform a registering party signature verification public key publishing process and in so doing turning the registering party into a registered party; (7) having said other parties obtain the registered party public key after said publishing process and having said other parties make use of said registered party public key. 2. A method as in Claim 1 wherein said use of said registered party public key in step (7) includes at least one of: (a) verification of signatures on messages, or (b) verification of authenticity of users and messages, or (c) verification of an identification process. 3. A method as in Claim 1 wherein said cryptographic system includes the further step of having an event which causes at least one of said agents and said authorities to recover cleartext data encrypted under said registered party signature verification public key. 4. A method as in Claim 1 wherein said validation proof consists of at least one non-inter- active zero-knowledge proof strings and where said authori- ties verify said validation proof by verifying at least one of said non-interactive zero-knowledge proof strings. 5. A method as in Claim 1 wherein generating, sending, and verifying said validation proof in steps (6) and (7) includes conducting a zero-knowledge interactive proof protocol where said registering user is the prover and said authorities are the verifier. 6. A method as in Claim 1 wherein said publishing process includes generating a public key certificate on behalf of said registering party, where said certificate includes the digital signature of said authori- ties on said registering party public key and on other information, using said authorities private key, and where said certificate is verifiable using at least one of said authority published parameters. 7. A method as in Claim 1 wherein said publishing process includes generating a public key certificate on behalf of said registering party, where said certificate includes the digital signature of said authori- ties on a modification of said registering party public key and on other information using said authorities private key, and where said certificate is verifiable using at least one of said authority published parameters. 8. A method as in Claim 1 wherein said publishing process includes marking said registering party public key as a valid key in a file. 9. A method as in Claim 1 wherein said cryptographic system includes the further step of registering users using an auto-recoverable auto-certifi- able key registration process for enabling privacy of information. 10. A method as in Claim 3 wherein said event is a proper authorization given to the agents on behalf of an agency within a government or group of governments. 11. A method as in Claim 3 wherein the recovery of cleartext data is done in order to monitor communications of registered parties suspected of criminal activity while protecting the privacy of others. 12. A method as in Claim 9 with the further step of: characterizing the registered parties activities as unlaw- ful if the agencies are unable to monitor the registered parties communications. 13. A method as in Claim 1 wherein the functionality of at least one of the agencies, the registered party, and an authority, in at least one of the steps is implemented in hardware. 14. A method as in Claim 1 wherein said use of said registered party public key is for the signing of files. 15. A method as in Claim 1 wherein said other parties includes said registered party. 16. A method as in Claim 3 wherein said event is generated by following a proper process within said registered party's organization. 17. A method as in Claim 1 wherein said validation proof assures that said registering party's signature verification public key cannot be used for confidentiality in a way which is not recoverable by at least one of said agents and authorities. 18. A method as in Claim 3 wherein said agents is a law enforcement agency. 19. A method as in Claim 3 wherein said agents is an agency of a government or a group of governments. 20. A method as in Claim 3 wherein at least one of said agents is an officer within said registrating user's organization. 21. A method as in Claim 1 wherein said authorities are able to verify signatures generated by said registrating user but are unable to forge valid signatures. 22. A method as in Claim 1 wherein said use of said registered party public key cannot include computing encryptions which are not decipherable by said authorities. 23. A method as in Claim 1 wherein said set of system parameters includes at least three domains FI, F2, and F3 such that FI is the exponent domain of F2, and F2 is the exponent domain of F3. 24. A method as in Claim 1 wherein said registering party public key is based on a number n where only said registering party and said authorities know the factorization of n into prime numbers and only said registrating user knows the factorization of phi (phi ( (n) ) . 25. A method as in Claim 1 wherein said registering parties • key is an exponentiation func- tion. 26. A method as in Claim 1 wherein use of said cryptosystem is for electronic mail with assured delivery. 27. A method as in Claim 1 wherein said use of said registered party public key involves commercial and business electronic transactions. 28. A method as in Claim 1 wherein at least one of said authorities and agencies are a multi- tude of elements. 29. A method and apparatus as in Claim 28 wherein said validation proof claims that said registering party cleartext data encrypted under said registering party signature verification public key is recoverable by a subset of said multitude of elements. 30. A method and apparatus as in Claim 1 wherein said authorities are certification authorities.

Inventors: YOUNG ADAM LUCAS, YUNG MARCEL MORDECHAY, YOUNG, ADAM, LUCAS, YUNG, MARCEL, MORDECHAY
Applicants: YOUNG ADAM LUCAS, YUNG MARCEL MORDECHAY, YOUNG, ADAM, LUCAS, YUNG, MARCEL, MORDECHAY
Application year: 1999
Main classification: H04K1
IPC codes: G09C1, H04L9