Data card verification system
Abstract
A method of verifying a pair of correspondents in electronic transaction, the correspondents each including first and second signature schemes and wherein the first signature scheme is computationally more difficult in signing than verifying and the second signature scheme is computationally more difficult in verifying than signing. The method comprises the step of the first correspondent signing information according to the first signature scheme and transmitting the first signature to the second correspondent, the second correspondent verifying the first signature received from the first correspondent, wherein the verification is performed according to the first signature scheme. The second correspondent then signs information according to the second signature scheme and transmits the second signature to the first correspondent, the first correspondent verifies the second signature received from the second correspondent, wherein the verification is performed according to the second signature algorithm; the transaction is rejected if either verification fails. The method thereby allows one of the correspondents to participate with relatively little computing power while maintaining security of the transaction.

Term
Term ended
Projected expiry passed 3 February 2018, 8.6 years ago.
- Priority
- Filed
- Published
- Projected expiry
- Today
14 claims: 8 independent, 6 dependent
- 1A certificate sent from a first correspondent (102, 104) to a second correspondent (104,102) as a data stream during an electronic transaction conducted over a data transmission system (100), said correspondents each including respective signing and verifying algorithms of a first signature scheme and a second signature scheme different from said first scheme and utilizing an elliptic curve cryptosystem, said data stream comprising:a) a first value (122) signed by said first correspondent according to said second signature scheme;b) a second value (116) signed by a certificate authority according to said first signature scheme;whereby said second correspondent may verify the signature on said second value and thereby verify the signature on said first value.
- 2A certificate as defined in claim 1, wherein said first signature scheme is computationally more difficult in signing than verifying, while said second signature scheme is computationally more difficult in verifying than signing, thereby allowing said first correspondent to participate with relatively little computing power while maintaining security of the transaction.
- 3A certificate as defined in claim 1, wherein said first signature scheme is an RSA type scheme.
- 4A certificate as defined in claim 1, wherein said second value comprises public information of said first correspondent including a public key for use in said elliptic curve cryptosystem.
- 5A method of generating a certificate (116, 122) in a public key cryptosystem (100) comprising the steps of:a) obtaining from a correspondent public information including a public key to be utilized by said correspondent in an elliptic curve cryptosystem, said public information being related to a private key generated by said correspondent;and b) signing said public information utilizing an RSA cryptosystem.
- 7A certificate (116,122) for use in a public key cryptosystem comprising:a) public information for use in verifying a signature in an elliptic curve cryptosystem;and b) a signature on said public information performed according to an RSA cryptosystem.
- 9A certificate (116,122) signed by a certificate authority (104) according to a first signature scheme containing public information of a correspondent (102) for use in a second signature scheme different to said first signature scheme and utilizing an elliptic curve cryptosystem.
Independent claims8
32 paragraphs in 4 sections, as filed
This invention relates to methods and apparatus for data transfer and authentication in an electronic transaction system, and more particularly to electronic transaction systems utilizing smart cards.
BACKGROUND OF THE INVENTION
It has become widely accepted to conduct transactions such as financial transactions or exchange of documents electronically. Automated teller machines (ATMs) and credit cards are widely used for personal transaction and as their use expands so too does the need to verify such transactions increase. A smart card is somewhat like a credit card and includes some processing and storage capability. Smart cards are prone to fraudulent misuse, for example by a dummy terminal which is used to glean information from an unsuspecting user. Thus, before any exchange of critical information takes place between either a terminal and a smart card or vice versa it is necessary to verify the authenticity of the terminal as well as the card. One of these verifications may take the form of "signing" an initial transaction digitally so that the authenticity of the transaction can be verified by both parties involved in the subsequent session. The signature is performed according to a protocol that utilizes a random message, i.e. the transaction and a secret key associated with the party.
The signature must be performed such that the party's secret key cannot be determined. To avoid the complexity of distributing secret keys, it is convenient to utilize a public key encryption scheme in the generation of the signature. Such capabilities are available where the transaction is conducted between parties having access to relatively large computing resources, but it is equally important to facilitate such transactions at are individual level where more limited computing resources available, as in the smart card.
Transaction cards or smart cards are now available with limited computing capacity, but these are not sufficient to implement existing digital signature protocols in a commercially viable manner. As noted above, in order to generate a verification signature it is necessary to utilize a public key inscription scheme. Currently, most public key schemes are based on RSA, but the DSS and the demand for a more compact system are rapidly changing this. The DSS scheme, which is an implementation of a Diffie-Hellman public key protocol, utilizes the set of integers Z<sub>p</sub> where p is a large prime. For adequate security, p must be in the order of 512 bits, although the resultant signature may be reduced mod q, where q divides p-1, and may be in the order of 160 bits.
An alternative encryption scheme which was one of the first fully fledged public key algorithms and which works for encryption as well as for digital signatures is known as the RSA algorithm. RSA gets its security from the difficulty of factoring large numbers. The public and private keys are functions of a pair of large (100 to 200 digits or even larger) of prime numbers. The public key for RSA encryption is <i>n</i>, the product of the two primes p and q where p and q must remain secret and e which is relatively prime to (p-1) x (q-1). The encryption key <i>d</i> is equal to e<sup>-1</sup> (mod (p-1)x( q-1)). Note that <i>d</i> and <i>n</i> are relatively prime.
To encrypt a message m, first divide it into a number of numerical blocks such that each block is a unique representation modulo <i>n</i>, then the encrypted message block c<sub>i</sub> is simply m<sub>i</sub> <sup>e</sup> (mod <i>n</i>). To decrypt a message take each encrypted block c<sub>i</sub> and compute m<sub>i</sub> = c<sub>i</sub> <sup>d</sup> (mod <i>n</i>).
Another encryption scheme that provides enhanced security at relatively small modulus is that utilizing elliptic curves in the finite field 2<sup>m</sup>. A value of m in the order of 155 provides security comparable to a 512 bit modulus DSS and therefore offers significant benefits in implementation.
Diffie-Hellman public key encryption utilizes the properties of discrete logs so that even if a generator β and the exponentiation β<sup>k</sup> is known, the value of k cannot be determined. A similar property exist with elliptic curves where the addition of two points on any curve produces a third point on the curve. Similarly, multiplying a point P on the curve by an integer k produces a further point on the curve. For an elliptic curve, the point kP is simply obtained by adding k copies of the point P together.
However, knowing the starting point and the end point does not reveal the value of the integer k which may then be used as a session key for encryption. The value kP, where P is an initial known point is therefore equivalent to the exponentiation β<sup>k</sup>. Furthermore, elliptic curve crypto-systems offer advantages over other key crypto-systems when bandwidth efficiency, reduced computation and minimized code space are application goals.
Furthermore, in the context of a smart card and an automated teller machine transaction, there are two major steps involved in the authentication of both parties. The first is the authentication of the terminal by the smart card and the second is the authentication of the smart card by the terminal. Generally, this authentication involves the verification of a certificate generated by the terminal and received by the smart card and the verification of a certificate signed by the smart card and verified by the terminal. Once the certificates have been positively verified the transaction between the smart card and the terminal may continue.
Given the limited processing capability of the smart card, verifications and signature processing performed on the smart card are generally limited to simple encryption algorithms. A more sophisticated encryption algorithm is generally beyond the scope of the processing capabilities contained within the smart card. Thus, there exist a need for a signature verification and generation method which may be implemented on a smart card and which is relatively secure.
SUMMARY OF THE INVENTION
This invention seeks in one aspect to provide a method of data verification between a smart card and a terminal.
In accordance with this aspect there is provided a method for verifying a pair of participants in an electronic transaction, comprising the steps of verifying information received by the second participant from the first participant, wherein the verification is performed according to a first signature algorithm; verifying information received by the first participant from the second participant, wherein the verification is performed according to a second signature algorithm; and whereby the transaction is rejected if either verification fails.
The first signature algorithm may be one which is computationally more difficult in signing than verifying, while the second signature algorithm is more difficult in verifying than signing. In such an embodiment the second participant may participate with relatively little computing power, while security is maintained at a high level.
In a further embodiment, the first signature algorithm is based on an RSA, or DDS type algorithm, and the second signature algorithm is based on an elliptic curve algorithm.
BRIEF DESCRIPTION OF THE DRAWINGS
An embodiment of the invention will now be described by way of example on the reference to the accompanying drawings, in which, <ul id="ul0001" list-style="none" compact="compact"><li><b>Figures 1a</b> is a schematic representations showing a smart card and terminal;</li><li><b>Figures 1b</b> is a schematic representations showing the sequence of events performed during the verification process in a smart card transaction system; and</li><li><b>Figure 2</b> is a detailed schematic representation showing a specific protocol.</li></ul>
DETAILED DESCRIPTION OF A PREFERRED EMBODIMENT
Referring to Figure 1(a), a terminal 100 is adapted to receive a smart card 102. Typically, insertion of the card 102 into the terminal initiates a transaction. Mutual authentication between the terminal and the card is then performed as shown in figure 1b. In very general terms, this mutual authentication is performed according to a "challenge-response" protocol. Generally, card transmits information to the terminal, the terminal 100 signs information with an RSA based algorithm 112 and is then sent to the card 102, which verifies the information with an RSA based algorithm 114. The information exchange 116 between the card and the terminal also includes information generated by the card which is sent to the terminal to be signed by the terminal with an RSA algorithm and returned to the card to be verified utilizing a RSA algorithm. Once the relevant verification has been performed 118, a further step is performed where information is signed by the card using an elliptic curve encryption protocol 120 and submitted to the terminal to be verified 124 by the terminal utilizing an elliptic curve based protocol. Similarly, the information exchange 122 between the card and the terminal may include information generated by the terminal which is sent to the card to be signed by the card and returned to the terminal for verification. Once the appropriate information has been verified 126 the further transactions between the terminal and card may proceed 128.
Referring now to figure 2, a detailed implementation of the mutual authentication of the terminal and the card, according to the "challenged-response" protocol is shown generally by numeral 200. The terminal 100 is first verified by the card 102 and the card is then verified by the terminal. The terminal first sends to the card a certificate C<sub>1</sub>, 20 containing its ID, T<sub>ID</sub>, and public information including the public key. The certificate 20 may be also signed by a certifying authority (CA) so that the card may verify the association of the terminal ID T<sub>ID</sub> with the public key received from the terminal. The keys used by the terminal and the CA in this embodiment may both be based on the RSA algorithm.
With the RSA algorithm each member or party has a public and a private key, and each key has two parts. The signature has the form:-<maths id="math0001" num=""><math display="block"><mrow><msup><mrow><mtext>S = m</mtext></mrow><mrow><mtext>d</mtext></mrow></msup><mtext>(mod n)</mtext></mrow></math><img file="EP1548665A2_D0001.tif" /></maths> where: <ul id="ul0002" list-style="none" compact="compact"><li>m is the message to be signed;</li><li>n a public key is the modulus and is the product of two primes p and q;</li><li>e the encryption key chosen at random and which is also public is a number chosen to be relatively prime to (p-1)x(q-1); and</li><li>d the private key which is congruent to e<sup>-1</sup>(mod(p-1)x(q-1)).</li></ul>
For the RSA algorithm, the pair of integers (n,e) are the public key information that is used for signing. While, the pair of integers (d,n) may be used to decrypt a message which has been encrypted with the public key information (n,e).
Referring back to figure 2, the numbers n and e are the public keys of the CA and may be set as system parameters. The public key e may be either stored in the smart card or in an alternate embodiment hardwired into an logic circuit in the card. Furthermore, by choosing e to be relatively small, ensures that the exponentiation may be carried out relatively quickly.
The certificate 20 C<sub>1</sub> is signed by the CA and has the parameters (n,e). The certificate contains the terminal ID T<sub>Id</sub>, and the terminal public key information T<sub>n</sub> and T<sub>e</sub> which is based on the RSA algorithm. The certificate C<sub>1</sub> is verified 24 by the card extracting T<sub>ID</sub>, T<sub>n</sub>, T<sub>e</sub>. This information is simply extracted by performing C<sub>1</sub><sup>e</sup> mod n. The card then authenticates the terminal by generating a random number R1, 26, which it transmits to the terminal. The terminal signs the message R1 using its secret key T<sub>d</sub> by performing <i>R</i>I<sup><i>T</i><sub2><i>e</i></sub2></sup><i> MODT</i><sub><i>n</i></sub> to generate the value C<sub>2</sub>, 28. Once again the key used by the terminal is an RSA key which has been originally created in such a way that the public key T<sub>e</sub> consist of a small possibly system wide parameter having a value 3, while the other part of the public key is the modulus T<sub>n</sub> which would be associated with the terminal. The terminals private key T<sub>d</sub> cannot be small if it corresponds to a small public key T<sub>e</sub>. In the case of the terminal, it does not matter whether the private key T<sub>d</sub> is chosen to be large as the terminal has the required computing power to perform the exponentiation relative quickly.
Once the terminal has calculated the value C<sub>2</sub>, 28, it generates a secret random number R2, 29 the terminal sends both R2 and C<sub>2</sub>, 32 to the card. The card then performs a modular exponentiation 34 on the signed value C<sub>2</sub> with the small exponent T<sub>e</sub>, using the terminal's modulus T<sub>n</sub>. This is performed by calculating R1' = C<sub>2</sub><sup>Te</sup> mod T<sub>n</sub>. If R1' is equal to R1, 36 then the card knows that it is dealing with the terminal whose ID T<sub>ID</sub> is associated 38 with the modulus T<sub>n</sub>. The card generally contains a modulo arithmetic processor (not shown) to perform the above operation.
The secret random number R2 is signed 40 by the card and returned to the terminal along with a certificate signed by the CA which relates the card ID to its public information. The signing by the card is performed according to an elliptic curve signature algorithm.
The verification of the card proceeds on a similar basis as the verification of the terminal, however, the signing by the card utilizes an elliptic curve encryption system.
Typically for an elliptic curve implementation a signature component s has the form:-<maths id="math0002" num=""><math display="block"><mrow><mtext>s=ae+k (mod n)</mtext></mrow></math><img file="EP1548665A2_D0002.tif" /></maths> where: <ul id="ul0003" list-style="none" compact="compact"><li>P is a point on the curve which is a predefined parameter of the system;</li><li>k is a random integer selected as a short term private or session key, and has a corresponding short term public key R = kP;</li><li>a is the long term private key of the sender(card) and has a corresponding public key aP = Q;</li><li>e is a secure hash, such as the SHA hash function, of a message m (R2 in this case) and short term public key R; and</li><li>n is the order of the curve.</li></ul>
For simplicity it will be assumed that the signature component s is of the form s = ae + k as discussed above although it will be understood that other signature protocols may be used.
To verify the signature sP-eQ must be computed and compared with R. The card generates R, using for example a field arithmetic processor (not shown). The card sends to the terminal a message including m, s, and R, indicated in block 44 of figure 2 and the signature is verified by the terminal by computing the value (sP-eQ) 46 which should correspond to kP. If the computed values correspond 48 then the signature is verified and hence the card is verified and the transaction may continue.
The terminal checks the certificate, then it checks the signature of the transaction data which contains R2, thus authenticating the card to the terminal. In the present embodiment the signature generated by the card is an elliptic curve signature, which is easier for the card to generate, but requires more computation by the terminal to verify.
As is seen from the above equation, the calculation of s is relatively straightforward and does not require significant computing power. However in order to perform the verification it is necessary to compute a number of point multiplications to obtain sP and eQ, each of which is computationally complex. Other protocols, such as the MQV protocols require similar computations when implemented over elliptic curves which may result in slow verification when the computing power is limited. However this is generally not the case for a terminal.
Although an embodiment of the invention has been described with reference to a specific protocol for the verification of the terminal and for the verification of the card, other protocols may also be used.
Further aspects of the invention are set out in the following numbered clauses:- <ul id="ul0004" list-style="none"><li>1. A method of verifying a pair of correspondents in electronic transaction said correspondents each including a first and second signature schemes said method comprising the steps of: <ul id="ul0005" list-style="none" compact="compact"><li>said first correspondent signing information according to said first signature scheme and transmitting said first signature to said second correspondent;</li><li>said second correspondent verifying said first signature received from said first correspondent, wherein said verification is performed according to said first signature scheme;</li><li>said second correspondent signing information according to a second signature scheme and transmitting said second signature to said first correspondent;</li><li>said first correspondent verifying said second signature received from said second correspondent, wherein said verification is performed according to said second signature algorithm; and</li><li>said transaction being rejected if either verification fails.</li></ul></li><li>2. A method as defined in clause 1, said first signature scheme is computatioally more difficult in signing than verifying, while said second signature scheme is computationally more difficult in verifying than signing, thereby allowing one of said correspondents to participate with relatively little computing power while maintaining security of said transaction.</li><li>3. A mêthod as defined in clause 1, said first digital signature scheme being an RSA type scheme and said second signature scheme being an elliptic curve type scheme.</li><li>4. A method as defined in clause 1, said first digital signature scheme being a DSS type scheme and said second signature scheme being an elliptic curve type scheme.</li><li>5. A method of verifying a pair of correspondents in electronic transaction, said correspondents each including a first and second signature scheme, said method comprising the steps of: <ul id="ul0006" list-style="none" compact="compact"><li>said first correspondent transmitting to said second correspondent, a certificate including public key and identification information of said first correspondent;</li><li>said second correspondent verifying said certificate and extracting said public key and identification information therefrom;</li><li>said second correspondent generating a first challenge R<sub>1</sub> and transmitting said challenge to said first correspondent;</li><li>said first correspondent signing said received challenge R<sub>1</sub> in accordance with said first signature scheme;</li><li>said first correspondent generating a second challenge and transmitting said second challenge along with said signature C2 to said second correspondent,</li><li>said second correspondent verifying said signature C2 in accordance with said first signature scheme;</li><li>said second correspondent signing said second challenge R2 in accordance with said second signature scheme and transmitting said second signature to said first correspondent; and</li><li>said first correspondent verifying said second signature in accordance with said second signature scheme, whereby said transaction is rejected if either said first signature or said second signature is not verified.</li></ul></li><li>6. A smart card for use in an electronic transaction, with a second correspondent, said card comprising: <ul id="ul0007" list-style="none" compact="compact"><li>a memory including</li><li>a first signature scheme consisting of a first signature generation algorithm and an associated verification algorithm;</li><li>a second signature scheme consisting of a second signature generation algorithm and an associated verification algorithm;</li><li>a program for invoking said algorithms; and</li><li>processor means for running said first verification algorithm for verifying first information received from said second correspondent and for running said second signature algorithm for signing a second information for transmission to said second correspondent.</li></ul></li></ul>
Contents4
6 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4 Sheet 5 Sheet 6
Every citation, both ways
| Document | Relation | Office | Cited during |
|---|---|---|---|
| CN108964916A | Cited by | China | Search report |
| GB2309809A | Cites | United Kingdom | Search report |
| US4995082A | Cites | United States of America | Applicant |
| US5159632A | Cites | United States of America | Search report |
| US5442707A | Cites | United States of America | Search report |
31 members in 10 offices
Priority claims9
| Document | Office | Kind | Date |
|---|---|---|---|
| 9702152 | United Kingdom | A | |
| 9702152 | United Kingdom | A | |
| 9702152 | United Kingdom | – | |
| 98901895 | European Patent Office (EPO) | A | |
| 98901895 | European Patent Office (EPO) | A | |
| 9702152 | – | – | – |
| 98901895 | – | – | – |
| EP19980901895 | – | – | – |
| GB19970002152 | – | – | – |
Members31
| Document | Office | Kind | |
|---|---|---|---|
| GB9702152D0 | United Kingdom | D0 | |
| CA2228958A1 | Canada | A1 | |
| GB2321741A | United Kingdom | A | |
| CA2279462A1 | Canada | A1 | |
| WO9834202A2 | World Intellectual Property Organization (WIPO) | A2 | |
| AU5849498A | Australia | A | |
| DE19804054A1 | Germany | A1 | |
| FR2760583A1 | France | A1 | |
| WO9834202A3 | World Intellectual Property Organization (WIPO) | A3 | |
| FR2760583B1 | France | B1 | |
| EP0960405A2 | European Patent Office (EPO) | A2 | |
| GB2321741B | United Kingdom | B | |
| US6178507B1 | United States of America | B1 | |
| JP2001509926A | Japan | A | |
| US2002174339A1 | United States of America | A1 | |
| CH694601A5 | Switzerland | A5 | |
| EP1548665A2This record | European Patent Office (EPO) | A2 | |
| EP1548665A3 | European Patent Office (EPO) | A3 | |
| US7472276B2 | United States of America | B2 | |
| US2009164792A1 | United States of America | A1 | |
| DE19804054B4 | Germany | B4 | |
| JP4545831B2 | Japan | B2 | |
| US7822987B2 | United States of America | B2 | |
| US2011016324A1 | United States of America | A1 | |
| EP2323110A1 | European Patent Office (EPO) | A1 | |
| US8307211B2 | United States of America | B2 | |
| US2013067233A1 | United States of America | A1 | |
| US8966271B2 | United States of America | B2 | |
| US2015228144A1 | United States of America | A1 | |
| CA2228958C | Canada | C | |
| US9990796B2 | United States of America | B2 |
10 legal events, as the office reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | |
|---|---|---|
| Application withdrawnWithdrawn18W | 18W | |
| Information on the status of an ep patent application or granted ep patentGrantedSTATUS: THE APPLICATION HAS BEEN WITHDRAWNSTAA | STAA | |
| First examination report despatched17Q | 17Q | |
| Designation fees paidAKX | AKX | |
| Request for examination filed17P | 17P | |
| Designated contracting statesAK | AK | |
| Search report despatchedORIGINAL CODE: 0009013PUAL | PUAL | |
| Divisional application: reference to earlier applicationAC | AC | |
| Designated contracting statesAK | AK | |
| Public reference made under article 153(3) epc to a published international application that has entered the european phaseORIGINAL CODE: 0009012PUAI | PUAI |
Numbers
- Publication
- 1548665
- Publication, DOCDB
- 1548665
- Publication, EPODOC
- EP1548665
- Application
- 5075434
- Application, DOCDB
- 05075434
- Application, EPODOC
- EP20050075434
Titles3
- German
- Datenkartenprüfungssystem
- English
- Data card verification system
- French
- Système de vérification de carte à données
Classification
- CPC, 12
- G07F7/1008
- G06Q20/341
- G06Q20/3674
- G06Q20/3825
- G06Q20/40975
- G07F7/1016
- H04L9/3066
- H04L2209/56
- H04L9/3249
- G06Q2220/00
- G06Q20/401
- H04L9/3252
- IPC, 7
- G06Q20 34
- G06Q20 36
- G06Q20 38
- G06Q20 40
- G07F7 10
- G07G1 00
- H04L9 32
Designated states1
- Contracting states, 1
- Liechtenstein