Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
INTEGRATING IDENTITY TOKENS AND PRIVACY-PRESERVING IDENTITY ATTRIBUTE ATTESTATIONS INTO INTERACTIONS
Document Type and Number:
WIPO Patent Application WO/2022/109020
Kind Code:
A1
Abstract:
A method is disclosed. The method comprises receiving, by an identity network computer, a query set including a plurality of test identity attributes. After receiving the query set, the identity network computer may retrieve derivatives of identity attributes associated with a user, and an encrypted trapdoor, then compute an obscured query set using the query set, and optionally the derivatives of identity attributes. The identity network computer may transmit the obscured query set (i) and the encrypted trapdoor to a user device associated with the user, which generates and transmits a first modified trapdoor and the obscured query set to a relying party computer, or (ii) and a second modified trapdoor to the relying party computer. The relying party computer may thereafter use the obscured query set, and the first modified trapdoor or the second modified trapdoor, to determine if the identity attributes is a member of the query set.

Inventors:
WAGNER KIM (US)
SULLIVAN BRIAN (US)
SLOAN DINAH (US)
NGO HAO (US)
WATSON GAVEN JAMES (US)
ARORA SUNPREET SINGH (US)
BADRINARAYANAN SAIKRISHNA (US)
RAGHURAMAN SRINIVASAN (US)
Application Number:
PCT/US2021/059717
Publication Date:
May 27, 2022
Filing Date:
November 17, 2021
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
VISA INT SERVICE ASS (US)
International Classes:
H04L9/32; H04L9/08; H04L9/40
Foreign References:
US20140173754A12014-06-19
US20110161176A12011-06-30
US20150113290A12015-04-23
US20140245006A12014-08-28
KR20170019308A2017-02-21
Attorney, Agent or Firm:
JEWIK, Patrick (US)
Download PDF:
Claims:
WHAT IS CLAIMED IS:

1 . A method comprising: receiving, by an identity network computer, a query set comprising a plurality of test identity attributes; retrieving, by the identity network computer, one or more derivatives of one or more identity attributes associated with a user, and an encrypted trapdoor; computing, by the identity network computer, an obscured query set using the query set, and optionally the one or more derivatives of the one or more identity attributes associated with the user; and transmitting, by the identity network computer, (i) the obscured query set and the encrypted trapdoor to a user device associated with the user, which generates and transmits a first modified trapdoor and the obscured query set to a relying party computer, or (ii) the obscured query set and a second modified trapdoor to the relying party computer, wherein the relying party computer uses the obscured query set, and the first modified trapdoor or the second modified trapdoor, to determine if the one or more the identity attributes of the one or more derivatives of the identity attributes is a member of the query set associated with the obscured query set.

2. The method of claim 1 , wherein the second modified trapdoor is computed using, by the user device, a relying party public key.

3. The method of claim 1 , wherein the obscured query set is computed using a public key encryption with equality testing scheme.

4. The method of claim 1 , wherein the first modified trapdoor is a secret key.

5. The method of claim 1 , wherein the relying party computer uses a decrypt to zero function of an El-Gamal encryption scheme to determine if the one or more the identity attributes of the one or more derivatives of the identity attributes is a member of the query set associated with the obscured query set.

6. The method of claim 1 , wherein the query set comprises a range of ages or dates.

7. The method of claim 1 , wherein the one or more derivatives of one or more identity attributes associated with the user are encrypted identity attributes associated with the user.

8. The method of claim 1 , wherein the method comprises transmitting, by the identity network computer, the (i) the obscured query set and the encrypted trapdoor to the user device associated with the user, which generates and transmits the first modified trapdoor and the obscured query set to the relying party computer.

9. The method of claim 1 , wherein the one or more derivatives of one or more identity attributes associated with the user are encrypted identity attributes received by the identity network computer from an identity provider computer.

10. The method of claim 1 , wherein after the relying party computer determines the one or more the identity attributes of the one or more derivatives of the identity attributes is a member of the query set associated with the obscured query set, a relying party operating the relying party computer provides access to a resource to the user.

11 . The method of claim 1 , wherein the encrypted trapdoor is formed by an identity provider computer using a user public key associated with the user device.

12. The method of claim 1 , wherein the one or more derivatives of one or more identity attributes associated with the user are formed using one or more identity attributes associated with the user, and a nonce.

13. The method of claim 1 , wherein the obscured query set is formed by encrypting the plurality of test identity attributes of the query set with an ephemeral public key associated with the user device and permuting the encrypted test identity attributes of the query set.

14. The method of claim 1 , wherein the user device is a mobile phone.

15. An identity network computer comprising: a processor; and a non-transitory computer readable medium comprising instructions executable by the processor to perform operations including: receiving, by the identity network computer, a query set comprising a plurality of test identity attributes; retrieving, by the identity network computer, one or more derivatives of one or more identity attributes associated with a user, and an encrypted trapdoor; computing, by the identity network computer, an obscured query set using the query set, and optionally the one or more derivatives of the one or more identity attributes associated with the user; and transmitting, by the identity network computer, (i) the obscured query set and the encrypted trapdoor to a user device associated with the user, which generates and transmits a first modified trapdoor and the obscured query set to a relying party computer, or (ii) the obscured query set and a second modified trapdoor to the relying party computer, wherein the relying party computer uses the obscured query set, and the first modified trapdoor or the second modified trapdoor, to determine if the one or more the identity attributes of the one or more derivatives of the identity attributes is a member of the query set associated with the obscured query set.

16. A method comprising: receiving, by a user device from an identity network computer, a query set comprising a plurality of test identity attributes; encrypting, by the user device, the query set to form an obscured query set; computing, by the user device, a zero-knowledge proof using the obscured query set and an encrypted identity attribute associated with a user operating the user device; and transmitting, by the user device to the identity network computer, the obscured query set and the zero-knowledge proof, wherein the identity network computer verifies the zero-knowledge proof, retrieves an encrypted identity attribute associated with the user, evaluates the obscured query set with respect to the encrypted identity attribute, and transmits a result of the evaluation to a relying party computer.

17. The method of claim 16, wherein the user device further receives a policy token from the identity network computer, wherein the policy token was generated by the relying party computer, and the method further comprises: generating, by the user device, after the user operating the user device responds to a consent request displayed on the user device, a consent token comprising a public key associated with the user device, an opening, and a signature comprising a signing key associated with the user device, the query set; and transmitting, by the user device to the identity network computer, the consent token.

18. The method of claim 17, wherein the identity network computer generates an authorized token comprising the consent token, and wherein transmitting the result of the evaluation to the relying party computer comprise transmitting the authorized token.

19. The method of claim 16, wherein the encrypted identity attribute is encrypted with a private key associated with the user device.

20. The method of claim 16, wherein plurality of test attributes in the query set comprises a plurality of dates of birth, and years of birth.

Description:
INTEGRATING IDENTITY TOKENS AND PRIVACY-PRESERVING IDENTITY ATTRIBUTE ATTESTATIONS INTO INTERACTIONS

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application is a PCT application, which claims priority to and benefit U.S. Patent Provisional Application No. 63/115,475, filed on November 18, 2020 and U.S. Patent Provisional Application No. 63/241 ,495 filed on September ?, 2021 , which are incorporated herein by reference in their entirety for all purposes.

BACKGROUND

[0002] Interactions between a relying party and a user may require the user to provide identity data to the relying party. The relying party may need to make a decision as to whether to provide access to a resource to a user based on the identity data of the user. If the identity data is in plaintext, then the plaintext identity data that is in transit or at the relying party may be susceptible to skimming or hacking. Further, even the relying party’s query as to whether the user’s identity data satisfies a condition may undesirably reveal information about the user.

[0003] Embodiments of the disclosure address this problem and other problems individually and collectively.

SUMMARY

[0004] One embodiment of the invention includes a method. The method comprises: receiving, by an identity network computer, a query set comprising a plurality of test identity attributes; retrieving, by the identity network computer, one or more derivatives of one or more identity attributes associated with a user, and an encrypted trapdoor; computing, by the identity network computer, an obscured query set using the query set, and optionally the derivatives of the one or more identity attributes; and transmitting, by the identity network computer, (i) the obscured query set and the encrypted trapdoor to a user device associated with the user, which generates and transmits a first modified trapdoor and the obscured query set to a relying party computer, or (ii) the obscured query set and a second modified trapdoor to the relying party computer, wherein the relying party computer uses the obscured query set, and the first modified trapdoor or the second modified trapdoor, to determine if the one or more the identity attributes of the one or more derivatives of the identity attributes is a member of the query set associated with the obscured query set.

[0005] Another embodiment is related to an identity network computer comprising: a processor; and a non-transitory computer readable medium comprising instructions executable by the processor to perform operations including: receiving, by an identity network computer, a query set comprising a plurality of test identity attributes; retrieving, by the identity network computer, one or more derivatives of one or more identity attributes associated with a user, and an encrypted trapdoor; computing, by the identity network computer, an obscured query set using the query set, and optionally the derivatives of the one or more identity attributes; and transmitting, by the identity network computer, (i) the obscured query set and the encrypted trapdoor to a user device associated with the user, which generates and transmits a first modified trapdoor and the obscured query set to a relying party computer, or (ii) the obscured query set and a second modified trapdoor to the relying party computer, wherein the relying party computer uses the obscured query set, and the first modified trapdoor or the second modified trapdoor, to determine if the one or more the identity attributes of the one or more derivatives of the identity attributes is a member of the query set associated with the obscured query set.

[0006] Yet another embodiment includes a method. The method comprises: receiving, by a user device from an identity network computer, a query set comprising a plurality of test identity attributes; encrypting, by the user device, the query set to form an obscured query set; computing, by the user device, a zero-knowledge proof using the obscured query set and an encrypted identity attribute associated with a user operating the user device; and transmitting, by the user device to the identity network computer, the obscured query set and the zero-knowledge proof, wherein the identity network computer verifies the zero-knowledge proof, retrieves an encrypted identity attribute associated with the user, evaluates the obscured query set with respect to the encrypted identity attribute, and transmits a result of the evaluation to a relying party computer.

[0007] A better understanding of the nature and advantages of embodiments of the invention may be gained with reference to the following detailed description and accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] FIG. 1 shows a block diagram of an identity token interaction system.

[0009] FIG. 2 shows a flow diagram of a relying party computer requesting attestations of a user from an identity network computer.

[0010] FIG. 3 shows a flow diagram of a relying party computer requesting attestations of a user from a user device.

[0011] FIG. 4 shows another flow diagram of a relying party computer requesting attestations of a user from an identity network computer.

[0012] FIG. 5 shows a block diagram of an exemplary user device.

[0013] FIG. 6 shows a block diagram of an exemplary identity network computer.

[0014] FIG. 7 shows a flow diagram of an exemplary relying party computer.

[0015] FIG. 8 shows a flow diagram of a relying party computer requesting attestations of a user from an identity network computer in an interaction.

DETAILED DESCRIPTION

[0016] Prior to discussing embodiments of the disclosure, some terms can be described in further detail.

[0017] A “user” may include an individual. In some embodiments, a user may be associated with one or more personal accounts and/or user devices. The user may also be referred to as a cardholder, account holder, or consumer in some embodiments.

[0018] A “user device” may be a device that is operated by a user. Examples of user devices may include a mobile device such as a mobile phone, a smart phone, a card, a personal digital assistant (PDA), a laptop computer, a desktop computer, a server computer, a thin-client device, a tablet PC, etc. Additionally, user devices may be any type of wearable technology device, such as a watch, earpiece, glasses, etc. The user device may include one or more processors capable of processing user input. The user device may also include one or more input sensors for receiving user input. As is known in the art, there are a variety of input sensors capable of detecting user input, such as accelerometers, cameras, microphones, etc. The user input obtained by the input sensors may be from a variety of data input types, including, but not limited to, audio data, visual data, or biometric data. The user device may comprise any electronic device that may be operated by a user, which may also provide remote communication capabilities to a network. Examples of remote communication capabilities include using a mobile phone (wireless) network, wireless data network (e.g., 3G, 4G or similar networks), Wi-Fi, Wi-Max, or any other communication medium that may provide access to a network such as the Internet or a private network.

[0019] An "application" may be a computer program that is used for a specific purpose. Examples of applications may include secure data access applications, banking applications, digital wallet applications, event ticketing applications, loyalty rewards applications, etc.

[0020] An “authorizing entity” may be an entity that authorizes a request. Examples of an authorizing entity may be an issuer, a governmental agency, a document repository, an access administrator, etc. An “issuer” may typically refer to a business entity (e.g., a bank) that maintains an account for a user. An issuer may also issue payment credentials stored on a user device, such as a cellular telephone, smart card, tablet, or laptop to the consumer.

[0021] A “resource provider” may be an entity that can provide a resource such as goods, services, information, and/or access. Examples of resource providers includes merchants, data providers, transit agencies, governmental entities, venue and dwelling operators, etc. A “merchant” may typically be an entity that engages in transactions and can sell goods or services, or provide access to goods or services.

[0022] An “access device” may be any suitable device that provides access to a remote system and/or a resource. An access device may also be used for communicating with a merchant computer, a transaction processing computer, an authentication computer, or any other computer. An access device may generally be located in any suitable location, such as at the location of a merchant. An access device may be in any suitable form. Some examples of access devices include POS or point of sale devices (e.g., POS terminals), cellular phones, PDAs, personal computers (PCs), tablet PCs, hand-held specialized readers, set-top boxes, electronic cash registers (ECRs), automated teller machines (ATMs), virtual cash registers (VCRs), kiosks, security systems, access systems, and the like. An access device may use any suitable contact or contactless mode of operation to send or receive data from user device or a mobile device. In some embodiments, where an access device may comprise a POS terminal, any suitable POS terminal may be used and may include a reader, a processor, and a computer-readable medium. A reader may include any suitable contact or contactless mode of operation. For example, exemplary card readers can include radio frequency (RF) antennas, optical scanners, bar code readers, or magnetic stripe readers to interact with a payment device and/or mobile device.

[0023] An “interaction” may include a reciprocal action or influence. An interaction can include a communication, contact, or exchange between parties, devices, and/or entities. Example interactions include a transaction between two parties and a data exchange between two devices. In some embodiments, an interaction can include a user requesting access to secure data (e.g., a secure data interaction), a secure webpage (e.g., a secure webpage interaction), a secure location (e.g., a secure location interaction), and the like. In other embodiments, an interaction can include a payment transaction in which two devices can interact to facilitate a payment.

[0024] A “trapdoor” may be a function that is easy to compute in one direction, yet difficult to compute in the opposite direction. In mathematical terms, if f is a trapdoor function, then there exists some secret information td, such that given f(x) and td, it is easy to compute x.

[0025] An “assertion” may include a secure fact about an entity. For example, an assertion may specify something about an entity, such as whether the entity has the attributes required to rent a car. For example, an assertion about the entity in this context may be “this user is over 25 years old.” An assertion may be based on and may obscure one or more identity attributes, or pieces of information about the entity. An assertion may be secured cryptographically. An assertion may be digitally signed by the entity of interest and/or the trusted party providing the secure facts.

[0026] An “attribute” can be or feature a quality or feature regarded as a characteristic or inherent part of someone or something. For example, three attributes associated with a user may be the name of the user, the birthday or the user, and an account number of the user.

[0027] A “identity token” can be a collection of data that can contain one or more attributes, and that can serve to identify or characterize a user. In some embodiments, an identity token includes a plurality of attributes. For example, an identity token for a user may comprise the name of the user, the birthday or the user, and an account number of the user. In some embodiments, an identity token may contain the same attribute multiple times. This can be the case if different identity providers provide the same attribute for the identity token. In this regard, an identity token may include a number of “sub identity tokens” (also referred to as “subtokens”). Each subtoken can be associated with a different identity provider.

[0028] A “key” or “cryptographic key” can include a piece of information that is used in a cryptographic algorithm to transform input data into another representation. A cryptographic algorithm can be an encryption algorithm that transforms original data into an alternate representation, or a decryption algorithm that transforms encrypted information back to the original data. Examples of cryptographic algorithms may include triple data encryption standard (TDES), data encryption standard (DES), advanced encryption standard (AES), etc.

[0029] A "key pair" may include a pair of linked cryptographic keys. For example, a key pair can include a public key and a corresponding private key (which may also be referred to as a secret key). In a key pair, a first key (e.g., a public key) may be used to encrypt a message, while a second key (e.g., a private key) may be used to decrypt the encrypted message. Additionally, a public key may be able to verify a digital signature created with the corresponding private key. The public key may be distributed throughout a network in order to allow for verification of messages signed using the corresponding private key. Public keys and private keys may be in any suitable format, including those based on RSA or elliptic curve cryptography (ECC). In some embodiments, a key pair may be generated using an asymmetric key pair algorithm.

[0030] A “digital signature” can include an electronic signature for a message or some data. A digital signature may be a numeric data value, an alphanumeric data value, or any other type of data including a graphical representation. A digital signature may be a unique data value generated from a message and/or data and a private key using an encrypting algorithm. In some embodiments, a validation algorithm employing a public key may be used to verify the signature.

[0031] A “zero-knowledge proof” can include a value indicating evidence establishing a fact or the truth of a statement. A zero-knowledge proof can indicate evidence of establishing a fact without disclosing the fact itself. For example, a zeroknowledge proof can include a value indicating evidence of an account balance without disclosing the account balance itself. A zero-knowledge proof can satisfy a completeness property, a soundness property, and a zero-knowledge property. As per the zero-knowledge property, if the zero-knowledge proof is true, then no verifier learns anything other than the fact that the statement is true.

[0032] A zero-knowledge proof can be an interactive zero-knowledge proof or a non-interactive zero-knowledge proof. An interactive zero-knowledge proof occurs when a prover must perform an action or series of actions to convince a specific verifier of something. A non-interactive zero-knowledge proof can occur when a provider provides a proof to anyone, where the proof can be verified by anyone that can access the information and attempts to verify the proof. Two example non-interactive zeroknowledge proofs include Zk-SNARK (zero-knowledge succinct non-interactive arguments of knowledge and Zk-STARK (zero-knowledge scalable transparent arguments of knowledge).

[0033] A “relying party” may refer to an entity that may receive identity data in some form (e.g. , obscured) and may rely on it to perform some action. For example, a relying party may be a bar that wishes to determine if a user is over twenty-one years old, before the relying party provides alcohol to the user. Other examples of relying parties may include, but are not limited to, merchants, government agencies, transit operators, educational institutions, etc.

[0034] In some described systems, a transaction between a user and a relying party (e.g., a merchant) may require the user to prove to the relying party the truth of some predicate (e.g., an inequality predicate (i.e., an expression of one or more variables defined on some specific domain) to determine the user is above 21 , a set membership prediciate to determine the user’s home address is included in the set, etc.). The predicate may concern one or more of the user’s identity attribute data (e.g., the user’s date of birth, the user’s home address or zip code, etc.). The user may compute, using a user device, a non-interactive zero knowledge (NIZK) proof over plaintext identity attribute data. The NIZK proof may then be sent to an identity network computer which verifies the NIZK proof, and subsequently informs the relying party of the result.

[0035] In the above example, the calculation of the NIZK proof is performed using plaintext identity attribute data. The plaintext identity attribute data could be at risk in a potential hacking attack, which is undesirable.

[0036] In embodiments of the invention, the user may store identity tokens with an identity network in an encrypted form. The identity network may generate non- interactive zero knowledge (NIZK) proofs for the truth of predicates (e.g., “is the user above 21 years of age?”) by using the encrypted identity tokens. The identity network would not be able to determine the user’s identity tokens, when the user’s identity tokens are used to perform transactions such as access transactions or payment transactions.

[0037] FIG. 1 shows a block diagram of an identity token interaction system. The identity token interaction system may comprise a user device 100 operated by a user (not shown), a relying party computer 102 operated by a relying party (e.g., a resource provider not shown), an identity network computer 104, and an identity provider computer 106. The identity network computer 104 may be operated by a processing network. The identity provider computer 106 may be operated by an identity provider (e.g., an authorizing entity such as the DMV, an educational institute, a library, etc.), that knows identity attribute data of the user. For example, if the identity provider is the DMV, the identity provider may know the age of the user, the government issued identification number, home address of the user, etc.

[0038] The components in the system of FIG. 1 and any of the following figures can be in operative communication with each other through any suitable communication channel or communications network. Suitable communications networks may be any one and/or the combination of the following: a direct interconnection; the Internet; a Local Area Network (LAN); a Metropolitan Area Network (MAN); an Operating Missions as Nodes on the Internet (OMNI); a secured custom connection; a Wide Area Network (WAN); a wireless network (e.g., employing protocols such as, but not limited to a Wireless Application Protocol (WAP), l-mode, and/or the like); and/or the like.

Messages between the computers, networks, and devices may be transmitted using a secure communications protocols such as, but not limited to, File Transfer Protocol (FTP); HyperText Transfer Protocol (HTTP); and Secure Hypertext Transfer Protocol (HTTPS).

[0039] The user device 100 may communicate with the identity provider computer 106 to obtain an identity token from the identity provider computer 106. The identity provider computer 106 may generate an identity token which comprises identity attribute data of the user operating the user device 100, and encrypt the identity token. For example, the identity token may comprise a list of data comprising a birthday of the user of the user device 100, a home location of the user device 100, and a type of payment device possessed by the user of the user device 100. This list of data can be in the identity token and can be encrypted. The encrypted identity token may then be transmitted to the identity network computer 104.

[0040] At a later point in time, the user device 100 may later interact with the relying party computer 102. The relying party computer 102 may verify some of the user’s identity attribute data to complete the interaction. For example, if the interaction between the relying party and the user is a transaction for restricted goods such as alchohol, the relying party may verify the user’s age is above the minimum legal drinking age. The relying party computer 102 may complete the verification by means of either an inequality predicate (e.g., user’s age > 21 ?) or a set membership predicate (e.g., is user’s age contained in the set {21 , 22, 23, 24, ...}).

[0041] To encrypt the identity token, a Public Key Encryption with Equality Tests scheme (PKEETs) may be used. PKEETs are public-key encryption schemes that also support a trapdoor that allows tests for the equality of two plaintexts that correspond to two ciphertexts, without knowing either of the two plaintexts. One example construction of a PKEET can be formed by transforming a standard El-Gamal PKE (public key encryption) (used in FIG. 3 and FIG. 4) into a PKEET, as shown in Daniel Slamanig, et. al., “Adding controllable linkability to pairing based group signatures for free,” Information Security - 17 th Internation Conference, ISC 2014, Hong Kong, China, October 12-14, 2014. Proceedings, volume 8783 of Lecture Notes in Computer Science, pp. 388-400, Springer, 2014. In an El-Gamal PKE, the Decisional Diffie- Hellman assumption is assumed to hold in a group (G^ The public parameters of the scheme may include a group description, a random generator g (an element of large order suffices) and a random group element h = g*, where the secret key (e.g., decryption key) of the scheme is x.

[0042] To turn the El-Gamal PKE sheme into a PKEET scheme, the group <G X may support a bilinear pairing e: (G x x (G 2 -» <G 3 , for some groups (G 2 and (G 3 . A trapdoor td may be designed as follows. A group element g 2 <- (G 2 may be sampled, and the trapdoor may be computed as followes td = g 2 , h 2 = g 2 ) e (G 2 . An equality test may be thereafter be performed. Consider two ciphertexts ct x and ct 2 . Let ct x = can be a random number.

(Note that in this application, an underscore symbol preceding a number or variable may indicate that it is a subscript). The test for equality of and m 2 , which requires four pairings and two multiplications, is formed by the equation:

[0043] Several other constructions with varying efficiencies and in varying models such as the random oracle model, standard model, etc., including black-box constructions, PKEETs extended to support stronger notions of security such as CCA1 , CCA2, etc., and broader settings like the identity-based setting, hierarchical setting, etc., can be found in Hyung Tae Lee, et. al., “Public key encryption with equality test in the standard model,” Information Sciences Vol. 516, pp. 89-108, and the several works referenced therein.

[0044] Prior to the flow described in FIG. 2, the user device 100 may populate an identity token by interacting with the identity network computer 104, and the identity provider computer 106. The identity network computer 104 may select groups of elements Gi, G 2 , and G3, which support a pairing operating e such that Gi x G 2 -> G3. G1 and G 2 may have generators gi and g 2 respectively. The generators gi and g 2 may be public parameters, and be used as input by all parties in all of the following algorithms and in FIG. 2. The user device 100 may generate a user key pair (ePK u , eSK u ) (e.g., a user public key, ePK u , and a user private key, eSK u ). The relying party computer 102 may also generate a relying party key pair (ePK rp , eSK rp ) (e.g., a relying party public key, ePK rp , and a relying party private key, eSK rp ). The identity provider computer may generate an identity provider signing key pair for the user (aPKi P , aSKi P ) (e.g., an identity provider public key, aPKi P , and an identity provider signing key, aSKi P ), and transmit the public key, aPKi P , to the identity network computer 104. The user key pair (ePK u , eSK u ), relying party key pair (ePK rp , eSK rp ), and the identity provider signing key pair (aPKi P , aSKi P ) may be generated using cryptographic algorithms such as Rivest-Shamir-Adleman (RSA) or Elliptic Curve Digital Signature Algorithm (ECDSA). After generating the identity provider key pair, the identity provider computer may then begin to populate an identity token.

[0045] In a first step, the identity provider computer 106 may sample a first random value x.

[0046] In a second step, after generating the first random value, x, the identity provider computer 106 may use the first random value, x, to generate an ephemeral public key, ek = g , a secret key, dk = x, and a trapdoor, td = g 2 x , for the user device 100. [0047] The method described with respect to FIG. 2 assumes that the equality check is performed while the attributes are encrypted (e.g., an encrypted stored attribute is equal to an encrypted candidate attribute). However, in some cases, the secret key, dk, may be used if the full plaintext identity attributes of the user are required. To use the secret key, dk, the method described in FIG. 2 can combined with a secure data exchange process so that the plaintext identity attributes may be securely transmitted.

[0048] In a third step, the identity provider computer 106 may then sign the trapdoor using the identity provider signing key, aSKi P , (e.g., using a signing function of the RSA/ECDSA algorithm used to generate the identity provider key pair) to form a signed trapdoor, sig_td = RSA/ECDSA.Sign(aSKid, td).

[0049] In a fourth step, after signing the trapdoor, the identity provider computer 106 may encrypt the trapdoor, td, along with the signed trapdoor, sig_td, using the user public key ePK u to form an encrypted trapdoor, KEM U = RSA.ENC(ePK u , (td, sig_td)).

[0050] In a fifth step, the identity provider computer 106 may sample a second random value, n.

[0051] In a sixth step, the identity provider computer 106 may hash one or more identity attributes of the user, m, (e.g., date of birth of the user, home address of the user, account number of the user, etc.) using the second random value, n, to form an encoded attribute, h = hash(m||n). The second random value, n, is used to hash the identity attributes, m, so that the relying party computer 102 cannot exploit potential homomorphic properties of the encryption scheme used to learn information about the plaintext identity attributes.

[0052] In a seventh step, the identity provider computer 106 may sample a third random value, r.

[0053] In an eighth step, the identity provider computer 106 may encrypt the identity attribute using the ephemeral public key, ek, and the third random value, r, to form an encrypted identity attribute, c* = (g , ek r * g ). The encrypted identity attribute, c*, may be an example of one or more derivatives of one or more identity attributes associated with a user, m.

[0054] In a ninth step, after forming the encrypted identity attribute, c*, the identity provider computer 106 may sign the encrypted identity attribute, c*, and the second random number, n, using the identity provider signing key, aSKi P , to form a signed identity attribute, sig_c = RSA/ECDSA.SIGN(aSKi P , (n, c*)).

[0055] The identity provider computer 106 may then transmit the ephemeral public key, ek, the second random number, n, the encrypted identity attribute, c*, the signed identity attribute, sig_c, and the encrypted trapdoor, KEM U , to the identity network computer 104. After the identity network computer 104 receives and stores the above data in memory, the identity network computer 104 may perform attestations with respect to the user’s identity attributes, as described below.

[0056] FIG. 2 shows a flow diagram of a relying party computer 102 requesting attestations of a user from an identity network computer 104. The relying party may be a resource provider which operates the relying party computer 102. The relying party computer 102 may interact with the user device 100 in a transaction, such as an in- person transaction performed between the user device 100 and an access device (e.g., a POS terminal) operated by the resource provider, and receive a user identifier (e.g., a username, a primary account number (PAN), etc.) from the user device 100. The user identifier may uniquely identify an account of the user at the identity network computer 104 which stores encrypted identity tokens of the user (e.g., many encrypted identity attributes, c*). The transaction may require that the user verify some part of their identity to the relying party. For example, a transaction involving alcohol may require the user to verify they are above the minimum legal drinking age.

[0057] In step S200, the relying party computer 102 may transmit an identity attribute request comprising a query set, W, and the relying party public key, ePK rp , to the identity network computer 104 to request an identity attribute of the user operating the user device 100. The query set, W, may comprise a plurality of test identity attributes, Wj, that are used to perform a comparison (e.g., a set membership prediciate to determine if the identity attribute of the user is included in the set of test identity attributes of the query set, W = {wi , W2, W3, ... , w}) of the identity attribute to the elements of the query set. For example, the query set W may be a list of ages above 21 and be used to learn an attestation that the user operating the user device 100 is above 21 years old.

[0058] In step S202, after receiving the identity attribute request from the relying party computer 102, the identity network computer 104 may retrieve the encrypted trapdoor, KEM U , and the identity provider public key, aPKi P , from memory, and transmit the encrypted trapdoor, KEM U , the identity provider public key, aPKi P , and the relying party public key, ePK rp to the user device 100.

[0059] In step S204, after receiving the encrypted trapdoor, KEM U , the identity provider verification key, aPKi P , and the relying party public key, ePK rp , the user device 100 may decrypt the encrypted trapdoor, KEM U , using the user secret key, eSK u , (e.g., decrypt the encrypted trapdoor, KEM U , using a decryption function RSA.DEC(eSK u , KEMu) to retrieve the trapdoor, td, and signed trapdoor, sig_td,). The user device 100 may then verify the signature on the trapdoor using the identity provider verification key, aPKi P . After successfully verifying the signature on the trapdoor, td, the user device 100 may then encrypt the trapdoor, td, and the signed trapdoor, sig_td, using the relying party public key, ePK rp , to form a second modified trapdoor, KEM rp = RSA.Enc(ePK rp , (td, sig_td).

[0060] In step S206, after forming the second modified trapdoor, KEM rp , the user device 100 may then transmit the second modified trapdoor, KEM rp , to the identity network computer 104.

[0061] In step S208, after receiving the second modified trapdoor, KEM rp , the identity network computer 104 may retrieve the encrypted identity attribute, c*, the ephemeral public key, ek, and the second random number, n, from memory. The identity network computer 104 may then verify the signed identity attribute, sig_c, by using the identity provider public key, aPKi P , and the encrypted identity attribute, c*. The identity network computer 104 may then loop through the query set, W. For each element, Wj, in the query set, W, the identity network computer 104 may encode the element, Wj, using the second random number, n, (e.g., the random value that was used to encode the identity attribute) to form an encoded element, hi = hash(Wi||n). The identity network computer 104 may then sample a random value, n (or r_i) The random value n may be used to encrypt the element, Wj, to form an encrypted element, q, (e.g., similarly to the encrypted identity attribute, c*, the encrypted element, q, may be computed as ci = (gi r -‘, ek rJ * g -')). The identity network computer 104 may perform a permutation of the encrypted elements, q, to reorder them. After permuting the encrypted elements, q, the identity network computer 104 may form an obscured query set, C using the encrypted elements, q (e.g., C = {C15, C123, Ci , C2, C31, ...}).

[0062] In step S208, after forming the obscured query set, C, the identity network computer 104 may then transmit the obscured query set, C, the encrypted identity attribute, c*, the signed identity attribute, sig_c, the second modified trapdoor, KEM rp and the identity provider verification key, aPKi P , to the relying party computer 102.

[0063] In step S210, after receiving the above data, the relying party computer 102 may decrypt the relying party encrypted trapdoor, KEM rp , using the relying party private key, eSK rp , to retrieve the trapdoor, td, and the signed trapdoor, sig_td. The relying party computer 102 may then verify the signature on the signed trapdoor, sig_td, using the identity provider public key, aPKi P , the trapdoor, td. The relying party computer 102 may also verify the signature on the signed identity attribute, sig_c, using the identity provider public key, aPKi P , and the encrypted identity attribute, c*. The relying party computer 102 may compare the encrypted identity attribute c* = (Ti, Ui) to each encrypted element q = (T2, U2) in the encrypted domain. For example, if c* = (Ti , Ui) = (g , ek r * g ) and q = (T2, U2) = (gi r -', ek r * g -'), the equality check may be performed using the equation e U 1 , g 2 /e(T 1 , td) = e(U 2 , g 2 )/ e(T 2 , td). The relying party computer 102 may stop when the encrypted identity attribute, c*, is equal to an encrypted element, q, or when the encrypted identity attribute, c*, has been compared (and confirmed to not be equal to one of) to every encrypted element, q, in the obscured query set, C. The relying party computer 102 may thus learn an attestation of the identity attribute (e.g., true if the identity attribute is equal to some element in the query set W, or false if the identity attribute is not equal to any element in the query set W).

[0064] An alternative approach uses an El-Gamal encryption scheme. The El- Gamal encryption scheme may include a plurality of functions. The plurality of functions may include an encryption function (e.g., a function EI.Enc(msg, ek; r) that samples a random number r and outputs (g r , ek r * g ms9 )), a decrypt to zero function (e.g., a function EI.DecZero(ct = (a,b), dk) that checks if the input decrypts to zero by outputting 1 if g° = ^), an add function (e.g., a function EI.Add(cti, ct2, ek) that encrypts the sum of ciphertexts encrypted by ch and ct2), a subtract function (e.g., a function EI.Subtract(cti, ct2, ek) that outputs a ciphertext that encrypts the difference of the plaintexts encrypted by ch and ct2), a constant multiple function (e.g., a function EI.Subtract(ct, const, ek) that multiplies the product of the constant const with the plaintext encrypted by ct), and a re-randomize function (e.g., a function EI.ReRandomize(ct, ek) that encrypts the same plaintext as ct but with fresh randomness). [0065] Prior to the flows described in FIG. 3 and FIG. 4, the user device 100 may populate identity tokens by interacting with the identity network computer 104, and the identity provider computer 106. The identity network computer 104 may generate an identity network signing key pair (aPK v , aSK v ) (e.g., an identity network public key, aPK v , and an identity network signing key, aSK v ). The identity network computer 104 may select group, G, and pick a generator, g. The group, G, and the generated, g, may be public parameters, and be used as input by all parties in all of the following algorithms and those described in FIGs. 3 and 4. The user device 100 may generate a user key pair (ePK u , eSK u ) (e.g., a user public key, ePK u , and a user private key, eSK u ). The relying party computer 102 may also generate a relying party key pair (ePK rp , eSKrp) (e.g., a relying party public key, ePK rp , and a relying party private key, eSK rp ). The identity provider computer 106 may generate an identity provider signing key pair for the user (aPKi P , aSKi P ) (e.g., an identity provider public key, aPKi P , and an identity provider signing key, aSKi P ), and transmit the public key, aPKi P , to the identity network computer 104. The identity network key pair (aPK v , aSK v ), user key pair (ePK u , eSK u ), relying party key pair (ePK rp , eSK rp ), and the identity provider signing key pair (aPKi P , aSKi P ) may be generated using cryptographic algorithms such as Rivest-Shamir- Adleman (RSA) or Elliptic Curve Digital Signature Algorithm (ECDSA). After generating the identity provider key pair, the identity provider computer 106 may then begin to populate an identity token.

[0066] In a first step, the identity provider computer 106 may sample a random value x.

[0067] In a second step, after generating the first random value x, the identity provider computer 106 may use the random value x to generate an ephemeral public key, ek = gi x , and a secret key, dk = x for the user device 100. The secret key, dk, may be an example of a first modified trapdoor.

[0068] In a third step, after generating the secret key, dk, the identity provider computer 106 may sign the first modified trapdoor, dk, to form a signed modified secret key, sig_dk = RSA/ECDSA.SIGN(aSKi P ,dk)) or a signed modified trapdoor.

[0069] In a fourth step, after signing the first modified trapdoor, the identity provider computer 106 may encrypt the first modified trapdoor, dk, along with the signed modified trapdoor, sig_dk, to form an encrypted trapdoor, KEM U = RSA.ENC(ePK u , (dk, sig_dk)). [0070] In a fifth step, after forming the encrypted trapdoor, dk, the identity provider computer 106 may hash one or more identity attributes of the user, m, (e.g., date of birth of the user, home address of the user, account number of the user, etc.) to form a hashed identity attribute, h = hash(m). The hash may allow the encoding of large messages (e.g., many or large identity attributes). The hashed identity attribute, h, may be an example of one or more derivatives of one or more identity attributes associated with a user, m.

[0071] In a sixth step, after hashing the identity attributes of the user, the identity provider computer 106 may encrypt the hashed identity attribute, h, to form an encrypted identity attribute, c* = EI.Enc(h, ek). The encrypted identity attribute, c*, may be an example of one or more derivatives of one or more identity attributes associated with a user, m.

[0072] In a seventh step, after forming the encrypted identity attribute, the identity provider computer 106 may sign the identity attribute using the identity provider signing key, aSKip, to form a signed identity attribute, sig_c = RSA/ECDSA.Sign(aSKi P , c*).

[0073] The identity provider computer 106 may then transmit the ephemeral public key ek, the encrypted identity attribute c*, the signed identity attribute, sig_c, and the encrypted trapdoor, KEM U , to the identity network computer 104. After the identity network computer 104 receives and stores the above data in memory, the identity network computer 104 may perform attestations of the user’s identity attributes as described below.

[0074] FIG. 3 shows a flow diagram of a relying party computer 102 requesting attestations of a user from a user device 100. The relying party may be a resource provider which operates the relying party computer 102. The relying party computer 102 may interact with the user device 100 in a transaction, such as an eCommerce transaction, performed between the user device 100 and the relying party computer 102, and may receive a user identifier from the user device. The user identifier may uniquely identify an account of the user at the identity network computer 104 which stores encrypted identity tokens of the user (e.g., many encrypted identity attributes, c*). The transaction may require that the user verifies some part of their identity to the relying party (e.g., a transaction may involve applying a discount to users in a set of zip codes). [0075] In step S300, the relying party computer 102 may transmit an identity attribute request comprising a query set, W, the relying party public key, ePK rp , and a challenge, Chall, to the user device 100. The query set, W, may comprise a plurality of test identity attributes, Wj, that are used to perform a comparison (e.g., a set membership prediciate to determine if the identity attribute of the user is included in the set of test identity attributes of the query set, W = {wi , W2, W3, ... , w}) of the identity attribute to the elements of the query set. For example, the query set, W, may be a plurality of zip codes in which a discount applies, and be used to learn an attestation that the user operating the user device 100 is a resident of the list of zip codes.

[0076] In step S302, after receiving the above data, the user device 100 may forward the query set, W, the relying party public key, ePK rp , and the challenge, Chall, to the identity network computer 104.

[0077] In step S304, after receiving the query set, the relying party public key, ePK rp , and the challenge, Chall, the identity network computer 104 may retrieve the ephemeral public key, ek, the encrypted identity attribute, c*, and the signed identity attribute, sig_c, from memory. The identity network computer 104 may then verify the signed identity attribute, sig_c, by using the identity provider public key aPKi P and the encrypted identity attribute, c*. The identity network computer 104 may then loop through the query set, W. For each element, Wj, the identity network computer 104 may hash the element, Wj, using the hash that was used to hash the identity attribute (e.g., h = hash(m)) to form a hashed element, hi = hash(Wi). The identity network computer 104 may then sample a random value, n. The identity network computer 104 may thereafter compute an encrypted element, q, using the El-Gamal encryption scheme. For example, the encrypted elements, q, may be computed as q = EI.Enc(r*(h - hi), ek) using the encryption function, the subtract function, and the constant multiplication function of the El-Gamal scheme as preliminaries.

[0078] The identity network computer 104 may then perform a permutation of the encrypted elements, q, to reorder. After permuting the encrypted elements, q, the identity network computer 104 may form an obscured query set, CT rp = HybRSA.Enc(ePK rp , {C12, C2, C73, ... , q}) using the plurality of encrypted elements, q, and the relying party public key, ePK rp , under RSA encryption along with a symmetric encryption scheme (e.g., Advanced Encryption Standard-Galois/Counter Mode (AES- GCM), which may be more efficient when encrypting a large amount of data). [0079] The identity network computer 104 may then sign the obscured query set, CT rp , and the challenge, Chall, using the identity network signing key, aSK v , to form a signed obscured query set, sig_CT = RSA/ECDSA.Sign(aSK v , (CT rp , Chall)).

[0080] In step S306, after forming the signed obscured query set, the identity network computer 104 may transmit the encrypted trapdoor, KEM U , the obscured query set, CTrp, the signed obscured query set, sig_CT, and the identity provider public key, aPKip, to the user device 100.

[0081] In step S308, after receiving the above data, the user device 100 may decrypt the encrypted trapdoor, KEM U , using the user secret key, eSK u , to retrieve the first modified trapdoor (which is a secret key), dk, and the signed modified trapdoor (which can be a signed secret key), sig_dk. The user device 100 may then verify the signature on the signed modified trapdoor (which can be the signed secret key), sig_dk, using the identity provider public key, aPK ip , and the first modified trapdoor, dk (which is the secret key).

[0082] In step S310, after verifying the signature on the signed modified trapdoor, sig_dk, the user device 100 may transmit the first modified trapdoor, dk, the signed modified trapdoor, sig_dk, the obscured query set CT rp , the signed obscured query set, sig_CT, and the identity provider verification key aPKip, to the relying party computer 102.

[0083] In step S312, after receiving the above data, the relying party computer 102 may decrypt the obscured query set, CT rp , using the relying party secret key, eSK rp , to retrieve the encrypted elements {ci, C2, C3, ... , q}. As the encrypted elements have been permuted by the identity network computer 104 in step S304, the relying party computer 102 may not know the order of the encrypted elements (e.g., the relying party computer 102 retrieves i total encrypted elements q not necessarily in order). The relying party computer 102 may then verify the signature on the signed modified trapdoor, sig_dk, using the identity provider public key, aPKip, and the first modified trapdoor, dk. The relying party computer 102 may also verify the signature on the signed obscured query set, sig_CT, using the identity network public key, aPK v , the obscured query set, CT rp , and the challenge, Chall. After successfully verifying the signatures, the relying party computer 102 may use the decrypt to zero function of the El-Gamal encryption scheme to check if the encrypted query elements q decrypt to zero. If any one of the encrypted query elements decrypt to zero, then the relying party computer 102 learns that the identity attribute of the user operating the user device 100 is a member of the query set, W (e.g., the user is a resident of at least one of the plurality of zip codes).

[0084] FIG. 4 shows another flow diagram of a relying party computer requesting attestations of a user from an identity network computer. The flow described by FIG. 4 may use the El-Gamal encryption scheme that was used in the method associated with FIG. 3. However, similar to FIG. 2, the flow of FIG. 4 may occur when the relying party computer 102 interacts with the user device 100 in an in-person transaction performed between the user device 100 and an access device (e.g., a POS terminal) operated by the resource provider.

[0085] In step S400, the relying party computer 102 may transmit an identity attribute request comprising a query set, W, the relying party public key, ePK rp , and a challenge, Chall, to the user device 100. The query set, W, may comprise a plurality of test identity attributes, Wj, that are used to perform a comparison (e.g., a set membership prediciate to determine if the identity attribute of the user is included in the set of test identity attributes of the query set, W = {wi , W2, W3, ... , w}) of the identity attribute to the elements of the query set. For example, the query set, W, may be a plurality of zip codes in which a discount applies, and be used to learn an attestation that the user operating the user device 100 is a resident of the list of zip codes.

[0086] In step S402, after receiving the query set, the relying party public key, and the challenge from the relying party computer 104, the identity network computer 104 may retrieve the ephemeral public key, ek, the encrypted identity attribute, c*, and the signed identity attribute, sig_c, from memory. The identity network computer 104 may then verify the signed identity attribute, sig_c, by using the identity provider public key aPKip and the encrypted identity attribute, c*. The identity network computer 104 may then loop through the query set, W. For each element, Wj, the identity network computer 104 may hash the element, Wj, using the hash that was used to hash the identity attribute (e.g., h = hash(m)) to form a hashed element, hi = hash(Wi). The identity network computer 104 may then sample a random value, n. The identity network computer 104 may thereafter compute an encrypted element, q, using the El- Gamal encryption scheme. For example, the encrypted elements, q, may be computed as q = EI.Enc(r*(h - hi), ek) using the encryption function, the subtract function, and the constant multiplication function of the El-Gamal scheme as preliminaries. [0087] The identity network computer 104 may perform a permutation of the encrypted elements, q, to reorder the encrypted elements. After permuting the encrypted elements, q, the identity network computer 104 may form an obscured query set, CT rp = HybRSA.Enc(ePK rp , {ci, C2, C3, ... , q}) using the plurality of encrypted elements, q, and the relying party public key, ePK rp , under RSA encryption along with a symmetric encryption scheme (e.g., Advanced Encryption Standard-Galois/Counter Mode (AES-GCM)). The identity network computer 104 may then sign the obscured query set, CT rp , and the challenge, Chall, using the identity network signing key, aSK v , to form a signed obscured query set, sig_CT = RSA/ECDSA.Sign(aSK v , (CT rp , Chall)).

[0088] In step S404, after forming the signed obscured query set, the identity network computer 104 may transmit the encrypted trapdoor, KEM U , the identity provider public key, aPKi P , and the relying party public key ePK rp , to the user device 100.

[0089] In step S406, after receiving the above data from the identity network computer 104, the user device 100 may decrypt the encrypted trapdoor, KEM U , using the user secret key, eSK u , to retrieve the first modified trapdoor (e.g., a secret key), dk, and the signed modified trapdoor (e.g., a signed secret key), sig_dk. The user device 100 may then verify the signature on the signed modified trapdoor, sig_dk, using the identity provider public key, aPKi P , and the first modified trapdoor, dk. The user device 100 may additionally encrypt the first modified trapdoor, dk, and the signed modified trapdoor, sig_dk, using the relying party public key, ePK rp , to form a second modified trapdoor, KEM rp = RSA.Enc(ePK rp , (dk, sigdk)).

[0090] In step S408, after forming the second modified trapdoor, KEM rp , the user device 100 may transmit the second modified trapdoor, KEM rp , to the identity network computer 104.

[0091] In step S410, after receiving the second modified trapdoor from the user device, the identity network computer 104 may transmit the second modified trapdoor, KEM rp , the obscured query set CT rp , the signed obscured query set, sig_CT, and the identity provider verification key aPKi P , to the relying party computer 102.

[0092] In step S412, after receiving the above data from the identity network computer 104, the relying party computer 102 may decrypt the second modified trapdoor, KEM rp , using the relying party secret key eSK rp to retrieve the first modified trapdoor, dk, and the signed modified trapdoor, sig_dk. The relying party computer 102 may then decrypt the obscured query set, CT rp , using the relying party secret key, eSKrp, to retrieve the encrypted elements {ci, C2, C3, c}. The relying party computer

102 may then verify the signature on the signed modified trapdoor, sig_dk, using the identity provider public key, aPKi P , and the first modified trapdoor, dk. The relying party computer 102 may also verify the signature on the signed obscured query set, sig_CT, using the identity network public key, aPK v , the obscured query set, CT rp , and the challenge, Chall. After successfully verifying the signatures, the relying party computer 102 may use the decrypt to zero function of the El-Gamal encryption scheme to check if the encrypted query elements q decrypt to zero. If any one of the encrypted query elements decrypt to zero, then the relying party computer 102 learns that the identity attribute of the user operating the user device 100 is a member of the query set, W (e.g., the user is a resident of at least one of the plurality of zip codes).

[0093] Although set membership predicates were described, the methods can be applied to inequality checks. An age inequality check will require to verify, for example, that a user is over the age of 21 . During a transaction the question may be therefore translated into a query-set based on the current day’s date. Naively, one could take the current date, say 2021-01-01 and subtract 21 years, to get the base date 2000-01-01. The query set could then be every day before this for 100 years, i.e. {1900-01-01 , ... , 2000-01-01}. This, however, would create a set of size -36500, which requires up to the same number of equality checks. To improve efficiency, an attribute may be provisioned as both an encryption of the user’s full date-of-birth and an encryption of their year-of-birth. Then, the query set is again based on the base date (2000-01-01 ), the set may be each of the 100 years prior to 2000, and all of the days up to the base date in the current year. For our example this would be: {1900, ... , 1999, ... , 2000-01 - 01}. This set will be of maximum size 100+365=465. It will, however, require two equality checks for each element of the encrypted set, one against the user’s encrypted year-of-birth, and another against the user’s date-of-birth. The maximum number of equality checks is therefore reduced to 465 * 2 = 930. A further efficiency may be made by performing the opposite equality check (e.g., check if user is less than 21 rather than greater than). The query set may then be of max size 20 + 365 = 385 with the maximum number of checks being 385 * 2 = 770.

[0094] FIG. 5 shows a block diagram of an exemplary user device 500. The user device 500 may be operated by a user. The user device 100 may comprise a processor 502. The processor 502 may be coupled to a memory 504, a network interface 506, and a computer readable medium 508. The computer readable medium 508 may comprise any suitable number and types of software modules.

[0095] The memory 504 may be used to store data and code. The memory 504 may be coupled to the processor 502 internally or externally (e.g., via cloud based data storage), and may comprise any combination of volatile and/or non-volatile memory such as RAM, DRAM, ROM, flash, or any other suitable memory device

[0096] The network interface 506 may include an interface that can allow the user device 500 to communicate with external computers and/or devices. The network interface 506 may enable the user device 500 to communicate data to and from another device such as access devices, relying party computers, identity network computers, identity provider computers, etc. Some examples of the network interface 506 may include a modem, a physical network interface (such as an Ethernet card or other Network Interface Card (NIC)), a virtual network interface, a communications port, a Personal Computer Memory Card International Association (PCMCIA) slot and card, or the like. The wireless protocols enabled by the network interface 506 may include WiFi. Data transferred via the network interface 506 may be in the form of signals which may be electrical, electromagnetic, optical, or any other signal capable of being received by the external communications interface (collectively referred to as “electronic signals” or “electronic messages”). These electronic messages that may comprise data or instructions may be provided between the network interface 506 and other devices via a communications path or channel. As noted above, any suitable communication path or channel may be used such as, for instance, a wire or cable, fiber optics, a telephone line, a cellular link, a radio frequency (RF) link, a WAN or LAN network, the Internet, or any other suitable medium.

[0097] The computer readable medium 508 may comprise a number of software modules including, but not limited to, an encryption module 508A, a digital wallet application 408B, and a communication module 508C.

[0098] The computer readable medium 408 may comprise code, executable by the processor 402, for a method comprising: receiving, by a user device from an identity network computer, a query set comprising a plurality of test identity attributes; encrypting, by the user device, the query set to form an obscured query set; computing, by the user device, a zero-knowledge proof using the obscured query set and an encrypted identity attribute associated with a user operating the user device; and transmitting, by the user device to the identity network computer, the obscured query set and the zero-knowledge proof, wherein the identity network computer verifies the zero-knowledge proof, retrieves an encrypted identity attribute associated with the user, evaluates the obscured query set with respect to the encrypted identity attribute, and transmits a result of the evaluation to a relying party computer.

[0099] The encryption module 508A may comprise code that causes the processor 502 to perform encryptions of data. The encryption module 508A may enable the user device 500 to generate public and private key pairs, and signing key pairs. The encryption module 508A may perform encryptions using several encryption algorithms, such as RSA and ECDSA. For example, the encryption module 508A may generate a user public key and a user private key, and may additionally encrypt data, such as query sets, and obscure them using encryption keys. The encryption module 508A may additionally perform encryptions using PKEET schemes, or El-Gamal encryption schemes.

[0100] The digital wallet application 508B may comprise code that causes the processor 502 to perform interactions. For example, the digital wallet application 508B may be a banking application which allows the user device 500 to communicate with relying parties. The digital wallet application 508B may allow the user device 500 to perform interactions with relying party computers, or access devices associated with relying party computers. For example, prior to the flow of FIGs. 2 - 4, the user device 100 may communicate with the relying party computer 102 to begin the interaction which requires the predicate of one or more identity attributes.

[0101] The communication module 508C, in conjunction with the processor 502, can generate messages, forward messages, reformat messages, and/or otherwise communicate with other entities. For example, communication module 508C can be used to facilitate communications between the user device 500 and other computers.

[0102] FIG. 6 shows a block diagram of an exemplary identity network computer 600. The identity network computer 600 may be operated by a processing network such as a payment processing network, or an identity network. The identity network computer 600 may comprise a processor 602. The processor 602 may be coupled to a memory 604, a network interface 606, and a computer readable medium 608. The computer readable medium 608 may comprise any suitable number and types of software modules. [0103] The memory 604 and the network interface 606 may have the same or different features to the previously described memory 504 and network interface 506.

[0104] The computer readable medium 608 may comprise code, executable by the processor 602, for a method comprising: receiving, by an identity network computer, a query set comprising a plurality of test identity attributes; retrieving, by the identity network computer, one or more derivatives of one or more identity attributes associated with a user, and an encrypted trapdoor; computing, by the identity network computer, an obscured query set using the query set, and optionally the derivatives of the one or more identity attributes ; and transmitting, by the identity network computer, (i) the obscured query set and the encrypted trapdoor to a user device associated with the user, which generates and transmits a first modified trapdoor and the obscured query set to a relying party computer, or (ii) the obscured query set and a second modified trapdoor to the relying party computer, wherein the relying party computer uses the obscured query set, and the first modified trapdoor or the second modified trapdoor, to determine if the one or more the identity attributes of the one or more derivatives of the identity attributes is a member of the query set associated with the obscured query set.

[0105] The computer readable medium 608 may comprise a number of software modules including, but not limited to, an encryption module 608A, an identity management module 608B, and a communication module 608C.

[0106] The encryption module 608A may have the same of different features to the previously described encryption module 508A. The encryption module 608A may be used by the identity network computer 600 to perform encryptions necessary to complete set membership predicates and/or inequality predicates.

[0107] The identity management module 608B may comprise code, executable by the processor 600, for managing identity tokens. For example, identity tokens may comprise identity attributes, and may be managed by the identity management module 608B. The identity management module 608B may hold accounts for users which are identified by user identifiers. The identity management module 608B may receive an identity attribute request, and retrieve an encrypted identity attribute associated with the identity attribute request (e.g., a user and a query set).

[0108] The communication module 608C may have the same of different features to the previously described communication module 508C. [0109] FIG. 7 shows a flow diagram of an exemplary relying party computer 700. The relying party computer 700 may be operated by a resource provider such as a merchant. The relying party computer 700 may comprise a processor 702. The processor 702 may be coupled to a memory 704, a network interface 706, and a computer readable medium 708. The computer readable medium 708 may comprise any suitable number and types of software modules.

[0110] The memory 704 and the network interface 706 may have the same or different features to the previously described memory 504 and network interface 506.

[0111] The computer readable medium 708 may comprise a number of software modules including, but not limited to, a computation module 708A, and a communication module 708C.

[0112] The computation module 708A may comprise code, executable by the processor 700, to perform computations. For example, the computation module 708A may enable the relying party computer 700 to compute obscured query sets, or to determine if the one or more the identity attributes of the one or more derivatives of the identity attributes is a member of the query set associated with the obscured query set.

[0113] The communication module 708B may have the same of different features to the previously described communication module 508C.

[0114] FIG. 8 shows a flow diagram of a relying party computer requesting attestations of a user from an identity network computer in an interaction. The flow of FIG. 8 may be an example of a flow similar to that of FIGs. 2 - 4, where the interaction between a user and the relying party occurs in-person. A trusted identity network computer 104 may verify zero-knowledge proofs that were generated by a user device 100 operated by the user. The zero-knowledge proofs may be similar to the set membership predicates described in the descriptions of FIGs. 2 - 4.

[0115] In step S800, the user may operate the user device 100 initiate an interaction with the relying party computer 102. For example, the user may tap the user device 100 (e.g., a mobile phone) to an access device (e.g., a POS terminal) operated by the relying party. A digital wallet application on the user device may facilitate communications between the user device and the access device. The user device 100 may transmit a user identifier, which indicates that the user has an identity account at the identity network computer 104. [0116] In step S802, after receiving the user identifier from the user device 100, the relying party computer 102 may determine that an identity attestation is required to proceed with the interaction. For example, in a transaction, based on the goods and/or services being purchased by the user, the relying party computer 102 may determine that the user must provide identity attributes to proceed with the transaction. The relying party computer 102 may transmit an identity attribute request to the identity network computer 104 comprising the user identifier and a query set, W. The query set W may comprise a plurality of test identity attributes, Wi. For example, the query set W may be a list of ages above 21 , and the test identity attributes may be all of the ages above 21 . The identity attribute request may additionally comprise a consent request. The consent request may comprise a level of access (e.g., request for plaintext identity attributes, request for attestations of identity attributes, request for masked plaintext data, etc.), a time of access (e.g., a time period in which the relying party can access the user’s identity attributes), etc. In some embodiments, a policy token may be transmitted to the user device 100. The policy token may comprise a signature on the query set, W, and may be used to verify the predicate request associated with the query set, W, (e.g., is the user above 21?) can be completed by the relying party computer 102. In some embodiments, the policy token may be transmitted by the identity network computer 104, or an associated computer, to the relying party computer 102 before the flow of FIG. 8 (e.g., for standard identity attribute requests such as minimum legal drinking age confirmations, the relying party computer 102 may request a policy token).

[0117] In step S804, after receiving the identity attribute request from the relying party computer 102, the identity network computer 104 may identify the identity account associated with the user based on the user identifier.

[0118] In step S806, the identity network computer 104 may forward the status of the user’s associated identity account (e.g., user is enrolled, user is enrolled under digital wallet application, user is not enrolled, etc.).

[0119] In step S808, after identifying the user’s associated identity account, the identity network computer 104, may transmit the query set, W, and optionally the consent request to the user device 100.

[0120] In step S810, after receiving the query set W and optionally the consent request from the identity network computer 104, the user may respond to the consent request using the user device 100. To respond to the consent request, the user may be required to authenticate themselves. For example, the user device 100 may prompt (e.g., through a webpage, email, SMS, display on the digital wallet application, etc.) the user to provide a biometric, a password, or other secret known by the user to authenticate themselves. The user device 100 may generate a consent token comprising a user public key, ePK u , an opening, op, and a signature, sig. The opening may be used for a verification that the public key the user device 100 sent was the user public key, ePK u . The opening, op, can contain an ephemeral public key associated with the user, which may be used to open and verify commitments. The signature may be a signature on the query set, W, signed using a user signing key aSK u . The user device 100 may additionally generate a commitment to the signature, sig. The commitment may commit the user device 100 to use the query set, W, and the user public key ePK u . The opening, op, may additionally be used to open and verify the commitment.

[0121] After generating the consent token and the commitment, the user device 100 may encrypt the query set, W. The query set, W, may be encrypted in a similar manner to the process described in the PKEET approach of S208 of FIG. 2, or in the El- Gamal approaches of S304 of FIG. 3 and S402 of FIG. 4, to form an obscured query set. The obscured query set may be used to generate a zero-knowledge proof. The zero-knowledge proof may be a proof that: the user device committed to using the user public key, ePK u , as witnessed by the opening, op, verifies the signature on the query set, W, using a user verification key, aPK u , and that the obscured query set is an encryption of the query set, W.

[0122] In step S812, after generating the zero-knowledge proof, the user device 100 may transmit the consent token, the obscured query set, and the zero-knowledge proof to the identity network computer 104.

[0123] In step S814, after receiving the consent token, obscured query set, and the zero-knowledge proof from the user device 100, the identity network computer 104 may retrieve an encrypted identity attribute associated with both the user and the query set (e.g., if the query set is a list of ages above 21 , the encrypted identity attribute associated with both the user and the query set may be the user’s date of birth). The encrypted identity attribute may be encrypted with a private key associated with the user device (e.g., by an identity provider computer, using an ephemeral public key, as described above, in the methods associated with FIG. 2 and FIG. 3). The identity network computer 104 may then verify the zero-knowledge proof. For example, the identity network computer 104 may verify the commitments and signatures, and encrypt the query set, W, using the user public key, ePK u , and verify that the resultant obscured query set is equal to the obscured query set received. After verifying the zeroknowledge proof, the identity network computer 104 may perform an evaluation (e.g., a set membership predicate evaluation as described in steps S212, S312, and S412 of their respective FIGs.) using the obscured query set and the encrypted identity attribute associated with both the user and the query set. The evaluation may be a binary result, such as TRUE or FALSE (e.g., identity attribute associated with the user is/is not a member of the query set). After performing the evaluation, the identity network computer 104 may generate an authorized token comprising the consent token. The authorized token may be valid for the time period consented by the user, and may be used to access the evaluation.

[0124] In step S816, after performing the evaluation and generating the authorized token, the identity network computer 104 may transmit the authorized token and the evaluation to the relying party computer 102.

[0125] In step S818, after receiving the evaluation from the identity network computer 104, the relying party computer 102 may complete the transaction with the user. For example, the evaluation may be that the user is above 21 , and so is able to purchase alcohol, so the relying party computer 102 may complete the transaction. The authorized token may be used to verify the identity attribute of the user in a later identity attribute request. For a subsequent identity attribute request, the relying party computer 102 may compute an obscured query set, and a zero-knowledge proof in place of the user device 100.

[0126] In step S820, after generating the obscured query set, the relying party computer 102 may transmit the obscured query set and the authorized token to the identity network computer 104.

[0127] In step S822, after receiving the obscured query set and authorized token from the relying party computer 102, the identity network computer 104 may verify the zero-knowledge proof, and retrieve or re-compute the evaluation, before transmitting the evaluation back to the relying party computer 102.

[0128] Embodiments of the invention provide a number of advantages. Embodiments of the invention can allow users to interact with relying parties and perform interactions without revealing plaintext identity attributes associated with themselves. Embodiments protect the user’s identity attributes from appearing in plaintext form to any party, such as the relying party, or the identity network, in an interaction. Further, embodiments allow the use of the identity attribute, in encrypted form, to be used to evaluate predicates, which may be necessary to complete interactions. Additionally, embodiments of the invention are convenient to the user, as users are not required to handle their identity attributes.

[0129] Any of the software components or functions described in this application may be implemented as software code to be executed by a processor using any suitable computer language such as, for example, Java, C, C++, C#, Objective-C, Swift, or scripting language such as Perl or Python using, for example, conventional or object- oriented techniques. The software code may be stored as a series of instructions or commands on a computer readable medium for storage and/or transmission, suitable media include random access memory (RAM), a read only memory (ROM), a magnetic medium such as a hard-drive or a floppy disk, or an optical medium such as a compact disk (CD) or DVD (digital versatile disk), flash memory, and the like. The computer readable medium may be any combination of such storage or transmission devices.

[0130] Such programs may also be encoded and transmitted using carrier signals adapted for transmission via wired, optical, and/or wireless networks conforming to a variety of protocols, including the Internet. As such, a computer readable medium according to an embodiment of the present invention may be created using a data signal encoded with such programs. Computer readable media encoded with the program code may be packaged with a compatible device or provided separately from other devices (e.g., via Internet download). Any such computer readable medium may reside on or within a single computer product (e.g. a hard drive, a CD, or an entire computer system), and may be present on or within different computer products within a system or network. A computer system may include a monitor, printer, or other suitable display for providing any of the results mentioned herein to a user.

[0131] The above description is illustrative and is not restrictive. Many variations of the invention will become apparent to those skilled in the art upon review of the disclosure. The scope of the invention should, therefore, be determined not with reference to the above description, but instead should be determined with reference to the pending claims along with their full scope or equivalents. [0132] One or more features from any embodiment may be combined with one or more features of any other embodiment without departing from the scope of the invention.

[0133] As used herein, the use of "a," "an," or "the" is intended to mean "at least one," unless specifically indicated to the contrary.