# US 2025/0030666 A1 · Zero-knowledge proofs for login

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0030666 A1
- Document ID: US20250030666A1
- Status: Published application
- Kind: A1
- Application number: 18/811,983
- Filed: 2024-08-22
- Published: 2025-01-23
- Earliest claimed: 2023-07-17
- Assignees: Mysten Labs, Inc.
- Applicants: Mysten Labs, Inc.
- Inventors: Konstantinos Chalkias; Arnab Roy; Sai Krishna Deepak Maram; Joy Wang; Adeniyi Abiodun; Lola Oyelayo-Pearson; Ben Riva; Jonas Lindstrøm; Jordan Gensler; Pavlos Chrysochoidis
- Web page: https://patentgrep.com/patent/US20250030666A1

## CPC

- H04L 63/0421: {Anonymous communication, i.e. the party's identifiers are hidden from the other party or parties, e.g. using an anonymizer}
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- H04L 63/0807: {using tickets, e.g. Kerberos (cryptographic mechanisms or cryptographic arrangements for entity authentication using tickets or tokens H04L9/3213)}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present technology can allow a user to use the OpenID Connect protocol to login to an account that has an anonymous user account ID. More specifically, the present technology can programmatically combine information received from an OpenID provider during the OpenID Connect protocol with a random value to yield a unique anonymous user account ID. The present technology also makes use of the ability within the OpenID Connect protocol to embed a chosen nonce into the token signed by the OpenID provider. This allows for embedding hashes of cryptographic keys, like signature verification keys, into ID tokens received from the OpenID provider that authenticates the user. Subsequently, the user can sign messages that can be verified using the verification key bound to the ID token from the OpenID provider.

## Claims

### Claim 1

A method comprising:
receiving, by an account service, an ID token in response to an authentication request made to an authentication provider to authenticate a user with an account with the authentication provider, the ID token including an identifier of the account with the authentication provider and nonce data, the nonce data including at least a public key for an anonymous user account ID; and
transacting, by the account service with a third-party service the transacting including a message with transaction details, the message including a signature signed using the public key in the nonce data.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
deriving, by the account service, the anonymous user account ID from a cryptographic combination of the identifier of the account with the authentication provider that is included in the ID token and a user code.

### Claim 3 (depends on 2)

The method of claim 2, wherein the deriving of the anonymous user account ID further utilizes an issuer identifier from the ID token which identifies the authentication provider, whereby the anonymous user account ID is linked to the authentication provider.

### Claim 4 (depends on 2)

The method of claim 2, wherein the deriving of the anonymous user account ID further utilizes multiple authentication provider identifiers, multiple identifiers of the user account, or multiple account service identifiers.

### Claim 5 (depends on 2)

The method of claim 2, wherein the cryptographic combination of the identifier of the account with the authentication provider that is included in the ID token and a user is performed before a generation of a zero-knowledge proof that is provided to the third-party service to verify that the user corresponding to the anonymous user account ID was authenticated by the authentication provider.

### Claim 6 (depends on 1)

The method of claim 1, wherein the nonce data includes random data.

### Claim 7 (depends on 1)

The method of claim 1, wherein the public key is an ephemeral public key tied to a key expiration listed in the nonce data.

### Claim 8 (depends on 2)

The method of claim 2, wherein the user code can be value-less to provide a user code-less mode that does not protect Personal Identifiable Information of account with the authentication provider.

### Claim 9 (depends on 1)

The method of claim 1, wherein the nonce data includes policy information limiting use of the authentication or the public key to uses defined in the policy information.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
sending a message requesting authorization by the authentication provider, wherein the message includes the nonce data to be included in a nonce field of the ID token.

### Claim 11

A computing system comprising:
at least one processor; and
a memory storing instructions that, when executed by the at least one processor, configure the computing system to:
receive an ID token in response to an authentication request made to an authentication provider to authenticate a user with an account with the authentication provider, the ID token including an identifier of the account with the authentication provider and nonce data, the nonce data including at least a public key for an anonymous user account ID; and
transact with a third-party service the transacting including a message with transaction details, the message including a signature signed using the public key in the nonce data.

### Claim 12 (depends on 11)

The computing system of claim 11, wherein the instruction further configures the computing system to:
derive the anonymous user account ID from a cryptographic combination of the identifier of the account with the authentication provider that is included in the ID token and a user code.

### Claim 13 (depends on 12)

The computing system of claim 12, wherein the deriving of the anonymous user account ID further utilizes an issuer identifier from the ID token which identifies the authentication provider, whereby the anonymous user account ID is linked to the authentication provider.

### Claim 14 (depends on 12)

The computing system of claim 12, wherein the cryptographic combination of the identifier of the account with the authentication provider that is included in the ID token and a user is performed before a generation of a zero-knowledge proof that is provided to the third-party service to verify that the user corresponding to the anonymous user account ID was authenticated by the authentication provider.

### Claim 15 (depends on 11)

The computing system of claim 11, wherein the public key is an ephemeral public key tied to a key expiration listed in the nonce data.

### Claim 16 (depends on 12)

The computing system of claim 12, wherein the user code can be value-less to provide a user code-less mode that does not protect Personal Identifiable Information of account with the authentication provider.

### Claim 17 (depends on 11)

The computing system of claim 11, wherein the nonce data includes policy information limiting use of the authentication or the public key to uses defined in the policy information.

### Claim 18 (depends on 11)

The computing system of claim 11, wherein the instruction further configures the computing system to:
send a message requesting authorization by the authentication provider, wherein the message includes the nonce data to be included in a nonce field of the ID token.

### Claim 19

A non-transitory computer-readable storage medium, the computer-readable storage medium comprising instructions that when executed by at least one processor, causes the at least one processor to:
receive, by a third party, a message with transaction details to conduct a transaction from an account service acting on behalf of an anonymous user account ID, wherein the third party will only conduct a transaction with a known party;
determining, by the third party, that the anonymous user account ID was authenticated by an authentication provider, wherein the authentication provider provided an ID token including a non-anonymous identifier of the account with the authentication provider and nonce data, the nonce data including at least a public key for the anonymous user account ID; and
conducting the transaction by the third party based on the determination that the anonymous user account ID was authenticated by an authentication provider.

### Claim 20 (depends on 19)

The non-transitory computer-readable storage medium of claim 19, wherein the determination that the anonymous user account ID was authenticated by an authentication provider is make by solving a zero-knowledge proof, wherein the zero-knowledge proof is a non-interactive zero-knowledge proof that proves that the account service has authenticated the user with the authentication provider without providing information about the account with the authentication provider.
