OPTIMIZED POST-QUANTUM SIGNATURE-FREE AUTHENTICATION SCHEME: METHODS AND DEVICES
By generating cryptographic keys using a one-way function on KEM-derived secrets, the method addresses computational strain on smart cards in post-quantum authentication, ensuring secure and efficient two-factor authentication.
Patent Information
- Application Number
- FR2022001321
- Authority / Receiving Office
- FR · FR
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-02-15
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2042-02-15
AI Technical Summary
Traditional two-factor authentication schemes are undermined by quantum computers, particularly affecting public key algorithms, leading to increased computational strain on smart cards and inefficient use of post-quantum KEMs.
Implement a method where the cryptographic key for encrypting and decrypting authentication data is generated by applying a one-way function to a secret derived from a key encapsulation mechanism (KEM) secret, reducing the need for costly deencapsulation functions on smart cards and maintaining secure authentication.
This approach reduces data transmission and computational load on smart cards while ensuring secure authentication through asymmetric cryptography, maintaining protocol properties and compatibility with both post-quantum and classical cryptography.
Smart Images

Figure 00000022_0000 
Figure 00000023_0000 
Figure 00000024_0000
Abstract
Description
Description Title of the invention: OPTIMIZED POST-QUANTUM SIGNATURE-FREE AUTHENTICATION SCHEME, METHODS AND DEVICES Technical field
[0001] = The present invention relates to the field of computer cryptography. It more specifically concerns the area of strong user authentication. Prior art
[0002] = Two (or more) factor authentication schemes are typically used to control access to computer devices (server) or premises physical.
[0003] = Typically, these schemes combine session-based challenge- response with password authentication (e.g. PIN code for “personal identification number » or personal identification number, password for use unique) or biometric data (e.g. fingerprint).
[0004] — A user has a portable authentication object, such as a smart card, a USB key. The portable object contains, in memory, a pair of private and public keys (keys asymmetric) for challenge-response authentication and contains the password or the reference biometric data for the second authentication.
[0005] Generally, the portable object additionally contains a second secret key in order to secure the transmission of the password or biometric data from a access device on which the user enters this information, to the device portable. This second key can be a symmetric key shared with the device access or be a private-public key pair.
[0006] In practice, as illustrated by [Fig.1], when the user wishes to obtain access to a remote device 3, for example, the presence of his smart card | to the access device 2, for example a terminal equipped with a contact or contactless reader. The user enters his PIN password or equivalent on the terminal, which sends the password encrypted (cPIN) with the second key pkp;y, to the card for verification. In If so, the card proceeds to authenticate itself with the remote device by signing, with the first private key sk, a challenge Chall sent by the device distant.
[0007] These traditional authentication schemes are being undermined with the emergence of quantum computers. If the security of symmetric cryptographic algorithms is only affected by a factor of 2 with respect to key sizes by attacks quantum, it is considerably reduced for public key algorithms. There is a desire to adapt these traditional schemes to post-quantum cryptography. Candidate post-quantum cryptographic algorithms are currently being proposed in a competition organized by the NIST (National Institute of Standards and Technology), including post-quantum key encapsulation mechanisms or "post-quantum KEM" (for "Key Encapsulation Mechanism"). KEM is a mechanism for securely transmitting a secret to an interlocutor using asymmetric algorithms. Also, the use of a post-quantum KEM is proposed to secure the transmission of the encrypted password between the access device and the portable object. Furthermore, post-quantum authentication solutions have been proposed that implement post-quantum KEM instead of traditional challenge signatures. The implementation of these different techniques leads to a two-factor authentication scheme as illustrated in [Fig.2], requiring only a single pair of keys (pk, sk) in the smart card 1. The server generates a secret ss; and its ciphertext ct, using the encapsulation function of a KEM and the public key pk, and communicates the ciphertext ct; to the access device. The ciphertext ct; is used for authentication of the smart card to the server. The access device also generates a second secret ss; and its ciphertext ct, using the wrapping function of a KEM and the same public key. Since the wrapping function is not deterministic, (ss>, ct2) is different from (ss,, ct;). The second secret ss; is used as a key to encrypt the PIN entered by the user, encrypting it cPZN. The ciphertexts ct;, ct: and cPIN are then transmitted to the smart card. The latter uses the KEM's decapsulation function with the private key sk to recover the secrets ss, and ss). cPIN is decrypted using ss, to recover the entered PIN, which is compared to the reference PIN in the smart card's memory. In case of a valid PIN code, a Know(ss,) confirmation of the secret ss, is sent to the server to prove the smart card's possession of the secret ss. This confirmation is verified by the server. User authentication is effective in case of positive verification, just like the positive verification of the challenge signature in traditional schemes. This KEM-based two-factor authentication scheme is not entirely satisfactory as it places too much strain on the smart card. There is therefore a need to improve it while retaining its properties. Statement of the invention The invention aims to reduce processing on the smart card by invoking the KEM de-encapsulation function only once rather than twice. Also, the encapsulation function will be called only once, requiring the two authentication mechanisms to be linked appropriately to preserve the protocol properties. The invention therefore relates to a method for authenticating a user with a remote device, comprising, at the level of a portable object storing personal reference authentication data, the following steps: - receive, from an access device, encrypted personal authentication data and an encrypted code generated by the remote device. This is, for example, the encrypted cPIN of the PIN code entered by the user accompanied by the encrypted ct, - decrypt, using a cryptographic key, the encrypted personal authentication data, - in the case of valid personal authentication data, send, to the remote device, a confirmation of a secret (ss] in the example above) obtained using a key encapsulation mechanism, KEM, applied to said ciphertext. The invention also relates, on the access device (e.g. terminal) and remote device (e.g. server) side, to a method for authenticating a user with a remote device, using a portable object storing personal reference authentication data, comprising the following steps: - generate, by the remote device, a secret and a corresponding cipher using a key encapsulation mechanism, KEM, and a public key of the user, - obtain, through an access device connected to the portable object, personal authentication data entered by the user, - encrypt, by the access device and using a cryptographic key, the personal authentication data entered, - transmit, to the portable object, the encrypted authentication data and the cipher corresponding to the secret, - receive in return, from the portable object, a confirmation of the secret. The methods according to the invention are characterized in that the cryptographic key (for encrypting the PIN code or decrypting cP / N) is generated by applying a one-way function to a secret derived from the secret obtained using the KEM. The encryption of the authentication data is thus based on the secret used for authentication with the remote device (server), and not on a separate secret as is the case in known techniques. This reduces the data to be transmitted to the portable object, but also avoids a costly execution of the KEM de-encapsulation function. This authentication scheme maintains control, by the remote device, over authentication based on asymmetric cryptography. In addition, the authentication data (e.g., a PIN or password) remains protected during its exchange between the access device and the portable object. Correlatively, the invention also relates to a personal device for authenticating a user to a remote device, comprising a memory storing personal reference authentication data and a processor configured to: - receive, from an access device, encrypted personal authentication data and an encrypted data generated by the remote device, - decrypt, using a cryptographic key, the encrypted personal authentication data, - in the case of valid personal authentication data, send, to the remote device, a confirmation of a secret obtained using a key encapsulation mechanism, KEM, applied to said cipher, characterized in that it is further configured to generate the cryptographic key by applying a one-way function to a secret derived from the secret obtained using the KEM. Likewise, the invention also relates to an authentication system (e.g. access terminal and remote server) of a user using a portable object storing personal reference authentication data, comprising an access device and a remote device, the remote device comprising a processor configured to: - generate a secret and a corresponding cipher using a key encapsulation mechanism, KEM, and a user's public key, - authenticate the portable object by verifying a confirmation of the secret issued by the portable object, and the access device being connected to the portable object and comprising a processor configured to: - obtain personal authentication data entered by the user, - encrypt, using a cryptographic key, the personal data authentication entered, - transmit, to the portable object, the encrypted authentication data and the cipher corresponding to the secret, - receive in return, from the portable object, confirmation of the secret, the authentication system being characterized in that it is configured to generate the cryptographic key by applying a one-way function to a secret derived from the secret obtained using the KEM. Optional features of embodiments of the invention are defined in the appended claims. Some of these features are explained below with reference to a method, while they can be transposed into device features. In one embodiment, the method, at a portable object, further comprises the following step: obtaining the secret by KEM de-encapsulation of the ciphertext using a private key of a private key-public key scheme stored in memory of the portable object. In another embodiment, the method, at a portable object, further comprises the following step: verifying the decrypted personal authentication data with the reference personal authentication data. In another embodiment, the method, at a portable object, further comprises the following step: generating the secret confirmation by applying a hash function to the obtained secret or any other key derived from the obtained secret, or by encrypting a predetermined data using the obtained secret or any other key derived from the obtained secret. In another embodiment, the cryptographic key is generated by the remote device and transmitted by it to the access device. This allows the latter to encrypt the personal authentication data, without disclosing the secret and without requiring expensive execution of the KEM de-encapsulation function at the access device. In another embodiment, the method, at the access system, further comprises verifying, by the remote device, the secret confirmation received in return, with the generated secret, so as to positively authenticate the portable object in the event of a positive verification. In one embodiment of the invention, the derived secret is equal to the secret obtained using the KFM. In a hybrid embodiment, the derived secret combines the secret obtained using the KEM with at least one second secret shared between the portable object and the remote device and obtained using a pre-quantum cryptography algorithm. The authentication thus proposed guarantees a minimum security level equal to the highest of the security levels offered between pre-quantum cryptography and post-quantum cryptography (via the KEM). In particular, the second shared secret can be obtained using an elliptic curve-based Diffie-Hellman key exchange, also known as EDCH. Furthermore, the secret confirmation may be based on the secret obtained using the KEM and the second shared secret, typically being based on the previously mentioned derived secret. At least a portion of the methods of the invention may be computer-implemented. Accordingly, the present invention may take the form of an all-hardware embodiment, an all-software embodiment (including firmware, resident software, microcode, etc.), or an embodiment combining software and hardware aspects, all of which may be collectively referred to herein as a "circuit," "module," or "system." In addition, the present invention may take the form of a computer program product embodied in any tangible medium of expression having computer-usable program code embodied in the medium. Since the present invention may be implemented in software, the present invention may be embodied as computer-readable code for delivery to a programmable apparatus on any suitable medium. A tangible or non-transitory medium may include a storage medium such as a hard disk drive, a magnetic tape device, or a solid-state memory device and the like. A transient medium may include a signal such as an electrical signal, an electronic signal, an optical signal, an acoustic signal, a magnetic signal, or an electromagnetic signal, for example, a microwave or RF (radio frequency) signal. Brief description of the drawings Other features and advantages of the invention will appear in the description below, illustrated by the attached figures which illustrate exemplary embodiments which are not limiting in nature. [Fig.1] [Fig.1] illustrates a historical scheme of strong authentication. [Fig.2] [Fig.2] illustrates a strong authentication scheme implementing post-quantum operations, inspired by known techniques. [Fig.3] [Fig.3] schematically represents an example of an authentication system architecture for an implementation of the invention. [Fig.4] [Fig.4] illustrates a strong authentication scheme according to an implementation of the invention. [Fig.5] [Fig.5] represents, using a flowchart, general steps of an authentication method at the level of a personal authentication device, according to an implementation of the invention. [Fig.6] [Fig.6] represents, using a flowchart, general steps of an authentication method at the level of a corresponding access system, according to an implementation of the invention. [Fig.7] [Fig.7] illustrates a strong authentication scheme according to an alternative implementation of the invention. Detailed description The present invention relates to a method for strong authentication of a user carrying a pair of asymmetric keys and personal data. authentication. This information can be stored in a personal portable object. This method is called strong authentication because it combines "something that the user has", i.e. a private key present in the portable object, and "something that the user is / knows", namely personal authentication data, for example a PIN code, password / passphrase, biometric trait. If the following description is based on two authentication factors (one based on asymmetric cryptography, the other on authentication data), the invention can be applied to a greater number of combined authentication factors, for example by providing two or more authentication data (PIN code and biometric trait). Furthermore, the following description relies on the use of digital certificates to disseminate knowledge of the public key (associated with the private key above) to the remote device in particular. Indeed, the certificate contains the user's public key and is certified, by signature, by a third-party organization. Of course, other mechanisms for propagating the public key to the remote device can be considered (manual configuration, etc.). The invention is advantageously used with post-quantum algorithms. However, it can also be used with classical, non-post-quantum cryptography algorithms. Strong authentication has many security applications, typically for access to a remote server or for controlling access to protected premises. With reference to [Fig. 3], an authentication system architecture for implementing strong authentication schemes, with two (or more) factors, is schematically represented. This system comprises at least one personal portable object 1, an access device or client equipment 2, and a remote device, typically a server 3 to which the access device 2 can connect via a network 4 such as the Internet. The personal portable object 1 is an electronic device personal to an individual (many individuals may each possess such an object), and preferably constitutes an official identification element, advantageously issued by an authority typically implementing the server 3 and the associated (access) service. This portable object | may take different forms depending on the intended uses and comprises, in memory 10, a pair of asymmetric keys (sk, pk) associated with the individual as well as a personal authentication data reference 10b. In the figure, the asymmetric key pair is represented by a digital certificate Cert 10a. As is known per se, the electronic certificate 10a is a set of data containing at least the public key pk, identification information of the individual and at least one signature of this data constructed from the private key of a certification body. According to one embodiment, the portable object 1 takes the form of a smart card (of the "smart card" type) with standard dimensions and generally made of PVC or polycarbonate, or any connected object containing a chip. According to other embodiments, the portable object 1 takes the form of a USB key, a dongle, a hardware token. Whatever the form, the portable object | comprises a memory MEM 10 storing in particular code and software for implementing a strong authentication method, a secure processor CPU 11 for executing the code and a communication interface COM 12 of the contact type (e.g. ISO 7816, USB) or contactless type (e.g. ISO 14443). These elements can be grouped in a chip within the portable object 1. The COM 12 communication interface allows communication with a COM 22 correspondence interface when the portable object 1 is presented to the access device 2. The COM 22 interface may include a card reader, with or without contact, when the portable object 1 is of the smart card type. Alternatively, it may be a simple USB interface for a portable object 1 of the USB type. The access device 2 is a local terminal, for example a user terminal, a mobile phone or smartphone, a tablet, a personal assistant, a desktop or laptop computer, an interactive terminal, accessible to the user to request access to a service, device or premises by implementing strong authentication. The access device 2 comprises, in addition to the COM communication interface 22 with any presented portable object 1, a memory MEM 20 storing code and software for implementing a strong authentication method, a CPU processor 21 for executing the code, a user interface 23 allowing the user to enter or acquire one or more personal authentication data and a NET communication interface 24 with the remote device 3 via the network 4. The user interface 23 may be of different types depending on the nature of the authentication data or authentication data to be entered / acquired and the interaction requirements with the system to carry out authentication for the requested access. Typically, the user interface 23 may comprise one or more devices from among: - a keyboard or touch screen for entering a personal code, - a display screen, - a biometric acquisition method. The biometric trait can, for example, be the shape of the individual's face, a fingerprint, a palm print, an iris, etc. Also, the acquisition method can take different forms: scanner, camera, fingerprint reader, etc. In all cases, a reference authentication data item used for authentication 10b of the user is advantageously a data item pre-recorded in memory 10 of the portable object 1. The reference data item is that which is authentic and to which an authentication data item entered by the user or acquired from the user is compared to validate or not an authentication factor. In the remainder of the description, reference will preferably be made to authentication data of the PIN code type, for the sake of brevity. However, those skilled in the art are able to use any other type of authentication data, password or phrase, single-use word, biometric data, etc. The remote device 3 is a remote, secure piece of equipment, typically a server providing a secure service, for example a server of a bank, a hotel, etc. It conventionally comprises a memory MEM 30 storing code and software for implementing the service including a strong authentication method, a processor CPU 31 for executing the code, a network interface NET 34 for communicating with any access device 2 via the network 4. The communication between the access device 2 and the server 3 is preferably secured via a secure channel using encryption and / or an integrity mechanism. [Fig. 1] illustrates a traditional two-factor strong authentication scheme. The portable object 1 can, for example, be a connected object containing a contactless communication chip or a FIDO2 authentication USB key. In all cases, the portable object 1 is presented (100) to the access device 2. The connected object is presented to a smart card reader equipped with the access device 2. The FIDO2 USB key is inserted into a USB port. The portable object 1 comprises the certificate Cert 10a corresponding to the key pair (pk, sk) intended for authentication with the server 3, but also a second digital certificate Certay 10c corresponding to another key pair (pKpzy, SKp:y) intended to secure the transmission of the user PIN code to the object 1. As a variant of the second digital certificate Certpy 10c, the portable object 1 may comprise a secret / key 10c shared with the access device 2 when the securing of the PIN code is carried out through a symmetric cryptography algorithm. The explanations below are based on the use of the digital certificate, however they apply to the use of a symmetric cryptographic algorithm, with standard adaptations for those skilled in the art. In response to the portable object 1 being put into communication with the access device 2, the former transmits (105) in a conventional manner the digital certificates Cert 10a and Certpy 10c to propagate the public keys pk and pkp,y. The Cert certificate is retransmitted (105a) to the server 3 so that the latter has knowledge of the public key pk. When requesting access to a service, server or premises, the user enters (110) his personal PIN code. In parallel and in response to the received Cert 10a certificate, the server 3 verifies (115) the received certificate and, in the case of a valid certificate, generates and transmits (120) an authentication challenge Chall to the access device 2. Similarly, access device 2 verifies the received Certpin 10c certificate. In case of a valid certificate or shared secret / key for symmetric encryption, access device 2 encrypts the entered PIN code using the public key pkp;y associated with the verified certificate or using the shared secret / key. The encrypted PIN code is denoted cPIN: cPIN = enc(pkp;x, PIN). This is step 125. Any conventional symmetric or asymmetric encryption algorithm can be used. For example, the PIN code may be encrypted by secure channel between the access device 2 and the portable object 1. The channel may be opened on the basis of information related to the card access number (CAN) or the machine-readable zone (MRZ), in which case it may be BAC (Basic Access Control) or PACE (Password Authenticated Connection Establishment) as defined by the ICAO (International Civil Aviation Organization). Alternatively, the PIN can be encrypted using a shared secret / key obtained by the ECDH (Elliptic-curve Diffie=-Hellman) algorithm. The encrypted cPZN and the challenge Chal! are transmitted (130), via the card reader or the USB connection, to the portable object 1 via the card reader or the USB connection. Upon receipt, on the one hand, the portable object 1 decrypts cPZN using either the private key SKpix OR the shared secret / key, to obtain the entered PIN code: PIN = dec(skpm, CPIN). The latter is then compared to the reference PIN code 10b in memory MEM 10 of the portable object 1. In the case of identical PIN codes, the first authentication factor is validated. On the other hand, the portable object 1 signs the authentication challenge Chall with its private key sk corresponding to the public key pk that the server 2 has: sig = sign(s, Chall). This is step 135. The signature sig, as a response to the challenge, is transmitted to the server 3 (140a) via the access device 2 (140). The verification (145) of the signature by the server 3 using the public key pk (verif(pk,sig)) makes it possible to validate the second authentication factor with the server. The emergence of quantum cryptography makes encryption mechanisms asymmetric insecure. There is therefore a desire to adapt the above traditional scheme to post-quantum cryptography. Some candidate post-quantum cryptographic algorithms have been proposed during a competition organized by the NIST (National Institute of Standards and Technology), including post-quantum key encapsulation mechanisms or post-quantum KEM (for "Key Encapsulation Mechanism"). A key encapsulation mechanism allows a secret to be securely transmitted to a counterpart using asymmetric cryptographic algorithms. It is commonly known that it generally includes three algorithms or "methods" or "functions": - key generation (asymmetric), - encapsulation, and - decapsulation or decapsulation. Typically, a KEM mechanism between two parties proposes that the first party uses the public key of the other party and the encapsulation method of the KEM mechanism to generate a random secret ss and an encrypted cr of this secret. The encrypted cr is transmitted to the other party who can, by deencapsulation using his private key, recover the secret ss, thus shared. Securing the traditional scheme can be achieved by implementing a KEM to transmit the entered PIN code to the portable object 1. In addition, post-quantum authentication solutions using asymmetric cryptography, based on a KEM and no longer on the signature of a challenge, have been proposed and can replace the challenge-response of the traditional scheme above. Post-quantum signatures require phenomenal sizes of keys and / or phenomenal sizes of intermediate variables, and therefore are highly consuming of RAM. [Fig. 2] illustrates the strong two-factor authentication scheme resulting from the adaptation of that of [Fig. 1] to these post-quantum techniques. The same references designate the same elements or steps. With the adoption of the KEM mechanism, the two secrets used for the two authentication factors are generated by the KEM encapsulation function from the public key pk of the portable object 1. The latter no longer needs to store only one pair of asymmetric keys, and only transmits (205) the certificate Cert to the access device 2. Compared to the traditional scheme, the server no longer generates (215) a challenge Chall but a secret ss; and its ciphertext ct, by the KEM encapsulation function: (s5,, ct;)=encaps(pk). It is this ciphertext ct; which will be communicated to the portable object 1 so that he can prove, by obtaining the secret ss,, that he is indeed the holder of the private key sk, and thus validate the authentication. The ciphertext ct is therefore transmitted (220) first to the access device 2. The latter, which must encrypt the PIN code entered by the user, in turn generates another secret ss (which will be used as the encryption key for the PIN code) and its ciphertext ct, again using the encapsulation function KEM and the public key pK: ( $S2, Ct,) = encaps(pk). The PIN code is then encrypted with the secret ss;: cPIN = enc(ss>, PIN). This is the modified step 225. The encrypted PIN code cPIN as well as the encrypted ct; (to perform authentication with the server) and ct; (to decrypt cPZN) are transmitted (230) to the portable object 1. The latter recovers the encryption key using the decapsulation function of the KEM mechanism applied to ct and its private key sk: ss,=decaps(sk, cr), then decrypts cPIN using this key to obtain the entered PIN code: PIN = dec(ss,, cPIN ). A classic comparison between the PIN code thus recovered and the reference PIN code 10b is carried out to validate or not the first authentication factor is validated. On the other hand, if the first authentication is validated, operations continue to perform authentication with server 3, with portable object 1 which recovers the secret ss; shared with server 3 using the KEM decapsulation function applied to ct, and its private key sk: ss,=decaps(sk, ct;) and generates a confirmation of secret Know(ss;). The secret confirmation is information based on the secret ss, which proves that the portable object 1 has knowledge of it, allowing the server to validate the authentication based on the asymmetric key pair (represented by the digital certificate). Different functions can be used to implement the Know function generating the secret confirmation. For example, the identity function can be used: Know(ss;) = ss,. The secret is only used for authentication, so its disclosure here, at the end of the process, is not detrimental. In other examples, a hash function applied to the secret, typically a SHA (for "Secure Hash Algorithm") of the SHA-2 family or the SHA-3 family specified by NIST, can be used: Know(ss,) = SHA(ss;). Alternatively, an encryption operation, for example AES (for "Advanced Encryption Standard"), of a predetermined data with the key ss, can be used: Know(ss;) = AES,,,(data). These operations by the portable object 1 are carried out in step 235. The secret confirmation is transmitted to the server 3 (240a) via the access device 2 (240). The verification (245) of the confirmation by the server 3 (by applying the same Know function to the secret ss) allows the second authentication factor to be validated with the server 3. However, it is desirable to improve this post-quantum strong two-factor authentication scheme to reduce the computations at the level of the portable object 1 (typically two decapsulations), which generally has limited resources. However, the properties of the protocol must be preserved: authentication of the portable object by the server, not exposing the PIN code to attacks. According to the invention, the cryptographic encryption key (ss; above) is generated by applying a one-way function to a secret derived from the secret ss; obtained using the KEM and used to generate the secret confirmation. In other words, the encryption of the PIN code (or any authentication data) is based on the secret used for authentication with the server 3, and not on a separate secret as is the case in known techniques. This makes it possible to reduce the data to be transmitted to the portable object 1 during step 230, but also to avoid a costly execution of the decapsulation function decaps. [Fig.4] illustrates a strong two-factor authentication scheme according to one embodiment of the invention. In this embodiment, the derived secret is equal to the secret obtained using the KEM. In step 415, in addition to recovering the public key pk and generating the authentication secret ss and its ciphertext er ((ss, cr)J=encaps(pk)), the server 3 generates the encryption key, noted ss', which will be used for the protection of the entered PIN code, directly from the secret ss and using a one-way function OWF (“One Way Function”): ss'=OWF(ss). A one-way function is difficult to reverse, so the parameter ss is kept secret even if the result ss' is disclosed. For example, the one-way function can be a hash function, such as a SHA from the SHA-2 family or the SHA-3 family specified by NIST. The encryption key ss' is then transmitted to the access device 2, with the encrypted cr for server authentication (step 420). The access device only has to encrypt (425) the PIN code with this key (CPIN = enc(ss', PIN)), also simplifying its operations. The encrypted cPIN and cr are transmitted to the portable object 1, reducing the volume of data exchanged during this step 430. The portable object 1 can then recover (435) the secret ss and the encryption key ss' by successively using the decapsulation function of the KEM mechanism with its private key sk, then the same one-way function: ss=decaps(sk, ct), ss'=OWF(ss) Portable object 1 then has the two secrets necessary for the two authentication factors. Still in step 435, it decrypts cPZN using this key ss' to obtain the entered PIN code: PIN = dec(ss., cPIN). A conventional comparison between the PIN code thus recovered and the reference PIN code 10b is carried out to validate or not the first authentication factor. If this first authentication is validated, the operations continue with the generation of the secret confirmation Know(ss). The Know function can simply be a Message Authentication Code (MAC) applied to a pre-established data using the secret ss or any other key ss' derived from ss (server and portable object knowing the derivation method to be applied symmetrically). Such another derived key could advantageously be used for a secure channel between portable object 1 and server 3, once authentication has been confirmed. It can also be a hash function applied to the secret ss or any other key ss'' derived from ss. Typically, a SHA from the SHA-2 family or the SHA-3 family specified by NIST. It can also be an encryption operation, for example ÀES, of a predetermined data with the secret ss or any other key ss'' derived from ss. The Know(ss) function is different from the identity or cannot return the ss' encryption key, so as not to compromise the security of the PIN. The confirmation of secret Know(ss) is sent to server 3 (240, 240a) and verified by it (245). Figures 5 and 6 illustrate, using flowcharts, general steps of an embodiment of the invention respectively on the side of the portable object 1 ([Fig.5]) and on the side of the access system ([Fig.6]). The access system of [Fig.6] is composed for example of the access device 2 whose steps are represented by dotted lines, and the remote server 3 whose steps are represented by double lines. The access device 2 is connected to the remote server 3 via the network 4. These figures reproduce the scenario of [Fig.4]. In step 500, the user presents the portable object 1, for example a smart card, to the access device 2. This step powers the smart card 1 which in return sends its certificate Cert to the access device 2, in step 505. For its part, the access device 2 retransmits the certificate Cert to the remote device 3, server type, at step 600. At step 605, server 3 extracts the public key pk from the certificate Cert. This simply verifies the signature of the certificate with a public key pkc; from the certification authority: verif(pkc,, Cert) which returns the key pk extracted from the certificate. Conventional mechanisms can be used. Of course, these steps can be omitted if server 3 already has the public key pk. In step 610, the server 3 generates a secret ss and a corresponding ciphertext ct, using a key encapsulation mechanism, KEM (encaps), and the user's public key pk thus recovered: (ss, ct)=encaps(pk). In step 615, the server 3 generates the encryption key ss' by deriving the secret ss using a predefined one-way function (known to the smart card 1): ss' =OWF(ss). Steps 605-615 correspond to step 415 in [Fig.4]. The ciphertext ct and the encryption key ss' are transmitted to the access device 2 in step 620. The access device receives authentication data from the user, typically a PIN code or password entered by the user via the user interface 23 or acquired biometric data, in step 625. This step can however be carried out earlier between steps 600 and 620. The access device 2 encrypts the PIN code in step 630 using the key ss': cPIN= enc(ss', PIN) (step 425 in [Fig. 4]). The encrypted ct and cPIN are then transmitted to the smart card 1 in step 635. For its part, the smart card 1 receives, from the access device 2, the encrypted personal authentication data cPIN and an encrypted ct (generated by KEM), at step 510. In step 515, she obtains the secret ss by KEM decapsulation of the ciphertext ct using her private key sk stored in the memory of the portable object: ss=decaps(sk, ct). Then in step 520, it generates the encryption key ss' (to decrypt cPZN) by applying the one-way function to the secret ss obtained using the KEM: ss'=OWF( ss). The smart card | can then decrypt (step 525), using this key ss', the encrypted personal authentication data, here cPZN, to recover the PIN code entered by the user: PIN = dec(ss., cPIN). In step 530, the smart card | verifies the decrypted personal authentication data, i.e. PIN, with the reference personal authentication data 10b (PIN ref). This may simply be to verify that PIN and PIN,- are equal. In case of erroneous verification, an error message is returned to access device 2, terminating the authentication and refusing it. In the event of valid personal authentication data (positive verification 530), the smart card 1 generates, in step 535, a confirmation of the secret ss, typically Know(ss). Steps 510-535 correspond to step 435 in [Fig.4]. This secret confirmation is sent to the access device 2 during step 540 and forwarded to server 3 in step 640. In step 645, server 3 checks the secret confirmation to validate the authentication (or not). For example, the server generates a reference confirmation from the secret ss generated in step 610: Know(s5),e, and compares it to the confirmation received in step 640. Authentication is validated in case of equality, refused in case of difference. In the proposed scheme, the elimination of an execution of the de-encapsulation function in favor of an execution of the one-way function is beneficial because the latter is less costly in resources and also constitutes a basic cryptographic function generally already present in any cryptographic module constituting a portable authentication object 1. [Fig.7] illustrates a strong two-factor authentication scheme according to another embodiment of the invention. In this embodiment, the derived secret combines the secret obtained using the KEM with at least one second secret shared between the portable object and the remote device and obtained using a pre-quantum cryptography algorithm. This embodiment is called "hybrid" in that it combines, for the authentication factor based on secret confirmation, the security of a post-quantum scheme (via KEM) and the security of a classical pre-quantum scheme (here illustrated by EDCH (for "Elliptic Curve Diffie-Hellman" or "Diffie-Hellman key exchange based on elliptic curves", a mechanism for establishing a shared secret, using the asymmetric key pairs of the two entities involved). This hybrid scheme makes it possible to guarantee at least the security of a classical scheme in the case where the post-quantum mechanisms turn out to be more easily attacked than what the current literature suggests. This hybrid security therefore requires the implementation of another asymmetric key pair (pkzpcx SKepcx) on the side of the portable device 1 (represented by the Certeney 10d certification in the Figure). The server 3 also has an asymmetric key pair to carry out the security according to a classic scheme, for example EDCH. This pair (Pksery, Skserv) can be predefined or generated on demand as described below. The EDCH scheme is used subsequently as an example of a classic scheme for establishing a shared secret. Similar mechanisms can be used in this embodiment. The Certzpcy 10d certificate is therefore transmitted, at the same time as Cert 10a, to the server 3 via the access device 2 (step 705, 705a). The Cert 10a certificate, used in a post-quantum scheme, is preferably signed with a post-quantum signature algorithm, whereas the Certepcx 10d certificate, used in a pre-quantum classical scheme, is preferably signed with a pre-quantum classical signature algorithm. quantum. In an alternative embodiment, a single certificate can be used which contains both public keys pk and pkepcy along with the two respective signatures. At step 715, server 3 obtains the two public keys pk and pkepcy from the user (via certificates for example) and generates its own asymmetric key pair (pkserv, SKsery) if necessary using any classic mechanism: (pksrry, SKserv)=ec-keygen(). Similar to step 415, server 3 generates the authentication secret ss and its encrypted ct {(ss, cf)=encaps({pk)) Additionally, it generates a second authentication secret, ss,, based on a classical cryptography scheme, EDCH in the example: ss,=ecdh(pkepcrs SKserv). Server 3 can then generate the encryption key ss' (used for PIN protection) from the secrets ss and ss, using a one-way function (OWF). In practice, the server can first combine the two secrets ss and ss into a combined secret SSzerive: SSderie = COMbin(ss, 557). Different combination functions can be used, for example a simple concatenation, a logical binary operation, an arithmetic operation, etc. (preferably a simple concatenation). Then, the server calculates the encryption key from the combined secret: ss'=OWF(ss me) The encryption key ss' is then transmitted to the access device 2, along with the ciphertext cr and the server's public key pKszay, both necessary for server authentication based on the hybrid scheme (step 720). After encryption of the PIN code by the access device (425), the cPZN and ct ciphers are transmitted to the portable object 1 with the public key of the pkszzy server (730). The portable object 1 can then (735): - recover the secret ss from the ciphertext c?: ss=decaps(sk, cf), - recover the second secret ss, from the public key pKszry: S5,=ecdh(pKsery, SK EDCH), - get the combined secret: SSzerive : SSdterive = COMbiN(SS, 557), - then get the encryption key ss': ss'=OWF(SSderive)- Portable object 1 then has the two secrets necessary for the two authentication factors. Still in step 735, it decrypts cPZN using this key ss' to obtain the entered PIN code: PIN = dec(ss,, cPIN). A conventional comparison between the PIN code thus recovered and the reference PIN code 10b is carried out to validate or not the first authentication factor. If this first authentication is validated, the operations continue with the generation of the secret confirmation. In this hybrid scheme, the secret confirmation is not only based on the secrecy of the post-quantum scheme ss but also based on the secrecy of the classical scheme ss,. Any combination (known to the portable device 1 and the server 3) of these two secrets can be used. In particular, the already calculated combined secret 54; can be used: Know(sSgerive)- The confirmation of secret Know(sSçenive) ESt is transmitted to server 3 (240, 240a) and verified by it (245). In this hybrid embodiment, the methods of Figures 5 and 6 are also performed, augmented by the additional steps described above. Although the present invention has been described above with reference to specific embodiments, the present invention is not limited to these specific embodiments, and modifications, which are within the scope of the present invention, will be apparent to those skilled in the art. In particular, the authentication scheme proposed herein preferably implements a post-quantum Key Encapsulation Mechanism (KEM), for example one of the finalist candidates in the Post-Quantum Cryptography Standardization competition organized by NIST. The present invention also applies to classical (non-quantum or post-quantum) cryptography since KEMSs also exist in traditional cryptography. Many other modifications and variations will occur to those skilled in the art upon reference to the above illustrative embodiments, which are given by way of example only and do not limit the scope of the invention, which is determined solely by the appended claims. In particular, the different features of the different embodiments may be interchanged, where appropriate. In the claims, the word “comprising” does not exclude other elements or steps, and the indefinite article “a” or “an” does not exclude a plurality. The mere fact that different features are recited in mutually different dependent claims does not indicate that a combination of those features cannot be used to advantage.
Claims
Claims
1. Method for authenticating a user to a remote device (3), comprising, at the level of a portable object (1) storing data personal reference authentication (10b), the following steps: - receive (510), from an access device (2), personal data encrypted authentication (cPIN) and an encrypted (ct) generated by the remote device (3), - decrypt (525), using a cryptographic key (ss'), the data encrypted personal authentication (cPIN), and - in case of valid personal authentication data, send (540), to the remote device (3), a confirmation (Know(ss)) of a secret (ss) obtained using a key encapsulation mechanism, KEM, applied numerical audit (ct), characterized in that the cryptographic key (ss') is generated (520) by applying a one-way function (OWF) to a secret derived from the secret (ss) obtained using KEM.
2. The method of claim 1, further comprising the step of: obtain (515) the secret (ss) by KEM decapsulation of the ciphertext (ct) at using a private key (sk) from a stored private key-public key scheme in memory (10) of the portable object (1).
3. A method according to claim | or 2, further comprising the step following: verify (530) the personal authentication data de- encrypted (PIN) with the personal authentication data of reference (10b).
4. Method according to one of the preceding claims, comprising in besides the next step: generate (535) the secret confirmation (Know(ss)) by applying a hash function to the obtained secret or any other key derived from the obtained secret, or by the encryption of a predetermined data using the obtained secret or any other key derived from the obtained secret.
5. Method of authenticating a user to a remote device (3), using a portable object (1) storing personal data reference authentication (10b), comprising the following steps: - generate (610), by the remote device (3), a secret (ss) and an encrypted corresponding (ct) using a key encapsulation mechanism, KEM, and a public key (pk) of the user, - obtain (625), by an access device (2) connected to the portable object (1), a personal authentication data (PIN) entered by the user, - encrypt (630), by the access device (2) and using a crypto- key graphic (ss'), the personal authentication data entered, - transmit (635), to the portable object (1), the authentication data encrypted (cPIN) and the encrypted (ct) corresponding to the secret (ss), and - receive (640) in return, from the portable object (1), a confirmation {Know(ss)) of the secret (ss), characterized in that the cryptographic key (ss') is generated (615) by applying a one-way function (OWF) to a secret derived from the secret (ss) obtained using KEM.
6. The method of claim 5, wherein the cryptographic key {ss') is generated (610) by the remote device (3) and transmitted by it to the access device (2).
7. A method according to claim 5 or 6, comprising verifying (645), by the remote device (3), of the confirmation of secret (Know(ss)) received in return, with the generated secret (ss), so as to authenticate posi- tively the portable object (1) in the event of a positive verification.
8. Method according to one of claims 1 to 7, in which the secret derived is worth the secret (ss) obtained using the KEM.
9. Method according to one of claims 1 to 7, in which the derived secret {SSderive) COMBINE the secret (ss) obtained using the KEM with at least one second secret (ss,) shared between the portable object (1) and the remote device (3) and obtained using a pre-quantum cryptography algorithm.
10. The method of claim 9, wherein the second shared secret (ss,) is obtained using a Diffie-Hellman key exchange based on elliptic curves.
11. A method according to claim 9 or 10 wherein the confirmation of secret is based on the secret (ss) obtained using the KEM and on the second shared secret (ss,).
12. Method according to the preceding claim, in which the confirmation of secret is based on the derived secret (SSçerive)-
13. Personal device (1) for authenticating a user to a remote device (3), comprising a memory (10) storing data personal reference authentication (10b) and a processor (11) configured for: - receive, from an access device (2), personal data encrypted authentication (cPIN) and an encrypted (ct) generated by the remote device (3), - decrypt, using a cryptographic key (ss'), the data per- encrypted authentication password (cPIN), - in case of valid personal authentication data, send, to remote device (3), a confirmation (Know(ss)) of a secret (ss) obtained using a key encapsulation mechanism, KEM, applied numerical audit (ct), characterized in that it is further configured to generate the crypto- key graph (ss') by applying a one-way function (OWPF) to a secret derived from the secret (ss) obtained using KEM.
14. System for authenticating (2, 3) a user using an object portable (1) storing personal authentication data reference (10b), comprising an access device (2) and a device distant (3), the remote device (3) comprising a processor (31) configured to: - generate a secret (ss) and a corresponding ciphertext (ct) using a key encapsulation mechanism, KEM, and a public key (pk) of the user, - authenticate the portable object (1) by verifying a confirmation {Know(ss)) of the secret (ss) emitted by the portable object, and the access device (2) being connected to the portable object (1) and comprising a processor (21) configured to: - obtain personal authentication data (PIN) entered by the user, - encrypt, using a cryptographic key (ss'), the personal data authentication entered (PIN), - transmit, to the portable object (1), the encrypted authentication data (cPIN) and the cipher (ct) corresponding to the secret (ss), - receive in return, from the portable object, the confirmation (Know(ss)) of the secret (ss), the authentication system being characterized in that it is configured to generate the cryptographic key (ss') by applying a function one-way (OWPF) to a secret derived from the secret (ss) obtained using the KEM.
15. Non-transitory computer-readable medium storing a program which, when executed by a processor of a processing device cryptographic, brings the cryptographic processing device to carrying out the method according to one of claims 1 to 12.
