Efficient mutual authentication of server and client
Abstract
Password based authentication is one of the common forms of authentication used in practice. However, when a user/client device enrolls with a server using password information, the authentication process exposes hash of password information to the server which is prone to various types of passwords guessing attacks. Present disclosure provides a system and a method that authenticates a user without revealing his/her password information to a third-party identity provider. This is done by using bilinear parings to authenticate user without sending password information to the server and by way generating client shared secret, server secret, public key, private key and the like. This eliminates the need for storing any keys on multiple devices/third parties or storing password information on the server side.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A processor implemented method, comprising: invoking, at a client device, a key-pair technique via one or more hardware processors, for selection of a private key for a user; computing, by using the key-pair technique via the one or more hardware processors, a public key based on the selected private key; selecting, at the client device, a username for the user; and obtaining, at the client device, an encrypted shared secret generated by a server based on at least one of the username and the computed public key, wherein the shared secret is unique and specific to the user, wherein the encrypted shared secret is indicative of a successful registration of the user at the server, and wherein the shared secret is computed based on a randomly selected server secret.
- Claim 2Depends on #1
The processor implemented method of claim 1, further comprising: transmitting via the client device an authentication request to the server; obtaining at the client device a challenge from the server; transmitting a response by the client device to the server based on the obtained challenge; and obtaining, from the server, an authentication confirmation of the user based on a comparison of the transmitted response with a reference response generated by the server.
- Claim 3Depends on #1
The processor implemented method of claim 1, wherein the server is authenticated by: obtaining by the server a challenge and the username unique to the user from the client device; retrieving by the server an associated public key pertaining to the username and generating a response thereof; and authenticating the server based on a reference response generated by the client device based on the associated public key and the generated response.
- Claim 4Depends on #1
The processor implemented method of claim 1, further comprising in an event that the shared secret is forgotten by the user: transmitting, from the client device, the username specific to the user to the server; obtaining, by the client device, a randomly generated and encrypted challenge from the server, wherein the randomly generated and encrypted challenge is based on the computed public key associated with the user; decrypting, by the client device, the randomly generated and encrypted challenge obtained from the server by using the selected private key associated with the user to obtain a decrypted challenge; computing a response to the decrypted challenge and transmitted to the server thereof; and obtaining the encrypted shared secret from the server based on a comparison of the computed response with a reference result computed by the server.
- Claim 5Depends on #1
The processor implemented method of claim 1, further comprising in an event that the username is forgotten by the user: transmitting, by the client device, an encrypted set of parameters comprising the shared secret and the computed public key associated with the user to the server; wherein the encrypted set of parameters is based on a computed public key associated with the server; and obtaining the username specific to the user based on a comparison of (i) a tuple comprising the shared secret and the computed public key being decrypted by the server, and (ii) an associated authentication database.
- Claim 6Depends on #1
The processor implemented method of claim 1, further comprising: in an event that the selected private key is forgotten by the user: invoking at the client device, the key-pair technique, for randomly selecting a new private key for the user; computing, by the client device, a new public key for the user based on the new selected private key; transmitting, by the client device, an encrypted set of parameters comprising the username, the shared secret, and the new public key to the server; wherein the encrypted set of parameters is based on a computed public key associated with the server; and obtaining, from the server, an acknowledgement along with an encrypted shared secret by the client device, wherein the server (a) performs a comparison of (i) the shared secret being decrypted by the server, and (ii) an associated authentication database, (b) updates the public key with the new public key, and (c) outputs the encrypted shared secret based on uniqueness of a pair comprising the new public key and the shared secret.
- Claim 7Depends on #1
The processor implemented method of claim 1, further comprising: in an event that the private key is to be reset by the user: transmitting, by the client device, a reset request pertaining to the private key to the server; obtaining, by the client device, a randomly generated and encrypted challenge from the server in response to the reset request; decrypting, by the client device, the randomly generated and encrypted challenge by using the selected private key pertaining to the user to obtain a decrypted challenge; generating, at the client device, a response to the decrypted challenge; invoking, the key-pair technique comprised in the client device, for selection of a new private key and computing a new public key based on the new private key, wherein the step of invoking is based on a reference result computed by the server and compared with the generated response; generating, by the client device, a result based on the new private key and the new public key; transmitting, by the client device, the generated result, the username, and the new public key to the server; and obtaining, from the server, an acknowledgement along with an encrypted shared secret by the client device, wherein the server (i) computes a reference result and verifies with the generated result, (ii) updates the public key with the new public key, and (iii) outputs the encrypted shared secret based on uniqueness of a pair comprising the new public key and the shared secret.
- Claim 8Independent Claim
A client device, comprising: a memory storing instructions; one or more communication interfaces; and one or more hardware processors coupled to the memory via the one or more communication interfaces, wherein the one or more hardware processors are configured by the instructions to: invoke a key-pair technique for selection of a private key for a user; compute, by using the key-pair technique, a public key based on the selected private key; select a username for the user; and obtain an encrypted shared secret generated by a server based on at least one of the username and the computed public key, wherein the shared secret is unique and specific to the user, wherein the encrypted shared secret is indicative of a successful registration of the user at the server, and wherein the shared secret is computed based on a randomly selected server secret.
- Claim 9Depends on #8
The client device of claim 8, wherein the user is authenticated by: transmitting via the client device an authentication request to the server; obtaining at the client device a challenge from the server; transmitting a response by the client device to the server based on the obtained challenge; and obtaining, from the server, an authentication confirmation of the user based on a comparison of the transmitted response with a reference response generated by the server.
- Claim 10Depends on #8
The client device as claimed in claim 8, wherein the server is authenticated by: obtaining by the server a challenge and the username unique to the user from the client device; retrieving by the server an associated public key pertaining to the username and generating a response thereof; and authenticating the server based on a reference response generated by the client device based on the associated public key and the generated response.
- Claim 11Depends on #8
The client device of claim 8, wherein in an event that the shared secret is forgotten by the user, the client device is further configured by the instructions to: transmit the username specific to the user to the server; obtain a randomly generated and encrypted challenge from the server, wherein the randomly generated and encrypted challenge is based on the computed public key associated with the user; decrypt the randomly generated and encrypted challenge obtained from the server by using the selected private key associated with the user to obtain a decrypted challenge; compute a response to the decrypted challenge and transmitted to the server thereof; and obtain the encrypted shared secret from the server based on a comparison of the computed response with a reference result computed by the server.
- Claim 12Depends on #8
The client device of claim 8, wherein in an event that the username is forgotten by the user, the client device is further configured by the instructions to: transmit an encrypted set of parameters comprising the shared secret and the computed public key associated with the user to the server; wherein the encrypted set of parameters is based on a computed public key associated with the server; and obtain the username specific to the user based on a comparison of (i) a tuple comprising the shared secret and the computed public key being decrypted by the server, and (ii) an associated authentication database.
- Claim 13Depends on #8
The client device of claim 8, wherein in an event that the selected private key is forgotten by the user, the client device is further configured by the instructions to: invoke the key-pair technique, for randomly selecting a new private key for the user; compute a new public key for the user based on the new selected private key; transmit an encrypted set of parameters comprising the username, the shared secret, and the new public key to the server; wherein the encrypted set of parameters is based on a computed public key associated with the server; and obtain, from the server, an acknowledgement along with an encrypted shared secret, wherein the server (a) performs a comparison of (i) the shared secret being decrypted by the server, and (ii) an associated authentication database, (b) updates the public key with the new public key, and (c) outputs the encrypted shared secret based on uniqueness of a pair comprising the new public key and the shared secret.
- Claim 14Depends on #8
The client device of claim 8, wherein in an event that the private key is to be reset by the user, the client device is further configured by the instructions to: transmit a reset request pertaining to the private key to the server; obtain a randomly generated and encrypted challenge from the server in response to the reset request; decrypt the randomly generated and encrypted challenge by using the selected private key pertaining to the user to obtain a decrypted challenge; generate a response to the decrypted challenge; invoke, the key-pair technique, for selection of a new private key and computing a new public key based on the new private key, wherein the step of invoking is based on a reference result computed by the server and compared with the generated response; generate a result based on the new private key and the new public key; transmit the generated result, the username, and the new public key to the server; and obtain, from the server, an acknowledgement along with an encrypted shared secret by the client device, wherein the server (i) computes a reference result and verifies with the generated result, (ii) updates the public key with the new public key, and (iii) outputs the encrypted shared secret based on uniqueness of a pair comprising the new public key and the shared secret.
- Claim 15Independent Claim
One or more non-transitory machine-readable information storage mediums comprising one or more instructions which when executed by one or more hardware processors cause: invoking, at a client device, a key-pair technique for selection of a private key for a user; computing, by using the key-pair technique via the one or more hardware processors, a public key based on the selected private key; selecting, at the client device, a username for the user; and obtaining, at the client device, an encrypted shared secret generated by a server based on at least one of the username and the computed public key, wherein the shared secret is unique and specific to the user, wherein the encrypted shared secret is indicative of a successful registration of the user at the server, and wherein the shared secret is computed based on a randomly selected server secret.
- Claim 16Depends on #15
The one or more non-transitory machine-readable information storage mediums of claim 15, wherein the one or more instructions which when executed by the one or more hardware processors cause: transmitting via the client device an authentication request to the server; obtaining at the client device a challenge from the server; transmitting a response by the client device to the server based on the obtained challenge; and obtaining, from the server, an authentication confirmation of the user based on a comparison of the transmitted response with a reference response generated by the server.
- Claim 17Depends on #15
The one or more non-transitory machine-readable information storage mediums of claim 15, wherein the server is authenticated by: obtaining by the server a challenge and the username unique to the user from the client device; retrieving by the server an associated public key pertaining to the username and generating a response thereof; and authenticating the server based on a reference response generated by the client device based on the associated public key and the generated response.
- Claim 18Depends on #15
The one or more non-transitory machine-readable information storage mediums of claim 15, wherein the one or more instructions which when executed by the one or more hardware processors further cause in an event that the shared secret is forgotten by the user: transmitting, from the client device, the username specific to the user to the server; obtaining, by the client device, a randomly generated and encrypted challenge from the server, wherein the randomly generated and encrypted challenge is based on the computed public key associated with the user; decrypting, by the client device, the randomly generated and encrypted challenge obtained from the server by using the selected private key associated with the user to obtain a decrypted challenge; computing a response to the decrypted challenge and transmitted to the server thereof; and obtaining the encrypted shared secret from the server based on a comparison of the computed response with a reference result computed by the server, and wherein in an event that the username is forgotten by the user: transmitting, by the client device, an encrypted set of parameters further comprising the shared secret and the computed public key associated with the user to the server; wherein the encrypted set of parameters is based on a computed public key associated with the server; and obtaining the username specific to the user based on a comparison of (i) a tuple further comprising the shared secret and the computed public key being decrypted by the server, and (ii) an associated authentication database.
- Claim 19Depends on #15
The one or more non-transitory machine-readable information storage mediums of claim 15, wherein the one or more instructions which when executed by the one or more hardware processors further cause: in an event that the selected private key is forgotten by the user: invoking at the client device, the key-pair technique, for randomly selecting a new private key for the user; computing, by the client device, a new public key for the user based on the new selected private key; transmitting, by the client device, an encrypted set of parameters further comprising the username, the shared secret, and the new public key to the server; wherein the encrypted set of parameters is based on a computed public key associated with the server; and obtaining, from the server, an acknowledgement along with an encrypted shared secret by the client device, wherein the server (a) performs a comparison of (i) the shared secret being decrypted by the server, and (ii) an associated authentication database, (b) updates the public key with the new public key, and (c) outputs the encrypted shared secret based on uniqueness of a pair further comprising the new public key and the shared secret.
- Claim 20Depends on #15
The one or more non-transitory machine-readable information storage mediums of claim 15, wherein the one or more instructions which when executed by the one or more hardware processors further cause: in an event that the private key is to be reset by the user: transmitting, by the client device, a reset request pertaining to the private key to the server; obtaining, by the client device, a randomly generated and encrypted challenge from the server in response to the reset request; decrypting, by the client device, the randomly generated and encrypted challenge by using the selected private key pertaining to the user to obtain a decrypted challenge; generating, at the client device, a response to the decrypted challenge; invoking, the key-pair technique comprised in the client device, for selection of a new private key and computing a new public key based on the new private key, wherein the step of invoking is based on a reference result computed by the server and compared with the generated response; generating, by the client device, a result based on the new private key and the new public key; transmitting, by the client device, the generated result, the username, and the new public key to the server; and obtaining, from the server, an acknowledgement along with an encrypted shared secret by the client device, wherein the server (i) computes a reference result and verifies with the generated result, (ii) updates the public key with the new public key, and (iii) outputs the encrypted shared secret based on uniqueness of a pair further comprising the new public key and the shared secret.
Technical Overview & Description
PRIORITY CLAIM This U.S. patent application claims priority under 35 U.S.C. § 119 to: Indian Patent Application number 202421052518 filed on Jul. 9, 2024. The entire contents of the aforementioned application are incorporated herein by reference. TECHNICAL FIELD The disclosure herein generally relates to authentication techniques, and, more particularly, to efficient mutual authentication of server and client. BACKGROUND Password based authentication is one of the common forms of authentication used in practice. However, when a user/client device enrolls with a server using password information, the authentication process exposes hash of password information to the server which is prone to various types of passwords guessing attacks such as dictionary attacks, credential stuffing, brute-force attacks, password spraying and so on. Hence, this can lead to unauthorized usage of applications using the stolen password. SUMMARY Embodiments of the present disclosure present technological improvements as solutions to one or more of the above-mentioned technical problems recognized by the inventors in conventional systems. For example, in one aspect, there is provided a processor implemented method for efficient mutual authentication of server and client. The method comprises invoking at a client device, a key-pair technique via one or more hardware processors, for selection of a private key for a user; computing, by using the key-pair technique via one or more hardware processors, a public key based on the selected private key; selecting a username for the user; and obtaining, at the client device, an encrypted shared secret generated by a server based on at least one of the username and the computed public key, wherein the shared secret is unique and specific to the user, wherein the encrypted shared secret is indicative of a successful registration of the user at the server, and wherein the shared secret is computed based on a randomly selected server secret. In an embodi
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (18)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2025/0192990 A1 | AUTHENTICATION KEY EXCHANGE SYSTEM, EQUIPMENT, SERVER, METHOD, AND PROGRAM | — | 1 |
Non-Patent Literature (1)
- Author: Johannes Kunke , Stephan Wiefling, Markus Ullmann, Luigi Lo Iacono Title: Evaluation of Account Recovery Strategies with FIDO2-based Passwordless Authentication Date: 2021 Link: https://arxiv.org/pdf/2105.12477.