LOG-ON VERIFICATION PROTOCOL

Information

  • Patent Application
  • 20010056535
  • Publication Number
    20010056535
  • Date Filed
    November 02, 1999
    24 years ago
  • Date Published
    December 27, 2001
    22 years ago
Abstract
A method and apparatus for authenticating a pair of correspondents C,S in an information exchange session to permit exchange of information therebetween. The first correspondent C having log on applets and the correspondent having means for processing applets. The method is characterized in that the first correspondent C transmitting to the second correspondent S a first unique information, the second correspondent S verifying the identity of C and generating a second unique information; transmitting to C the first and second unique information; the C verifying the first unique information to thereby establish currency of the session; the first correspondent C then generating a third unique information and transmitting the third unique information to the S along with an information request; the second correspondent S transmitting to C the requested information along with said second and third unique information; said c verifying said third unique information to thereby establish currency of the request and verifying the second unique information to thereby establish currency of the session; said C repeating steps the above steps for each additional information requested by C.
Description


FIELD OF THE INVENTION

[0002] The invention relates to a protocol for the secure receipt and transmission of data between a pair of correspondents and in particular for the secure receipt of data by a client in a client-server environment.



BACKGROUND OF THE INVENTION

[0003] With the advent of the Internet and the proliferation of Internet users along with the dramatic increase in data baud rates, there has been a move to distributed computing. For example, in the windows environment, a browser may be used to access a website and download a HTML page. Within the page might be included a program applet much like an image that is contained within the page. The applet's code is transferred from the server to the client system and executed by the client's computer. There are also instances where software or program applets are provided from a server to a client.


[0004] In the cases where the client does not trust the server a protocol has to be implemented whereby the client is able to authenticate the server. Or more generally where the client does not know the server since the server will serve any client, i.e. any requester is potentially valid as far as the client is concerned. Furthermore the applets received from the server include in some instances a log-on applet received from the server. Thus there exists a need for a log-on applet authentication protocol. The documents titled “Security Defects in CCITT Recommendation X.509-The Directory Authentication Framework”, “Elliptic Curves Over Fp Suitable For Cryptosystems”, “Secure User Access Control For Public Networks”, and U.S. Pat. No. 5,434,918 are referenced as background art.



SUMMARY OF THE INVENTION

[0005] This invention seeks to provide a solution to the problem of server verification by a client.


[0006] According to an aspect of this invention there is provided a method of authenticating pair of correspondents C,S in an information exchange session to permit exchange of information there between, characterized in that:


[0007] a) the first correspondent C transmitting to the second correspondent S a first unique information,


[0008] b) the second correspondent S verifying the identity of C and generating a second unique information;


[0009] c) transmitting to C the first and second unique information;


[0010] d) the C verifying the first unique information to thereby establish currency of the session;


[0011] e) the first correspondent C then generating a third unique information and transmitting the third unique information to the S along with an information request;


[0012] f) the second correspondent S transmitting to C the requested information along with said second and third unique information;


[0013] g) said c verifying said third unique information to thereby establish currency of the request and verifying the second unique information to thereby establish currency of the session;


[0014] h) said C repeating steps e) to g) for each additional information requested by C.


[0015] Also, this aspect of the invention provides for apparatus for carrying out the method. Such an apparatus can comprise any computational apparatus such as a suitably programmed computer.







DESCRIPTION OF THE DRAWINGS

[0016] These and other advantages of the present invention will become more apparent from the following discussion of preferred embodiments of the invention which are described by way of example only and with reference to the accompanying drawings in which like elements have been assigned like reference numerals and where:


[0017]
FIG. 1 is a schematic diagram of a client server configuration;


[0018]
FIG. 2 is a schematic diagram showing server authentication; and


[0019]
FIG. 3 is a schematic diagram showing applet authentication.







DESCRIPTION OF EMBODIMENTS OF THE INVENTION

[0020] Referring to FIG. 1, a typical arrangement in which the protocol may be implemented is shown generally numeral 10. A client 12 includes a hardware token 14 and connects via a suitable communication channel 16 to a server 18. The hardware token 14 maybe PIN activated and includes a root certifying authority (CA) public key, PUCA, a client private key, PRC, and an ECDSA (elliptic curve digital signature algorithm) signing software. It may be noted that the hardware token may also be mimicked or implemented in software.


[0021] In addition to the hardware token, the client has stored therein an identification of the client, IDC, wherein some cases the ID could be the certificate of the client containing the public key PUC of the client. Alternatively the certificate may contain only the identity IDC of the client. This identity may then be used as an index into a look-up table of public keys stored in the server. Additionally, the client includes a hash function such as SHA-1, an elliptic curve DSA (ECDSA) verification software, and optionally MQV (Menezes-Qu-Vanstone) key exchange algorithm software and a DES (Data Encryption Standard) or TDES (Triple DES) encryption algorithms which are used to encrypt and/or authenticate applets from the server.


[0022] The server includes log-on applets, crypto software and other applets. The server also includes a private key PRS and a certificate CERTS which includes its public key PUS. Optionally the server may also include a database of client public keys indexed by a client identification.


[0023] Referring now to FIG. 2, when the client 12 wishes to request an applet from a server for the first time, the client first authenticates the server by generating a random number x 100, preferably on the hardware token 14. A counter or a time stamp or the like may generate the value x. A hash H on the concatenation of the client identification IDC, the root public key and x is computed 102. A signature s of the hash H is calculated using the client private key PRC 103. The client then sends a request 104 containing IDC, PUCA, x, s to the server 18. The client to indicate the currency of the transaction of session uses the value x.


[0024] The server then checks that root certifying authority public key PUCA is correct 112. The client public key PUC is either extracted 113 from the certificate or a lookup 113′ is performed in the server database. The signature s is then verified 114 using PUC.


[0025] The server then generates a random number y 116 and computes the hash H′ 118 on the concatenated message of the log of the applet, x, y and IDC. A signature s′ on the hash H′ is computed using the server private key PRS 120. A response 122 is sent to the client and includes the log-on applet, y, s′ and the server's certificate CERTS. Once the client receives this information it verifies the validity of CERTS 124. The client also verifies x 125, which was sent back with the message from the server and thus indicating the currency of the session. The public key of the server PUS is extracted from the certificate 126 and used to verify the signature s′ 127. This then verifies the server to the client. The value y is also extracted saved by the client 129 to be used in later transactions.


[0026] Turning to FIG. 3, once the client has verified the server it may then request an appropriate applet by first generating a random number z 210. A request 214 is then sent to the server which includes an identification of the appropriate applet 212 and the random number z. The server then computes a hash H″ on the concatenation of the applet, y, z and IDC 126. The server then computes a signature s″ 218 on the hash H″ using the private key of the server PRC. Both the applet and the signature s″ are then sent to the client 220. The client verifies the signature 222 using the server public key and once verified may safely use the applet. The valuey is also verified 223 to establish currency of the session Th valuez is also checked 224o make sure it is current. If the client requires more applets, steps 210 and 224 are repeated for a given session. When a new session is resumed the client may re-authenticate the server as set out in FIG. 2.


[0027] While the invention has been described in connection with a specific embodiment thereof and in a specific use, various modifications thereof will occur to those skilled in the art without departing from the essence of the invention.


[0028] The terms and expressions which have been employed in the specification are used as terms of description and not of limitations, there is no intention in the use of such terms and expressions to exclude any equivalents of the features shown and described or portions thereof, but it is recognized that various modifications are possible within the scope of the invention.


Claims
  • 1. A method of authenticating pair of correspondents (C,S) in an information exchange session to permit exchange of information therebetween, the method characterized in that: a) the first correspondent (C) transmitting to the second correspondent (S) a first unique information, b) the second correspondent (S) verifying the identity of the first correspondent (C) and generating a second unique information; c) transmitting to the first correspondent (C) the first and second unique information; d) the first correspondent (C) verifying the first unique information to thereby establish currency of the session; e) the first correspondent (C) then generating a third unique information and transmitting the third unique information to the second correspondent (S) along with an information request; f) the second correspondent (S) transmitting to the first correspondent (C) the requested information along with said second and third unique information; g) said first correspondent (C) verifying said third unique information to thereby establish currency of the request and verifying the second unique information to thereby establish currency of the session; h) said first correspondent (C) repeating steps e) to g) for each additional information requested by the first correspondent (C).
  • 2. A method as defined in claim 1, said unique information being a random number x.
  • 3. A method as defined in claim 2, said first correspondent (C) including a hardware token for generating said random number.
  • 4. A data communication system for providing exchange of authenticated information between a pair of correspondents (C,S) in an information exchange session, said system comprising: a) said first correspondent (C) including a hardware token having a public key, a private key and ECDSA program; said program for i) transmitting to the second correspondent (S) a first unique information, ii) the second correspondent (S) verifying the identity of the first correspondent (C) and generating a second unique information; iii) transmitting to the first correspondent (C) the first and second unique information; iv) the first correspondent (C) verifying the first unique information to thereby establish currency of the session; v) the first correspondent (C) then generating a third unique information and transmitting the third unique information to the second correspondent (S) along with an information request; vi) the second correspondent (S) transmitting to of the first correspondent (C) the requested information along with said second and third unique information; vii) said first correspondent (C) verifying said third unique information to thereby establish currency of the request and verifying the second unique information to thereby establish currency of the session; viii said first correspondent (C) repeating steps v) to vii) for each additional information requested by of the first correspondent (C).
  • 5. A system for authenticating pair of correspondents (C,S) in an information exchange session, to permit exchange of information therebetween, the system characterized in that: a) means for transmitting by the first correspondent (C) to the second correspondent (S) a first unique information, b) means for verifying the identity of the first correspondent (C) by the second correspondent (S) and generating a second unique information; c) means for transmitting to the first correspondent (C) the first and second unique information; d) means for verifying the first unique information by the first correspondent (C) to thereby establish currency of the session; e) means for generating a third unique information and transmitting the third unique information to the second correspondent (S) along with an information request; f) means for transmitting to the first correspondent (C) the requested information along with said second and third unique information; g) means for verifying said third unique information to thereby establish currency of the request and verifying the second unique information to thereby establish currency of the session; h) means for successively requesting additional information by said correspondent the first correspondent (C).
Priority Claims (1)
Number Date Country Kind
9709136.7 May 1997 GB
Parent Case Info

[0001] This is a continuation of PCT/CA98/00417, which was filed on May 4, 1998.

Continuations (1)
Number Date Country
Parent PCT/CA98/00417 May 1998 US
Child 09432189 Nov 1999 US