MULTI-CERTIFICATE REVOCATION USING ENCRYPTED PROOF DATA FOR PROVING CERTIFICATE'S VALIDITY OR INVALIDITY
Zulfikar Amin Ramzan Craig B. Gentry Bernhard Bruhn
CROSS REFERENCE TO RELATED APPLICATIONS
[0001] The present application claims priority of U.S. provisional patent application no. 60/637,177, filed December 17, 2004, incorporated herein by reference.
BACKGROUND OF THE INVENTION
[0002] The present invention relates to public key cryptography, and more particularly to digital certificate revocation.
[0003] Digital certificates 104 (Fig. 1) are used in public key infrastructures (PKI) to facilitate secure use and management of public keys in a networked computer environment. Users Ul, U2, ... utilize their computer systems 110.1, 110.2, ... to generate respective key pairs (PK, SK) where PK is the public key and SK is the secret key. Fig. 1 shows a key pair (PKu1, SKu1) for user Ul. The users register their public keys PK, over a network, with a certification authority (CA) 120. Alternatively, the key pairs can be generated by CA 120 and sent to the users. CA 120 is a secure, trusted computer system. For each public key PK, CA 120 generates a digital certificate 104. Certificate 104 contains the public key PK and the user's name and/or email address or addresses, may also contain the certificate's serial number SN (generated by the CA to simplify the certificate management), the certificate issue date Dl, the expiration date D2, an identification of algorithms to be used with the public and secret keys, an identification of the CA 120, and possibly other data. The data mentioned above is shown at 104D. Certificate 104 also contains CA's signature 104-SigcA on the data 104D. The signature is generated using CA's secret key SKCA- CA 120 sends the certificate 104 to the user's (key owner's) computer system 110. Either the owner or the CA 120 can distribute the certificate to other parties to inform them of the user's public key PK. Such
parties can verify the CA' s signature 104-SigcA with the CA' s public key PKCA to ascertain that the certificate's public key PK does indeed belong to the person whose name and email address are provided in the certificate.
[0004] A certificate may have to be revoked prior to its expiration date D2. For example, the certificate owner U may change his affiliation or position, or the owner's private key SKu may be compromised. Other parties must be prevented from using the owner's public key if the certificate is revoked.
[0005] One approach to prevent the use of public keys of revoked certificates is through a certificate revocation list (CRL). A CRL is a signed and time-stamped list issued by CA 120 and specifying the revoked certificates by their serial numbers SN.
These CRLs must be distributed periodically even if there are no new revoked certificates in order to prevent any type of replay attack. The CRL management may be unwieldy with respect to communication, search, and verification costs. Certificate revocation trees (CRTs) can be used instead of CRLs as described in [15] (the bracketed numbers indicate references listed at the end before the claims).
[0006] Instead of CRLs and CRTs, CA 120 could answer queries about specific certificates. In Fig. 1, user U2 issues a query 150 with the serial number SN of certificate 104 of user Ul. CA 120 responds with a validity status information 160 containing the serial number SN, a validity status field 160VS ("valid", "revoked" or "unknown"), and a time stamp "Time". The response is signed by CA (field 160-SigcA)- This approach is used for Online Certificate Status Protocol (OCSP). See [23]. Disadvantageously, the CA' s digital signature 160-SigcA can be quite long (over 1024 bits with RSA), especially since the CA must be very secure. In addition, if CA 120 is centralized, the CA becomes a validation bottleneck. If CA 120 is decentralized (replicated), the security is weakened as the CA' s signing key SKCA is replicated.
[0007] Fig. 2 illustrates a "NOVOMODO" approach, which allows CA 120 to provide an unsigned validity status through untrusted directories 210 at pre-specified time intervals (e.g. every day, or every hour, etc.). Directories 210 are computer systems that do not store secret information. The system works as follows.
[0008] Let f be a predefined public length-preserving function f: {0,l}n →{0,l}n
where {0,1}" is the set of all binary strings of a length n. Let f ' denote the f-fold composition; that is, f '(x)=x for i=0, and f '(x)=f(f '"1Cx)) for i>0. Let f be one-way, i.e. given f(x) where x is randomly chosen, it is hard (infeasible) to find a pre-image z such that f(z)=f(x), except with negligible probability. "Infeasible" means that given a security parameter k (e.g. k=n), the pre-image z cannot be computed in a time equal to a predefined polynomial in k except with negligible probability. Let us assume moreover that f is one-way on its iterates, i.e. for any i, given y=f '(x), it is infeasible to find z such that f(z)=y.
[0009] We can assume, without loss of generality, that CA is required to provide a fresh validity status every day, and the certificates are valid for one year, i.e. 365 days (D2-D1=365 days). To create a certificate 104 (Fig. 2), CA 120 picks a random "seed" number x and generates a "hash chain" Co, C1, ... C365 wherein:
C365=f(x), C364= f(f(x)), ... Cl=f365(x), C0=f366(x). (1)
We will sometimes denote x as x(SN) for a certificate with a serial number SN, and similarly
where i=0, 1 , .... The value C
0 is called a "validation target". CA 120 inserts C
0 into the certificate 104 together with data 104D (Fig. 1). CA 120 also generates a random revocation seed number No, computes the "revocation target" N^f(N
0), and inserts N
1 into certificate 104. CA 120 keeps all Cj secret for i>0. The values x and N
0 are also secret. Clearly, all Cj can all be computed from x, and the validation target c
0 can be computed from any c;. CA 120 stores in its private storage the values x and No for each certificate 104, and possibly (but not necessarily) caches the Cj values.
[0010] Every day i (i=l, 2, ... 365), a certificate re-validation is performed for the valid certificates as follows. For each certificate 104, CA distributes to directories 210 a validation data structure which includes, in addition to a validity status indication (not shown in Fig. 2, can be "valid" or "revoked"):
1. the certificate's "i-token" Cj if the certificate is valid on day i;
2. the revocation seed N0 if the certificate has been revoked.
(We will call c; a "validity proof, and N0 a "revocation proof.) This information is distributed unsigned. Each directory 210 provides this information, unsigned, to a requester system 110 in response to a validity status request 150 (Fig. 1). To verify, the requester (verifier) 110 performs the following operations:
1. If the validity status is "valid", the verifier 110 checks that f '(Ci)=C0.
2. If the validity status is "revoked", the verifier 110 checks that
Despite the validity information being unsigned, the scheme is secure because given Cj, it is infeasible to compute the subsequent tokens c;
+l5 Cj
+2, ....
[0011] To reduce the communication between CA 120 and directories 210, a hash chain (1) can be generated for a set of certificates 104, and a single i-token Cj can be distributed for the set if the set is "unrevoked" (i.e. all the certificates are unrevoked in the set). Fig. 3 illustrates certificate sets F1 through F4. F1 is the set of all the certificates 104; and F4C=F1. In addition to the seed numbers x, N0 for each certificate 104, CA 120 generates random seed numbers x(F;), N0(Fj) for each set Fj and constructs a hash chain (1) from each number x(Fj), with a validation target co(Fj)=f366(x(Fj)). Each certificate 104 is augmented with the targets Co(Fj) for each set Fj containing the certificate.
[0012] Every day i, if all the certificates are valid, CA 120 distributes to directories 210 only the i-token Cj(F1). If only the set F3 has invalid certificates, CA 120 distributes the i-tokens for the set F4 and for all the valid certificates in the set F2. If only the set F2-F3 has invalid certificates, CA 120 distributes the i-tokens for the sets F3 and F4 and for all the valid certificates in F2-F3, and so on.
[0013] In response to a validity status request for a certificate 104, a directory 120 sends to the requester (the verifier):
1. an i-token Cj for the certificate or for a set Fj containing the certificate if the certificate is valid;
2. the certificate's revocation number N0 if the certificate has been revoked.
[0014] If the response indicates that the certificate is valid, the verifier checks that f '(Cj) is equal to one of the certificate's validation targets. If the response indicates that the certificate is revoked, the verifier checks that ^O)=N1 for the certificate.
[0015] Clearly, for each set R of revoked certificates (Fig. 4), it is desirable to find a minimum set of sets Fj covering the valid certificates R'. By definition herein, the sets
{Fj} "cover" R' if the union U Fj=R'. We will say that {Fj} is the "complement cover" of R. The complement cover of R will be denoted as CCR.
[0016] Also, it is desirable to find a system of sets {F} containing a small complement cover for any set R or at least for many possible sets R. If {F} contains a
cover for each set R of the certificates, we will call {F} a complement cover for the set of all the certificates, and will denote this complement cover CC(U) or just CC.
[0017] For uniformity, we will assume that each certificate 104 corresponds to a singleton set consisting of that certificate. The hash chain for the singleton set is the same as for the certificate.
[0018] Clearly, if {F} contains the singleton set for each certificate, then {F} is a complement cover for the set of all the certificates.
[0019] Complement covers can be constructed using trees. Fig. 5 illustrates a binary tree 510 for eight certificates, numbered 1 through 8. Each node represents a set Fj. Each leaf node (labeled 1, 2, ...) represents a singleton set for a respective certificate 1, 2, .... Each higher level node represents the union of its children. E.g., node 1-4 represents the set of certificates 1 through 4. The root represents all the certificates. (We will use the numeral 510 to represent both the tree and the complement cover.)
[0020] If a certificate is revoked, then the corresponding leaf is revoked, i.e. represents a set that cannot be used for the i-token distribution. Also, each node in the path from the leaf to the root is revoked. In the example of Fig. 6, the certificates 3 and 8 are revoked (as indicated by "x" marks). The sets 3-4, 1-4, 1-8, 7-8, 5-8 are therefore revoked. The minimal complement cover CCR of the revoked certificates consists of nodes 1-2, 4, 5-6, 7. Generally, the minimal complement cover CCR consists of all the nodes that are children of the revoked nodes. Computer tree traversal algorithms are known that can be implemented on CA 120 to mark revoked nodes when a certificate is revoked, and to find all the immediate unrevoked children of the revoked nodes. Each day CA 120 distributes the i-tokens for the immediate children and the N0 tokens for the revoked leafs.
SUMMARY
[0021] This section summarizes some features of the invention. Other features are described in the subsequent sections. The invention is defined by the appended claims which are incorporated into this section by reference.
[0022] In some embodiments of the present invention, the validity proofs are encrypted by the CA and provided to "prover" systems in an encrypted form at the set-up
time. A prover system is any system that will provide the validity proofs to verifiers 110. The prover system can be a directory 210 or the certificate owner's system 110. Let c/i) denote a validity proof that a certificate 14O.i is valid, wherein the validity proof is to be provided in a period j. The proof c/i) can be the token c, as in Fig. 2, or can be some other proof, for some other certificate validation system. For each certificate 14O.i, the CA encrypts all the validity proofs c/i) for all the periods j, and provides the encrypted proofs E,/c/i)) to the provers. In some embodiments, the decryption oϊE^/c/i)) requires a different key KtJ for each certificate 14O.i and each period j. Symmetric encryption can be used, but is not necessary.
[0023] The certificate re- validation is performed as follows. At the start of, or shortly before, each period j, CA 120 distributes decryption key data used by the provers to obtain the decryption keys KXJ for the valid certificates 140.L The provers decrypt the encrypted validity proofs c/i) and provide the proofs c/i) to verifiers as needed.
[0024] In some embodiments, multi-certificate revocation is performed using a complement cover CC as in Fig. 4 or 5. At the set-up time, CA 120 associates each set F in CC and each period j with a decryption key KFJ. Also, for each certificate 14O.i, for each period j, CA 120 encrypts the proof c/i) into E,/c/i)) such that the decryption can be performed using the key KFJ for any set F containing the certificate 14O.i. The encrypted proofs EtJ(c/i)) are transmitted to the provers. For re- validation in a period j, CA 120 constructs a complement cover CCR for the set R of the revoked certificates, and publishes the keys Kpj for the sets F in this complement cover.
[0025] Advantageously, if the proofs c/i) are as in equations (1), then each certificate 14O.i needs only one revocation target C0. More generally, in some embodiments, the multi-certificate revocation system can be built on top of a single-certificate revocation system without changing the format of the certificates.
[0026] In some embodiments, the keys are generated as follows. At the set-up time, for each certificate 140.i, each validity proof c/i) is encrypted under the respective key K,j corresponding to the certificate, i.e. under the key KFJ corresponding to the singleton set F containing the certificate. The keys are set up so that, for each period j, the key KtJ for certificate 14O.i can be obtained from the key KFJ of any set F containing the certificate. During the re-validation, the prover receives a key KF0 for the period j for some set F containing the certificate. The prover computes the key KtJ and uses it to
decrypt the encrypted c/i) value.
[0027] In some embodiments, for each period j, the corresponding key KtJ is a constructed from key data distributed by CA 120 not just for the period j but also for some or all of the preceding periods 1 through j-1. During the re- validation, in each period j, CA 120 constructs the complement cover CCj-1 for the set of the certificates revoked in the previous period j-1. This complement cover may be smaller than CCR. CA 120 distributes the key data only for the sets in CCj-1. If CCj-1 is smaller than CCR, the amount of information distributed by CA 120 during the re- validation will be reduced. If the complement cover CCj-1 contains an invalid certificate, the certificate's validity proof cannot be decrypted because the CA 120 did not provide the decryption key data for the invalid certificate for at least one of the previous periods 1 through j-1.
[0028] Some embodiments of the invention are particularly suitable for ad hoc networks. Ad hoc networks are wireless self-configuring networks of mobile routers 110. Examples include wireless sensor networks in which some nodes 110 are provided with sensors for sensing some physical conditions. Examples include seismic sensors. These nodes can be dropped onto a geographical area in a random manner. These nodes may have limited connectivity because they may be capable of transmitting only a weak signal that can be "heard" only by nodes in close proximity to the transmitting node. Also, the nodes may have only incomplete knowledge of the network topology. The network may be part of a larger network. Ad hoc networks may also be formed by computers 110 installed on moving vehicles (cars, airplanes, etc.). In some embodiments, the decryption key data are distributed via a multicast transmission to a group of physically adjacent (clustered) nodes. The complement covers CCR or CCj-1 are constructed so that the physically adjacent nodes are likely to be provers for certificates in the same set F in the complement cover. Since the provers for certificates in the same set F receive the same decryption key data, the decryption key data distribution becomes efficient from the CA' s perspective if these provers are physically so close to each other as to be able to communicate with each other. In this case, CA 120 transmits the decryption key data for these nodes to one of these nodes only. This node transmits the decryption key data to the remaining provers in the group.
[0029] The invention is not limited to the features and advantages described above. Other features are described below. The invention is defined by the appended claims.
BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figs. 1, 2 are block diagrams illustrating prior art certificate revocation schemes.
[0031] Figs. 3, 4 illustrate sets of certificates for prior art certificate revocation schemes.
[0032] Figs. 5, 6 illustrate computer data structures for prior art certificate revocation schemes.
[0033] Fig. 7 is a flowchart of operations performed by a certification authority according to some embodiments of the present invention.
[0034] Fig. 8 illustrates computer systems and computer data structures for certificate revocation schemes according to some embodiments of the present invention.
[0035] Fig. 9 is a flowchart of operations performed according to some embodiments of the present invention.
[0036] Fig. 10 illustrates computer data structures for certificate revocation schemes according to some embodiments of the present invention.
DESCRIPTION OF SOME EMBODIMENTS
[0037] The embodiments described in this section illustrate but do not limit the invention. The invention is defined by the appended claims.
[0038] In the following description, numerous details are set forth. However, the present invention may be practiced without these details. Some portions of the detailed descriptions that follow are presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self-consistent sequence of steps leading to a desired result. The steps are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise
manipulated. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like.
[0039] It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the following discussion, it is appreciated that throughout the description, discussions utilizing terms such as "processing" or "computing" or "calculating" or "determining" or "displaying" or the like, refer to the action and processes of a computer system, or some computing device, that manipulates and transforms data represented as physical
(electronic) quantities within the computer system's registers and other storage into other data similarly represented as physical quantities within the computer system storage, transmission or display devices.
[0040] The present invention also relates to apparatus for performing the operations herein. This apparatus may be specially constructed for the required purposes, or it may comprise a general-purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a computer readable storage medium, such as, but is not limited to, any type of disk including floppy disks, optical disks, CD-ROMs, and magnetic-optical disks, read-only memories (ROMs), random access memories (RAMs), EPROMs, EEPROMs, magnetic or optical cards, or any type of media suitable for storing electronic instructions, and each coupled to a computer system.
[0041] The algorithms presented herein are not inherently related to any particular computer or other apparatus. Various general-purpose systems may be used with programs in accordance with the teachings herein, or it may prove convenient to construct more specialized apparatus to perform the required operations. The required structure for a variety of these systems will appear from the description below. In addition, the present invention is not described with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the invention as described herein. A machine-readable medium includes any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer). For example, a machine-readable medium includes read only memory
("ROM"); random access memory ("RAM"); magnetic disk storage media; optical storage media; flash memory devices; electrical, optical, acoustical or other form of propagated signals (e.g., carrier waves, infrared signals, digital signals, etc.); etc.
[0042] Fig. 7 illustrates the CA set up stage in some embodiments of the present invention. At step 704, CA 120 generates complement cover data 804 (Fig. 8) which define a complement cover CC for the set of all the certificates 104 (or for a larger set, with empty slots for certificates to be created; see U.S. patent application no. 11/218,093 filed August 31, 2005, and PCT application no. PCT/US2005/031251 filed August 31, 2005, both incorporated herein by reference). At step 710, for each certificate 14O.i, CA 120 generates the validity proofs c/i) for all the periods j. CA 120 stores, in its storage 824 (Fig. 8), either the validity proofs c/i) or some validity proof data from which the validity proofs can be generated. For example, for equations (1), the validity proof data may consist of the seed values x. CA 120 may also store revocation proof data (e.g. N0).
[0043] At step 720, CA 120 generates suitable encryption keys K1 j for each certificate 140.i for each period j. For simplicity, we will assume symmetric encryption, i.e. that the encryption keys are also the decryption keys. CA 120 stores the decryption keys or some decryption key data from which the decryption keys can be generated, as shown at 834 in Fig. 8. At step 730 (Fig. 7), CA 120 encrypts each proof c/i) with the corresponding key K1J to obtain an encrypted proof EXJ(c/ϊ)). At step 740, for each certificate 140.Ϊ, CA 120 transmits the encrypted proofs E,/c/i)) for all the periods y to the associated prover 838 (Fig. 8). The prover 838 will provide validity proofs for the certificate 14O.i. In some embodiments, the encrypted proofs E,j(c/i)) are signed by CA 120, and the signatures are also transmitted to the prover. The prover stores the encrypted proofs in its storage as shown at 840 in Fig. 8 (Fig. 8 assumes that the j index varies from 1 to some number T.)
[0044] Fig. 9 illustrates certificate re- validation for some period j. At step 910 performed at the start or shortly before the period j, CA 120 constructs a complement cover CCR for the set of revoked certificates. At step 920, for each set F in the complement cover, CA 120 transmits some decryption key data K'FJ to those provers 838 which are associated with the certificates 140 in the set F. In some embodiments, the decryption key data K'FJ are distributed in plaintext. At step 930, for each certificate 140.i, the corresponding prover 838 obtains the decryption key KtJ from the decryption key data K'FJ- In some embodiments, K1 Fj=K1J (e.g., the encryption EtJ(c/i)) may contain
an encryption of c/i) under the key K'FJ for each set F in CC such that F contains the certificate 14O.i), but this is not necessary as explained in more detail below. At step 940, the prover decrypts Ej/c/i)) with the key Ky, obtaining the proof c/i). The prover can provide the proof c/i) to verifiers as needed (e.g. in response to a request or on some other event). The verifiers can confirm the certificate validity using procedures established for the underlying certificate validation system.
[0045] For each invalid certificate, CA 120 distributes the corresponding revocation proof (e.g. No if the underlying validation scheme is as in Fig. 2). The revocation proof can be distributed to the corresponding prover 838, or to the verifiers 110, either upon a request or on some other event. In another embodiment, CA 120 does not perform any action for the revoked certificates. The verifier assumes that the certificate is revoked if a proof of the certificate's validity is unavailable.
[0046] Advantageously, if the certificate proofs are as in Fig. 2, each certificate 140 can contain only one revocation target c0. Further, the multi-certificate revocation scheme of Figs. 7-9 can be built on top of a single-certificate revocation scheme, using the validity proofs c/i) for the single certificates and without changing the certificates.
[0047] We will now describe some embodiments for constructing the decryption keys KiJ. In some embodiments, for any set F in CC, the key data K'
?j for any given period j is sufficient to derive the key data for any subset of F for the same period j. The derivation can be performed using public information, e.g. a public hash function H. The function H can be a cryptographic compression function that takes as input a b-bit payload and a v- bit initialization vector IV and produces a v-bit output. In some embodiments, b>2v. We will assume that the cryptographic compression functions mentioned below can be collision resistant, i.e. it is difficult to find two distinct inputs m]≠m
2 such that H(IV,
We will assume that IV is fixed and publicly known, and we will sometimes omit it for notational simplicity. Practical examples of such cryptographic compression functions are SHA-I [26] (output size is 20 bytes) and MD5 [28] (output size 16 bytes), both having a 64-byte payload. For simplicity, we will use the term "hash function" instead of compression function. The term "hash function" can also denote a mapping form {0,1}
* into {O,l}
vfor some fixed v, where {0,1}* denotes the set of all the binary strings. Hash functions are typically one way and collision resistant, but the invention is not limited to such functions.
[0048] The key construction will now be explained on the example of a tree-based complement cover 804 of Fig. 10, which is similar to the complement cover of Fig. 5. The sets F (the tree nodes) are labeled with bit strings b for convenience. The root is associated with the empty bit string h=ε. The root's left child is labeled with 6=0, and the right child with 6=1. In general, for any parent node with a label b, the left child is labeled with b0 (appending 0 on the right) and the right child with b\ .
[0049] With this labeling scheme, if & is a label of a set F containing multiple certificates, then each of these certificates (i.e. each of the corresponding singleton sets) has a label beginning with b. For example, the set b=\ 1 consists of the certificates with labels b = 110 and 6=111, both labels beginning with 11.
[0050] Let K'
bj denote the decryption key data for the set labeled b for the period j. These data are generated by CA 120 at step 720 as follows. CA 120 selects a secret seed value S
j for the period j. The values Sj can be randomly generated, or can be computed from a single seed value to save storage, or selected in any other suitable way. Then, for the root node b=ε, CA 120 sets:
For every other label b, let b
(k) denote the £-th bit of ό. Suppose b has some number h of bits, i.e.
Then CA 120 computes:
K'bfHφw, ...,H(bm,H(bil)>Sj))...) (3) In other words, the function H is applied iteratively h times. At each subsequent iteration, His applied to the next bit of bpj concatenated with the H value obtained in the previous iteration. If a bit string b\ begins with a sub-string ό2 (i.e. the set O1 is a subset of 62), then for any given j one can derive K'^ j from K 'j^j . For example, if O1= btb(m)...b(h), then
K< κr H(bϋιh ...,H(b(m)> K'b2j)...) (4) Of note, equation (4) is true even if bf=ε (empty string).
[0051] At step 720, CA 120 computes the encryption/decryption keys Kbj for the singleton sets b as follows:
Kbj=H(K'bJ> ...,K'bιl) (5)
The function H in (5) can be the same as in (3) or can be a different hash function. In some embodiments, the function H in (5) is not a hash function but is simply some function that binds the key data K'bj, ...,K'b,ι. For example, the function Hin (5) can be an
addition or an exclusive-OR operation on the key data K'bj, ...,K'b,\.
[0052] Since all the keys KtJ can be generated from K'εj for j=l,...,T, the CA's decryption key data storage 834 stores only the key data K 'gj in some embodiments.
[0053] The certificate re- validation is performed as follows. At step 910 (Fig. 9), at or shortly before each period j, CA 120 determines the complement cover CCj-1 of the set of all the certificates that have not been revoked in the immediately preceding period j-1 (if j=l, CCj-1 may consist of the root node ε, i.e. the set of all the certificates). This will sometimes be a smaller cover than the cover CCR for the set of all the revoked certificates. For example, if no certificates were revoked in the period j-1, then CCj-1 will consist of the single set of all the certificates. At step 920, for each set labeled b in CCj-1, the CA publishes the pairs (b,K'bj). Publishing the pairs (b.K'bj) may involve CA 120 sending the key pairs to those provers 838 that are associated with the certificates 140 in the set δ. In some embodiments, CA 120 distributes these pairs in plaintext, and/or makes them publicly available to any system 110, 210.
[0054] At step 930, for a valid certificate 14O.i corresponding to a singleton set with a label bh the corresponding prover 838 obtains the key data K'fr.j as follows. If Z?, is in
CCj-1, then the prover received K '#. / at step 920. If bt is not in CCj-1, then bt belongs to a set b in CCj-1 such that the label b, begins with b. The prover received (b,K'bj) at step 920. In this case, the prover checks that b\ begins with b, and computes K 1^. ,- from K'bj using equation (4).
[0055] Since the certificate is valid, the prover must have received the key data K'F(m),m for the certificate for each period m=\, ... , j-1 for some sets F(m) containing the certificate. Therefore, the prover 838 has computed, or can compute, the key data K'b-,m f°r tne periods m=\, ... j-1. At step 930, the prover obtains the key K^. j from equation (5). Step 940 (decryption) is then performed by the prover as described above.
[0056] In some embodiments, to enable the prover to perform the re-validation, the prover is provided with the bj value for the certificate at the CA set-up time. At step 704 (Fig. 7), the CA 120 assigns to each certificate 14O.i a leaf position bt in the tree of Fig. 10. At step 740, CA 120 sends to the user's system 110 (or some other prover system 838) the following data:
(c0, SZg(TTzAc0J, EKbi l (Cl(i)),...,EKbi T (cT(i))) (6)
where Ui is the certificate's serial number or some other identifier embedded in the certificate and/or available to the prover, Sig(Ui,bj,co) denotes a combination of the data
(Ui, bj, CQ) and a signature on these data with the CA' s secret key SKCA, and Eg, . (c ,• (z))
"i>J •* denotes symmetric encryption of c/i) under the key Kfrj • The first term Co in (6) can be omitted if the prover system 838 has the certificate, because C0 is part of the certificate. The system 838 stores these data in its storage 840.
[0057] In some embodiments, a user may join the system after the initial set-up procedure of Fig. 7. As mentioned above, the complement cover 804 may include empty slots for the users who join late. The set-up procedure of Fig. 7 is repeated for the users joining late.
[0058] Equations (2)-(6) can be modified in many ways. For example, in equation (3), the application of the function H and the concatenation with a bit of b can be interchanged (K=bβ)H(...bβ)H(bβ)H(Sj))...). Other variations are also possible.
[0059] From the perspective of the users, the advantage of this scheme is that it is possible to use this encryption approach in connection with any certificate validation scheme. For example, if this approach is used with the Novomodo scheme of Fig. 2, the users can retain the Novomodo advantage of a compact validation target Cj (just a single hash pre-image, regardless of how many time periods or how many users there are), while at the same time the CA can enjoy the efficiency advantages of multi-certificate validation. Moreover, the embodiment of equations (2)-(6) performs better than the embodiment described above in connection with Fig. 4 from the CA's perspective, since the size of the complement cover in a given time period j is dictated by the number of revocations r/ that occur within the preceding time period j-1, rather than the total number of revocations r that have occurred in the lifetime of the revocation system (across multiple time periods). Thus, asymptotically, the amount of information that the CA needs to transmit for each period is essentially O(r,log(«/r7)) in some embodiments, rather than the larger value O(r\og(n/r)). Of course, each prover 838 (e.g. each user system 110) has to cache its associated encrypted proofs Ej/c/i)). However, since this is a one-time set-up cost, and since these values do not need to be changed, they can be handled using efficient techniques such as storing them in non- volatile read-only memory.
[0060] In some embodiments, the techniques of Figs. 7- 10 are used with hash tree validation schemes, e.g. grounded dense hash trees, in which the hash chains (1) are replaced with tree structures. See e.g. PCT publication WO 2005/029445 published on 31 March 2005, incorporated herein by reference. The invention is not limited to the underlying validation scheme as stated above.
[0061] In some networks such as ad hoc networks, the most suitable method for distributing the key data K',j from the CA's perspective may depend on certain factors, such as the mobility of the user systems 110.i in the network (assuming each prover 838 is a user system 110.i) and how much information the CA has about the topology of the network (new nodes may join the network at odd times, and CA may not yet be aware of the new nodes). If the CA has complete topology information, it may transmit the decryption key data to each associated prover in the network.
[0062] If the provers 110 are, after a certain point in time, essentially static (not moving), then the CA may be able to use this fact to improve the distribution efficiency. This situation may pertain, for example, to a wireless network of mobile sensor nodes that might be dropped out of an airplane, fall to the ground, and thereafter be essentially static. In the validation scheme of Fig. 10, at step 704 (Fig. 7), CA 120 arranges the user systems (i.e. the certificates, assuming each user system 110 corresponds to a single certificate) as leaves in a binary tree (for example). Then, during certificate re-validation, if some user systems 110 are "close" to each other in the binary tree, these user systems may receive the same key data K'tJ. Therefore, it is desirable to position the user systems in the binary tree in a manner that is consistent with how the user systems are positioned topologically. The user systems that are physically close to each other should be positioned close to each other in the tree 804 of Fig. 10. Then, after finding the appropriate complement cover CCR or CCj-1 and generating the associated decryption key data K 'pj, the CA may need to transmit the decryption key data K'FJ for each set F only once to one member of the cluster of nodes 110 that belong to the set F; this member can forward the decryption key data to the nearby nodes in its cluster. Altogether, in this situation, the CA may use the following approach to certificate validation: 1. For the time before the topology is fixed, the CA uses an initial certification scheme with a binary tree constructed in some way without using any information on how close the systems 110 are to each other;
2. The topology then becomes relatively fixed;
3. The nodes 110 report their positions back to the CA, using their signing keys and the initial certification scheme to authenticate themselves;
4. Thereafter, the CA re-builds the binary tree 804 in a manner that is consistent with the topology of the network (with physically adjacent nodes being close to each other in tree 804); as a result, for at least one group of clustered systems 110, the number of sets F containing the group is increased without changing the total number of sets F in the complement cover;
5. The CA transmits new data (6) to the nodes and thereafter uses the new, topology-based binary tree to perform certificate validation.
[0063] There are different ways by which the CA may make its binary tree consistent with the network topology. If the nodes 110 report back their local connectivity (i.e., the identities of the nodes that they can "hear" from their position), then the CA can use that information to recursively bisect the network into connected subnetworks first bisecting the network into two intra-connected comparably-sized halves and associating each half with half of the binary tree, bisecting each half into two intra-connected comparably- sized sub-halves and associating each of these sub-halves with half of the appropriate half of the binary tree, and so on. As it is building this tree, it can also log the efficient routes that the certification validation information can traverse~e.g., from one node that is designated the midpoint hub of the tree / topology, to each of two nodes that are designated the hubs of their respective subtrees, and so on. It may then give this routing information to the nodes, which they can use.
[0064] In the embodiments described above, the CA 120, the directories 210, the systems 110, and the provers 838 can be computer systems communicating with each other over a network or networks. Each of these systems may itself be a computer system having components communicating over networks. Each computer system includes one or more computer processors executing computer instructions and manipulating computer data as described above. The term "data" includes "computer data" and covers both computer instructions and computer data manipulated by the instructions. The instructions and data can be stored on a data carrier such as a computer storage, i.e. a computer readable medium (e.g. a magnetic or optical disk, a semiconductor memory, and other types of media, known or to be invented). The data carrier may include an electromagnetic carrier wave transmitted over a network, e.g. through space, via a cable, or by some other means. The instructions and data are operable to cause the computer to
execute appropriate algorithms as described above.
[0065] The invention is not limited to the embodiments described above. For example, the values c/i) may represent only a portion of the validity proof. The other portion may be transmitted by CA 120 during the certificate re-validation or obtained by the prover 838 or the verifier 110 in some other manner. Also, the validity proof may be some function of c/i) rather than the value c/i) itself. We will refer to c/i) generally as "validity proof data", i.e. the data used to obtain the validity proof.
[0066] The invention is not limited to any particular number of certificates. The number of certificates does not have to be a power of 2 as in Fig. 10. The complement cover of Fig. 10 can be replaced with non-binary-tree type covers and with complement covers not represented as trees. The invention is not limited to any particular hash functions, or to cryptographic functions (which are easy to compute but are one-way or collision resistant). In some embodiments, it is desirable that a function for H be collision resistant not in the sense that it is difficult to find different x and y with the same image but in the sense that if x and y are uniformly drawn from the function's domain, the probability is small that they both will have the same image:
P{H(x)=H(y)} <α where α is a small constant (e.g. 1/10, or 1/100, or 2"25, or 2"50, or 2"80, or 2"160, or some other value). Some or all of the techniques used for validity proofs can also be used for invalidity proofs and vice versa. The CA, the Sub-CAs, the directories and the systems 110 may include software-programmable or hardwired computer systems interconnected via a network or networks. Each function f or H represents an evaluation method performed by a computer system. The invention is not limited to the step sequences shown in the flowcharts, as the step order is sometimes interchangeable and further different steps may be performed in parallel. Other embodiments and variations are within the scope of the invention, as defined by the appended claims.
[0067] AU of the following references are incorporated herein by reference.
[1] W. Aiello, S. Lodha, and R. Ostrovsky. Fast digital identity revocation. In Proc. of CRYPTO '98, 1998.
[2] G. Ateniese, J. Camenisch, M. Joye, and G. Tsudik. A Practical and Provably Secure Coalition-Resistant Group Signature Scheme. In Proceedings of CRYPTO 2000, 2000.
[3] M. Bellare and P. Rogaway. Random oracles are practical: A paradigm for designing efficient protocols. In Proc. First Annual Conference on Computer and Communications Security, ACM, 1993.
[4] D. Boneh, B. Lynn, and H. Shacham. Short signatures from the Weil pairing. In Proceedings of Asiacrypt 1Ol, 2001.
[5] F. Elwailly and Z. Ramzan. QuasiModo: More Efficient Hash Tree-Based Certificate Revocation. Manuscript, 2003.
[6] I. Gassko, P. S. Gemmell, and P. MacKenzie. Efficient and fresh certification. In Proceedings of PKC 2000, 2000.
[7] S. Goldwasser, S. Micali, and R. L. Rivest. A Digital Signature Scheme Secure Against Adaptive Chosen-Message Attacks. SIAM Journal on Computing, 17(2):281- 308, 1988.
[8] Y-C. Hu, A. Perrig, and D. Johnson. Efficient security mechanisms for routing protocols. In proceedings of the 10th Annual Network and Distributed System Security Symposium (NDSS), 2003.
[9] M. Jakobsson, J-P.Hubaux, and L. Buttyan. A micropayment scheme encouraging collaboration in multi-hop cellular networks. In Proceedings of the 7th International Conference on Financial Cryptography, 2003.
[10] M. Jakobsson, T. Leighton, S. Micali, and M. Szydlo. Fractal merkle tree representation and traversal. In Proceedings of the Cryptographer's Track, RSA Conference., 2003.
[H] S. Jarecki and A. Odlyzko. An efficient micropayment system based on probabilistic polling. In Proceedings of the 1st International Conference on Financial Cryptography, 1997.
[12] Robert Johnson, David Molnar, Dawn Xiaodong Song, and David Wagner. Homomorphic signature schemes. In CT-RSA, pages 244-262, 2002.
[13] C. Jutla and M. Yung. PayTree: Amortized signatures for flexible micropayments. In Proceedings of the second USENIX workshop on electronic commerce, 1996.
[14] S. Kim and H. Oh. An atomic micropayment system for a mobile computing environment. IEICE Transactions of Information and Systems, E84-D(6):709-716, 2001.
[15] P. Kocher. On Certificate Revocation and Validation. In Proceedings of the 2nd International Conference on Financial Cryptography, 1998.
[16] Satoshi Koga and Kouichi Sakurai. A distributed certificate status protocol with single public key. In Proceedings of PKC 2004, pages 389-401, 2004.
[17] R. J. Lipton and R. Ostrovsky. Micro-Payments via Efficient Coin Flipping. In Proceedings of the 2nd International Conference on Financial Cryptography, 1998.
[18] A. Malpani, R. Housely, and T. Freeman. Simple Certificate Validation Protocol - (SCVP). In IETF Draft - draft-ietf-pkix-scvp-12. txt, June 2003.
[19] R. C. Merkle. Protocols for Public-Key Cryptography. In IEEE Symposium on Security and Privacy, 1980.
[20] S. Micali. Efficient Certificate Revocation. MIT/LCS/TM 542b, Massachusetts Institute of Technology, 1996.
[21] S. Micali. Efficient Certificate Revocation. In Proceedings of the RSA Data Security Conference, 1997. Also U.S. Patent No. 5,666,416.
[22] S. Micali. NOVOMODO: scalable certificate validation and simplified PKI management. In Proceedings of the 1st Annual PKI Research Workshop, 2002.
[23] M. Myers, R. Ankney, A. Malpani, S. Galperin, and C. Adams. X.509 internet public key infrastructure Online Certificate Status Protocol - OCSP. In Internet RFC 2560, June 1999.
[24] M. Naor and K. Nissim. Certificate Revocation and Certificate Update. In Proceedings of USENIX Security, 1998.
[25] National Bureau of Standards. NBS FIPS PUB 81: DES modes of operation. 1980.
[26] National Institute of Standards. FIPS 180-1 : Secure hash standard. 1995.
[27] M. Pierce and D. O'Mahony. Micropayments for Mobile Networks. In Proceedings of European Wireless, 1999. Winner of Best Paper Award.
[28] R.L. Rivest. The MD5 message digest algorithm. In Internet RFC 1321, April 1992.
[29] R.L. Rivest. Electronic Lottery Tickets as Micropayments. In Proceedings of the 2nd International Conference on Financial Cryptography, 1997.
[30] R.L. Rivest and A. Shamir. PayWord and MicroMint~Two Simple Micropayment Schemes. CryptoBytes (RSA Laboratories), 2(1), 1996. Proceedings of 1996 International Workshop on Security Protocols.
[31] R.L. Rivest, A. Shamir, and L. Adleman. A Method for Obtaining Digital Signatures and Public-Key Cryptosystems. Communications of the ACM, 21:120-126, 1978.
[32] Ron Steinfeld, Laurence Bull, and Yuliang Zheng. Content extraction signatures. In Proceedings of the 4th International Conference Seoul on Information Security and Cryptology, pages 285-304. Springer- Verlag, 2002.
[33] H. Tewari and D. O'Mahony. Multiparty Micropayments for Ad-Hoc Networks. In Proceedings of the IEEE Wireless Communications and Networking Conference (WCNC), 2003.
[34] H. Tewari and D. O'Mahony. Real-Time Payments for Mobile IP. IEEE Communications, 41(2): 126- 136, 2003.
[35] D. Wheeler. Transactions Using Bets. In Proceedings of Fourth Cambridge Workshop on Security Protocols, 1996.
[36] J. Zhou and K-Y. Lam. Undeniable Billing in Mobile Communication. In Proceedings of MOBICOM, 1998.