A Kerberos cross-domain authentication method based on Bulletproofs
Non-interactive zero-knowledge proof technology is introduced in Kerberos cross-domain authentication through Bulletproofs, which solves the problem of identity information leakage and anonymity in cross-domain authentication, enables users to prove legitimacy without submitting identity information, and reduces communication quantity.
Patent Information
- Application Number
- CN202110835057.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-23
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-07-23
AI Technical Summary
During the cross-domain authentication process, existing technology requires users to submit certification documents containing their own identity information, which results in leakage of identity information and the inability to achieve anonymous login, making it impossible to prove the user's legitimacy without providing identity information.
The Kerberos cross-domain authentication method based on Bulletproofs is adopted. Through non-interactive zero-knowledge proof technology, users do not need to submit tickets containing their own identity information. The parameter construction of Bulletproofs and Pedersen commitment are used for identity verification to ensure that users do not need to submit documents during cross-domain authentication. Disclosure of identity information.
It enables users to prove legitimacy without submitting identity information during cross-domain authentication, avoids leakage of identity information, reduces the number of interactions between users and servers, and reduces communication volume.
Smart Images

Figure CN113468614B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of cross-domain authentication, and in particular to a Kerberos (a computer network authorization protocol) cross-domain authentication method based on Bulletproofs (a non-interactive zero-knowledge proof protocol). Background Art
[0002] When a user accesses resources across domains, since there is no prior trust relationship between the user and the authentication server of the access domain, the authentication server of the access domain needs to work with the authentication server of the user's own domain to authenticate the user. In addition, in the process of cross-domain access, in order to prevent malicious entities from tracking the user's resource access records and sessions, it is necessary to hide the user's real identity during the authentication process and provide anonymity services. The cross-domain authentication scheme in a ubiquitous environment should meet the requirements of anonymity and untraceability while achieving secure authentication and session key establishment. That is, when a user accesses the domain authentication server, other users cannot determine the real identity of the legitimate user accessing the cross-domain and the source of different sessions.
[0003] In the real world, identity fraud is inevitable, so we often need to prove our identity when accessing a server. The security of communication and data also depends on whether the user's identity information can be correctly verified. For example, a bank's ATM can send money to the cardholder of the account it recognizes, greatly reducing the burden on counter staff and improving efficiency. The access and use of resources in the computer, as well as the entry and exit of secure areas, all require accurate identity authentication. In the traditional authentication process, identity authentication confirms the user's identity by checking the validity of the "thing" (password or identity information). So, can the legitimacy of the identity be proved without providing this identity information? This requires zero-knowledge proof technology. Zero-knowledge proof is a technology in which the authenticated party P has certain secret information, and P tries to make the authenticating party V believe that he does have what information, but does not let V know what information it is.
[0004] At present, more and more users need to perform cross-jurisdictional identity authentication, so that legal users in this jurisdiction can also legally access other jurisdictions without re-registering. The Kerberos cross-domain authentication protocol provides cross-jurisdictional authentication management functions based on the Kerberos authentication protocol, but it has many defects due to its use of symmetric key encryption algorithm. The Kerberos authentication protocol based on the public key system introduces the public key encryption system on the basis of the original authentication protocol, making the entire authentication system non-repudiation and more secure. However, they have a common defect: their confirmation of identity is based on the user submitting a certificate containing his or her identity information. In other words, if the user wants to prove his or her legitimacy to other jurisdictions, he or she must provide the "identity certificate" issued by the server in this jurisdiction. Although this can easily prove the legitimacy of the user, it also allows the server in other jurisdictions to grasp the relevant information of the user, such as the user name, user address, etc., resulting in the leakage of user information, and the user's anonymous login or anonymous access cannot be achieved.
[0005] The user's identity information can be considered public within the jurisdiction, but this information should not be transmitted to other jurisdictions. Moreover, information transmission within the jurisdiction is safer than transmission between jurisdictions. Therefore, the present invention hopes to find a method so that when a user performs cross-domain authentication, he does not need to submit a ticket related to his identity information, but can still prove his legitimacy, that is, the authentication server or application server in other jurisdictions does not need to know who the user is or where the user is, it only needs to know that the user is legitimate. Summary of the invention
[0006] The technical problem to be solved by the present invention is to propose a Kerberos cross-domain authentication method based on Bulletproofs. When performing cross-domain authentication, users can prove their legal identity without submitting relevant tickets containing their own identity information to an external domain server, thereby avoiding the leakage of user identity information.
[0007] The technical solution adopted by the present invention to solve the above technical problem is: a Kerberos cross-domain authentication method based on Bulletproofs, comprising the following steps:
[0008] a. User C requests access to the external domain application server S from the authentication server AS1 in the domain;
[0009] b. After confirming the identity of user C, the authentication server AS1 in this domain sends a ticket to user C to access the ticket license server TGS1 in this domain.
[0010] c. User C obtains the ticket Request a ticket from the in-domain ticket grant server TGS1 to access the out-domain ticket grant server TGS2
[0011] d. After confirming the identity of user C, the in-domain ticket licensing server TGS1 sends a ticket to user C to access the out-domain ticket licensing server TGS2.
[0012] e. User C constructs the parameters for non-interactive Bulletproofs authentication, that is, data that proves his identity and does not contain his own sensitive information; User C obtains the ticket Request the external domain ticket licensing server TGS2 to access the external domain application server S, and pass the parameters of non-interactive Bulletproofs authentication to the external domain ticket licensing server TGS2;
[0013] f. The external domain ticket licensing server TGS2 verifies the identity of user C through the non-interactive Bulletproofs authentication method according to the parameters obtained by the non-interactive Bulletproofs authentication method. After determining the user's identity, it sends a ticket Ticket for accessing the external domain application server S to user C. s ;
[0014] g. User C obtains the ticket of the external domain application server S s , send an authentication request to the external domain application server S;
[0015] h. The external domain application server S accepts the authentication of user C and sends a message to user C to establish communication. The two parties establish formal communication.
[0016] As a further optimization, step a includes:
[0017] a1. User C constructs message Q1, Among them, ID c is the user ID of user C, is the ticket authorization server number in the domain, Random1 is a random number generated by the user to prevent replay;
[0018] User C uses his private key KR c Sign message Q1 and generate signature information
[0019] a2. User C constructs message M1,
[0020] a3. User C uses the public key of the domain authentication server AS1 for message M1 The encrypted data is sent to the authentication server AS1 in the domain.
[0021] As a further optimization, step b includes:
[0022] b1. The domain authentication server AS1 receives the message M1 sent by user C;
[0023] b2. The domain authentication server AS1 uses its private key Decrypt message M1;
[0024] b3. The authentication server AS1 in this domain uses the public key KP of user C c Verify signature information After confirming that the message was sent by user C, determine whether the identity of user C exists and is legitimate based on the records in the local database;
[0025] b4. If the identity of user C exists and is legitimate, the domain authentication server AS1 constructs message Q2. in, The shared session key between the domain ticket grant server TGS1 and user C constructed by the domain authentication server AS1, The ID of the ticket license server in the domain. c is the user ID of user C;
[0026] The domain authentication server AS1 uses its private key Sign message Q2 and generate signature information
[0027] b5. The authentication server AS1 in this domain constructs a ticket for the user to access the ticket licensing server TGS1 in the domain Indicates that the message is encrypted using the public key of the ticket server TGS1 in the domain;
[0028] The domain authentication server AS1 uses its private key For bills Sign and generate signature information
[0029] b6. The authentication server AS1 in this domain constructs message M2,
[0030]
[0031] b7. The authentication server AS1 in this domain uses the public key KP of user C for message M2 c Encrypted and sent to user C.
[0032] As a further optimization, step C includes:
[0033] c1. User C receives a message M2 from the domain authentication server AS1;
[0034] C2. User C uses his private key KR c Decrypt message M2;
[0035] C3. User C determines whether message M2 is a replay based on the random number in the decrypted information;
[0036] C4. If it is not a replay, user C uses the public key of the domain authentication server AS1 Verify signature information To confirm the bill Whether it is issued by TGS1;
[0037] c5. Verifying the ticket After being signed by TGS1, user C constructs the authentication code Auth1. Among them, Random2 is another random number generated by the user to prevent replay, ID c is the user ID of user C, Indicates that the message is encrypted using the session key of user C and the ticket server TGS1 in the domain;
[0038] User C uses his private key KR c Sign Auth1 and generate signature information
[0039] c6. User C constructs message M3,
[0040] c7. Use the public key of the ticket licensing server TSG1 in the domain The message M3 is encrypted and sent to the in-domain ticket grant server TGS1.
[0041] As a further optimization, step d includes:
[0042] d1. The domain ticket licensing server TGS1 receives a message M3 sent by user C;
[0043] d2. The domain ticket licensing server TGS1 uses its private key Decrypt message M3;
[0044] d3. The domain ticket licensing server TGS1 uses the public key KP of user C c Verify signature information Confirm whether Auth1 is issued by user C, and verify the correctness of user C's identity and whether it has been tampered with;
[0045] d4. If the user C's identity information is correct and has not been tampered with, the domain ticket licensing server TGS1 constructs message Q3,
[0046] Among them, h() represents a one-way hash function. The server number for the external domain ticket license;
[0047] The domain ticket grant server TGS1 uses its private key Sign Q3 and generate signature information
[0048] d5. The in-domain ticket licensing server TGS1 constructs a ticket for the user to access the out-domain ticket licensing server TGS2 in, Indicates that the message is encrypted using the session key of user C and the ticket server TGS1 in the domain;
[0049] The domain ticket grant server TGS1 uses its private key Bills Sign and generate signature information
[0050] d6. The domain ticket licensing server TGS1 constructs message M4,
[0051]
[0052] d7. The domain ticket licensing server TGS1 uses the public key KP of user C c Message M4 is encrypted and sent to user C.
[0053] As a further optimization, in step d3, the intra-domain ticket approval server TGS1 verifies the correctness of the identity of user C and whether it has been tampered with, specifically including:
[0054] The domain ticket grant server TGS1 uses the public key KP of user C c Verify signature information Confirm whether Auth1 is issued by user C;
[0055] The domain ticket grant server TGS1 uses its private key Decryption get And based on the public key of the domain authentication server AS1 Verify signature information Confirm whether Q2 is issued by the authentication server AS1 in this domain;
[0056] The ticket grant server TGS1 in the domain obtains the ticket from Q2 According to the obtained Decrypt Auth1 and get the ID c and Random2, according to the decrypted ID c With the ID in message Q2 c , confirm whether the ticket is owned by the original applicant, confirm the correctness of user C’s identity and whether it has been tampered with.
[0057] As a further optimization, step e includes:
[0058] e1 user C receives a message M4 sent by the domain ticket licensing server TGS1;
[0059] e2. User C uses his private key KR c To decrypt message M4;
[0060] e3. User C determines whether message M4 is a replay based on the random number in the decrypted information;
[0061] e4. If it is not a replay, user C uses the public key of the domain ticket licensing server TGS1 verify To confirm the bill Whether it is issued by TGS1;
[0062] Verifying the ticket After being issued by TGS1, Decryption Get the parameters Q3 and
[0063] e5. User C constructs parameter M0 for non-interactive Bulletproofs authentication;
[0064] e6. User C constructs message M5,
[0065] Among them, ID Realm The domain ID of the domain where the user is located. s The external domain application server number that the user needs to access. is the external domain ticket authorization server number, Random3 is another random number generated by the user to prevent replay;
[0066] e7. User C uses the public key of the foreign domain ticket licensing server TGS2 The message M5 is encrypted and sent to the external domain ticket grant server TGS2.
[0067] As a further optimization, in step e5, the user C constructs the parameter M0 of the non-interactive Bulletproofs authentication.
[0068] The specific generation process of each parameter includes:
[0069] e51.Parameters L ,s R are two blinding factors, and the generation process is as follows:
[0070] The parameter v represents the private key KR of user C c The corresponding integer, first convert v into a binary vector a, and then construct vector a L =a,a R = a-1, then generate two L 、a R The blinding factor s obtained by blinding L ,s R ;
[0071] e52. Parameters y and z are two random numbers generated. The generation process is as follows:
[0072] make represents a cyclic group of prime order p, represents the ring of integers modulo p, is There is an n-dimensional vector space on express Then: z is from The random number generated by the element in , y is a random number obtained using a one-way hash function, expressed as y = hash (v, z);
[0073] e53. Parameter B is the generator in the Pedersen commitment, parameter is the blinding factor corresponding to B, which is given by the formula generate;
[0074] e54. The parameters G and H are cyclic groups of prime order p. Generators randomly generated by elements in;
[0075] e55. The parameters t(x),δ(y,z) are the proof parameters of Bulletproofs, where
[0076] δ(y, z)=(zz 2 )<1,y n >-z 3 <1,2 n >
[0077] t(x)=t0+t1x+t2x 2
[0078] Where x is the random private key used to construct the polynomial t(x), t0, t1, and t2 are the coefficients before the independent variable of the polynomial t(x);
[0079] e56.Parameters is through The orthogonal blinding factor corresponding to t(x) is obtained, where are the blinding factors corresponding to v, t1, and t2 respectively;
[0080] e57. Parameters V, T1, T2 are obtained by Pedersen commitment: V = com(v), T1 = com(t1), T2 = com(t2);
[0081] e58.Parameters is a blinding factor, and parameter A is a Pedersen commitment in vector form. The specific method of obtaining it is as follows:
[0082] Vector-based Pedersen commitment A = Com(a L ,a R ), commitment S = Com(s L ,s R ),parameter By formula Obtain, among which For commitment A = Com(a L ,a R ) corresponds to the blinding factor parameter, Commitment S = Com(s L ,s R ) corresponds to the blinding factor parameter.
[0083] As a further optimization, step f includes:
[0084] f1 external domain ticket license server TGS2 receives a message M5 sent by user C;
[0085] f2. The foreign domain ticket licensing server TGS2 uses its private key Decrypt the message M5;
[0086] f3. The external domain ticket licensing server TGS2 uses a non-interactive Bulletproofs authentication method based on the decrypted information to determine whether the user is legitimate;
[0087] f4. If the user is legitimate, the external domain ticket license server TGS2 constructs message Q4 and constructs a ticket Ticket for accessing the external domain application server. s , construct the session key K between user C and external domain application server S c,s ,in, Then use the private key of the foreign domain ticket licensing server TGS2 Sign Q4 and generate signature information And based on message Q4 and signature information Construct a ticket for accessing an external domain application server s , Indicates that the message is encrypted using the public key of the external domain application server S;
[0088] f5. The foreign domain ticket licensing server TGS2 uses its private key Ticket s Signature, generate signature information
[0089] f6. The external domain ticket license server TGS2 constructs message M6,
[0090]
[0091] f7. The external ticket licensing server TGS2 uses the public key KP of user C c Message M6 is encrypted and sent to user C.
[0092] As a further optimization, in step f3, the non-interactive Bulletproofs authentication method is used to determine whether the user is legitimate, specifically including: the foreign domain ticket licensing server TGS2 verifies whether the following two equations are true through the parameter message M0 obtained from the user C:
[0093]
[0094]
[0095] in, x is the random key used by the foreign ticket granting server TGS2 to verify the equation, and the commitment S=Com(s L ,s R ), P is the result obtained by the external domain ticket licensing server TGS2 after calculation based on the parameters obtained from the user C; if the above equation is established, the legitimacy and correctness of the information can be proved.
[0096] As a further optimization, step g includes:
[0097] g1 user C receives a message M6 sent by the external ticket licensing server TGS2;
[0098] g2. User C uses his private key KR c To decrypt message M6;
[0099] g3 User C determines whether the message M6 is replayed based on the random number in the decrypted information;
[0100] g4. If it is not a replay, user C uses the public key of the external domain ticket license server TGS2 Verify the signature To confirm the ticket s Whether it is issued by TGS2;
[0101] g5. If Ticket s Correct, then user C generates another random number Random4 to prevent replay, and based on Random4 and ID Realm The construction generates a new authentication code Auth2, Indicates the use of the session key K between user C and external domain application server S c,s Encrypted messages;
[0102] User C uses his private key KR c Sign Auth2 and generate signature information
[0103] g6. User C constructs message M7,
[0104]
[0105] g7. User C uses the public key KP of the external domain application server S S The message M7 is encrypted and sent to the server S.
[0106] As a further optimization, step h includes:
[0107] h1. External domain application server S receives message M7 sent by user C;
[0108] h2. The external domain application server S uses its private key KR s Decrypt message M7;
[0109] h3. The external domain application server S uses its private key KR s Decrypt Ticket s Get the parameters Q4 and Use the public key of the foreign domain ticket authorization server TSG2 Verify the signature To confirm the ticket s Whether it is issued by TSG2;
[0110] h4. The external domain application server S uses the session key K obtained from the external domain ticket grant server TGS2. c,s Decrypt Auth2 and get the parameter IDRealm 、r Q3 , Random4, determine the ID Realm and Whether to decrypt the ticket s The ID in Q4 obtained Realm and The two parties check whether the ticket is held by the original applicant, thereby verifying the correctness and legitimacy of message M7;
[0111] h5. If the verification is successful, the external domain application server S constructs message M8:
[0112] M8={Random4+1}
[0113] h6. The external domain application server S uses the session key K between user C and server S c,s Encrypt message M8 and send the encrypted message M8 to user C as a message for mutual authentication between the two parties;
[0114] h7. User C establishes formal communication with the external domain application server S.
[0115] The beneficial effects of the present invention are as follows: the defect that the user needs to submit a proof ticket containing his / her identity information during the cross-domain authentication process in the Kerberos cross-domain authentication model is solved, and the idea of zero-knowledge proof is used to enable the user to prove his / her legal identity without submitting relevant tickets, thereby avoiding the leakage of user identity information;
[0116] Bulletproofs zero-knowledge proof uses a non-interactive zero-knowledge proof method to reduce the number of interactions between users and servers. When the cross-domain authentication system is relatively large, it will greatly reduce the system's communication volume. BRIEF DESCRIPTION OF THE DRAWINGS
[0117] Figure 1 This is the overall method flow of the embodiment of the present invention. DETAILED DESCRIPTION
[0118] For ease of understanding, firstly, the relevant parameter symbols that may appear in the present invention are explained as follows:
[0119] 1) ID name parameter:
[0120] AS represents the authentication server, where AS1 is the authentication server of this domain;
[0121] TGS stands for Ticket Grant Server, where TGS1 is the in-domain ticket grant server and TGS2 is the out-domain ticket grant server;
[0122] ID represents the identity card identification number, where IDc is the user number, is the ticket grant server number within the domain, The ID of the external domain ticket license server. Realm The domain ID of the user. s The external domain application server number that the user needs to access.
[0123] 2) Secret key parameters:
[0124] KP and KR represent public key and private key respectively. The subscripts of KP and KR represent the owners of the public key and private key respectively. For example, the public key of the authentication server AS1 in this domain is represented as The private key is represented as User C's private key is represented by KR c , the public key is represented by KP c ;
[0125] K x,y represents the session key shared by x and y, for example, The session key between user C and the ticket grant server TGS1 in the domain.
[0126] (3) Note parameters:
[0127] Ticket x : Ticket for accessing x, such as a ticket for a domain-wide ticket authorization server Foreign Ticket Permit Server Ticket Ticket of the external domain application server s .
[0128] (4) Signature information:
[0129] (r M ,s M ) represents the signature of information M, for example, the signature information of message Q1 Signature information of message Q2 Domain Ticket Grant Server Ticket Signature information Foreign Ticket Permit Server Ticket Signature information Signature information of the authentication code Auth1 Signature information of message Q3 Signature information of the external domain application server S Auth2 signature information Among them, r M and M These are two encryption algorithm parameters generated based on message M and used to authenticate user information.
[0130] The present invention aims to propose a Kerberos cross-domain authentication method based on Bulletproofs. When performing cross-domain authentication, users can prove their legal identities without submitting relevant tickets containing their own identity information, thus avoiding the leakage of user identity information.
[0131] Example:
[0132] like Figure 1 As shown, the Bulletproofs-based Kerberos cross-domain authentication method process in this embodiment includes:
[0133] S1, user C requests access to the external domain application server S from the authentication server AS1 of the local domain;
[0134] S2: After confirming the identity of user C, the authentication server AS1 in this domain sends a ticket to user C for accessing the ticket granting server TGS1 in this domain.
[0135] S3, user C obtains the ticket Request a ticket from the in-domain ticket grant server TGS1 to access the out-domain ticket grant server TGS2
[0136] S4. After confirming the identity of user C, the in-domain ticket authorization server TGS1 sends a ticket to user C for accessing the out-domain ticket authorization server TGS2.
[0137] S5. User C constructs the parameters for non-interactive Bulletproofs authentication, that is, data that proves his identity and does not contain his own sensitive information. User C obtains the ticket Request the external domain ticket licensing server TGS2 to access the external domain application server S, and pass the parameters of non-interactive Bulletproofs authentication to the external domain ticket licensing server TGS2;
[0138] S6. The external domain ticket licensing server TGS2 verifies the identity of user C through the non-interactive Bulletproofs authentication method based on the obtained non-interactive Bulletproofs authentication parameters. After confirming the user's identity, it sends a ticket Ticket for accessing the external domain application server S to user C. s ;
[0139] S7, user C obtains the ticket of the external domain application server S s , send an authentication request to the external domain application server S;
[0140] S8. The external domain application server S accepts the authentication of user C and sends a communication establishment message to user C. The two parties establish formal communication.
[0141] The specific implementation means of each step are described in detail below.
[0142] For step S1, in this step, user C first constructs message Q1 and its corresponding signature information Then construct message M1, encrypt M1 using AS1's public key, and finally send M1 to AS1, including the following steps:
[0143] S101, user C constructs a message Q1 containing personal identity information, wherein the message Q1 includes a user ID c , domain ticket license server number And a random number Random1 generated by the user to prevent replay, namely:
[0144]
[0145] Then, use user C's private key KR c Sign message Q1 and generate signature information
[0146] S102. User C constructs message M1:
[0147]
[0148] S103, user C uses the public key of the domain authentication server AS1 for message M1 Encryption is performed, and the encrypted message M1 is:
[0149]
[0150] in, Indicates using the public key of the authentication server AS1 in this domain The encrypted message is then sent to the authentication server AS1 in this domain.
[0151] For step S2, in this step, when AS1 receives message M1, it decrypts message M1 and then verifies Q1 to confirm the legitimacy of the user. If the user is legitimate, it constructs message Q2 and signs the information. Structuring the Note Constructing and encrypting message M2 and sending M2 to user C includes the following steps:
[0152] S201, the domain authentication server AS1 receives the message M1 sent by user C;
[0153] S202, the local domain authentication server AS1 uses its own private key KRas1 to decrypt the message M1;
[0154] S203, the domain authentication server AS1 uses the public key KP of user C c Verify signature information After confirming that the message was sent by user C, determine whether the identity of user C exists and is legitimate based on the records in the local database;
[0155] S204: If the identity of user C exists and is legal, the authentication server AS1 in this domain constructs message Q2.
[0156]
[0157] In the present invention, K x,y represents the session key shared by x and y, so, That is, the session key between user C and the ticket grant server TGS1 in the domain constructed by the authentication server AS1 in the domain;
[0158] Then, use your own private key for message Q2 Sign and generate signature information
[0159] S205: The domain authentication server AS1 constructs a ticket for the user to access the domain ticket authorization server TGS1. The ticket is encrypted with the public key of the ticket granting server TGS1, ensuring that the ticket can only be decrypted by TGS1, that is,
[0160]
[0161] This means using the public key of the ticket licensing server TGS1 Then, AS1 uses its own private key to encrypt For bills Signature, generate signature information
[0162] S206, the domain authentication server AS1 constructs a message M2:
[0163]
[0164] S207, the domain authentication server AS1 uses the public key KP of user C to authenticate message M2 c After encryption, it is sent to the user. The encrypted message M2 is:
[0165]
[0166] Indicates the use of user C's public key KP c Encryption is performed.
[0167] Regarding step S3, in this step, after user C receives message M2, he first determines whether the message is replayed; then verifies Next, user C constructs the authentication code and uses his private key KR c Sign the authentication code to get Finally, user C constructs message M3, encrypts it using the public key of TGS1, and sends the encrypted M3 to TGS1 to request a cross-domain access ticket, including the following steps:
[0168] S301, user C receives the encrypted message M2 sent from the authentication server AS1 in the domain;
[0169] S302, user C uses his own private key KR c Decrypt the encrypted message M2;
[0170] S303, user C determines whether message M2 is replayed based on the random number in the decrypted information; the specific method is that user C uses his own private key KR c After decrypting the message, determine whether the parameter Random+1 in the message is the random number it sent + 1 to determine whether the message is a replay;
[0171] S304: If it is not a replay, user C uses the public key of the domain authentication server AS1 Verify signature information To confirm the bill Whether it is issued by TGS1;
[0172] S305: After the user confirms that the ticket is correct, user C constructs the identity verification code Auth1.
[0173]
[0174] Among them, Random2 is another random number generated by the user to prevent replay, ID c is the user ID of user C, Indicates that the message is encrypted using the session key of user C and the ticket server TGS1 in the domain;
[0175] Then, user C uses his private key KR c Sign Auth1 and generate signature information
[0176] S306. User C constructs message M3:
[0177]
[0178] S307, user C uses the public key of the ticket licensing server TGS1 in the domain Encrypt the message M3. The encrypted M3 is:
[0179]
[0180] This means using the public key of the ticket licensing server TGS1 The encrypted message M3 is then sent to the in-domain ticket grant server TGS1.
[0181] For step S4, in this step, after TGS1 receives message M3, it first uses its own private key Decryption obtains various information. Then confirm that the authentication code is indeed issued by user C, and confirm that Q2 is indeed issued by AS1, and determine whether the ticket is owned by the original applicant. If they are consistent, TSG1 begins to construct identity information Q3 and the signature is obtained. And generate a cross-domain access ticket Next, TSG1 is the ticket Signature generation Finally, TSG1 constructs message M4 and sends message M4 to user C, including the following steps:
[0182] S401, the intra-domain ticket grant server TGS1 receives the encrypted message M3 sent by user C;
[0183] S402, the domain ticket licensing server TGS1 uses its own private key Decrypt the encrypted message M3;
[0184] S403, the intra-domain ticket permission server TGS1 verifies the correctness of the message M3 and whether it has been tampered with;
[0185] To confirm that the authentication code is indeed issued by user C, TGS1 uses user C’s public key KP c , verify the signature correctness.
[0186] In order to confirm that Q2 is indeed sent by AS1, use your own private key Decryption get Use AS1's public key verify
[0187] To determine whether the ticket is owned by the original applicant, TGS1 uses the parameters in Q2 Decrypt the authentication code Auth1 to get the parameter IDc Compare the ID with Random2 c with the ID in Q2 c Are they consistent?
[0188] S404: After the in-domain ticket authorization server TGS1 verifies the message M3, the in-domain ticket authorization server TGS1 constructs a message Q3.
[0189]
[0190] Among them, h() represents a one-way hash function. is the external domain ticket grant server number; then, the internal domain ticket grant server TGS1 uses its private key Sign Q3 and generate signature information
[0191] S405: The in-domain ticket licensing server TGS1 constructs a ticket for the user to access the out-domain ticket licensing server TGS2.
[0192]
[0193] in, Indicates that the message is encrypted using the session key of user C and the ticket server TGS1 in the domain;
[0194] S406, the intra-domain ticket grant server TGS1 constructs message M4:
[0195]
[0196] in, Use your own private key for the domain ticket grant server TSG1 Bills signature;
[0197] S407, the domain ticket licensing server TGS1 uses the public key KP of user C c Encrypt message M4. The encrypted message M4 is:
[0198]
[0199] Indicates the use of user C's public key KP c Encrypt it, and then send the encrypted M4 to user C.
[0200] For step S5, in this step, after user C receives message M4, he first uses his private key KR c Decrypt to get various information and verify whether it is replayed. Then use the public key of TGS1 verify To confirm is issued by TGS1. Then, user C uses Decryption Get the parameters Q3 and Finally, C constructs message M5 and sends it to TGS2 of domain B, including the following steps:
[0201] S501, user C receives the encrypted message M4 sent by the ticket licensing server TGS1 in the domain;
[0202] S502, user C uses his own private key KR c Decrypt the encrypted message M4;
[0203] S503, user C determines whether message M4 is replayed based on the information obtained by decryption;
[0204] S504, user C uses the public key of the ticket license server TGS1 in the domain verify To confirm the bill Is it issued by TGS1? Then use Decryption Get the parameters Q3 and
[0205] S505, user C constructs parameter M0 of non-interactive Bulletproofs zero-knowledge proof;
[0206] Parameter M0 does not contain user personal information, but can prove the user's identity to the authentication server. The message only contains the domain ID from which the user comes, but does not contain sensitive information such as the user ID and user address:
[0207] Said
[0208] The specific generation process of each parameter includes:
[0209] 1) Parameter s L ,s R are two blinding factors, and the generation process is as follows:
[0210] The parameter v represents the private key KR of user C c The corresponding integer, first convert v into a binary vector a, and then construct vector a L =a,a R = a-1, then generate two L 、a R The blinding factor s obtained by blinding L ,s R ;
[0211] 2) Parameters y and z are two random numbers generated, and the generation process is as follows:
[0212] make represents a cyclic group of prime order p, represents the ring of integers modulo p, is There is an n-dimensional vector space on express Then: z is from The random number generated by the element in , y is a random number obtained using a one-way hash function, expressed as y = hash (v, z);
[0213] 3) Parameter B is the generator in the Pedersen commitment, parameter is the blinding factor corresponding to B, which is given by the formula generate;
[0214] 4) The parameters G and H are cyclic groups of prime order p Generators randomly generated by elements in;
[0215] 5) Parameters t(x), δ(y, z) are the proof parameters of Bulletproofs, where
[0216] δ(y, z)=(zz 2 )<1,y n >-z 3 <1,2 n >
[0217] t(x)=t0+t1x+t2x 2
[0218] Wherein, δ(y, z) is a polynomial that does not contain a secret number, y(x) is the inner product of the blinded polynomials l(x) and r(x) that contain a secret number, t0, t1, and t2 are the coefficients before the independent variable of the polynomial t(x), and x is a random private key used to construct the polynomial t(x), which is the private key KR of user C in this embodiment. c ;
[0219] The construction process of t(x) is as follows:
[0220] l(x)=l0+l1x=(a L +s L x)-z1
[0221]
[0222] t(x)=<l(x),r(x)> =t0+t1x+t2x 2
[0223]
[0224] t2=<l1,r1>
[0225] t1=<l0+l1,r0+r1> -t0-t2
[0226] 6) Parameters is through The orthogonal blinding factor corresponding to t(x) is obtained, where are the blinding factors corresponding to v, t1, and t2 respectively;
[0227] 7) Parameters V, T1, T2 are obtained by Pedersen commitment: V = com(v), T1 = com(t1), T2 = com(t2);
[0228] 8) Parameters is a blinding factor, and parameter A is a Pedersen commitment in vector form. The specific method of obtaining it is as follows:
[0229] Vector-based Pedersen commitment A = Com(a L , a R ), commitment S = Com(s L ,s R ),parameter By formula Obtain, among which For commitment A = Com(a L ,a R ) corresponds to the blinding factor parameter, Commitment S = Com(s L ,s R ) corresponds to the blinding factor parameter.
[0230] Finally, by combining the parameters obtained in steps (1) to (8), we can construct message M0:
[0231]
[0232] S506. User C constructs message M5:
[0233]
[0234] Among them, ID Realm The domain ID of the domain where the user is located. s The external domain application server number that the user needs to access. is the external domain ticket authorization server number, Random3 is another random number generated by the user to prevent replay;
[0235] S507, user C uses the public key of the external domain ticket license server TGS2 Encrypt message M5. The encrypted message M5 is:
[0236]
[0237] This means using the public key of the ticket licensing server TGS2 It is encrypted and then sent to the external domain ticket licensing server TGS2.
[0238] For step S6, in this step, after receiving message M5, TGS2 in the external domain, i.e., domain B, uses its own private key Decrypt and obtain various parameter information. Then verify the user information and TGS2 builds a ticket for user C to access the service. s , encrypted with the public key of server S, and used as the ticket Ticket s Signature, Generate Finally, TGS2 constructs message M6 and sends it to user C, including the following steps:
[0239] S601, the external domain ticket licensing server TGS2 receives the encrypted message M5 sent by user C;
[0240] S602, the external domain ticket licensing server TGS2 uses its own private key Decrypt the encrypted message M5;
[0241] S603, the external domain ticket licensing server TGS2 uses non-interactive Bulletproofs zero-knowledge proof to verify the correctness of the message M5 based on the decrypted information and determines whether the user is legitimate;
[0242] In this step, the external domain ticket grant server TGS2 verifies whether the following two equations hold true through the parameter message M0 obtained from user C:
[0243]
[0244]
[0245] in, x is a random key used by the foreign domain ticket granting server TGS2 to verify the equation, which is randomly generated by TGS2 through a key generation algorithm in the embodiment. L ,s R ), P is the result obtained by the external domain ticket licensing server TGS2 after calculation based on the parameters obtained from the user C;
[0246] If the equation is true, it is determined whether the number of zero-knowledge proof rounds has been reached. If not, a message to continue verification is sent to user C. If the number of zero-knowledge proof rounds has been reached and all round inquiries are true, TGS2 of domain B (foreign domain) believes that user C is a legitimate user based on its trust in TGS1 of domain A (this domain).
[0247] The above verification process uses the inner product protocol, that is, to prove to the verifier (server) that t(x) =<l(x),r(x)> , the server obtains the user's orthogonal blinding factor Then, calculate the following formula:
[0248]
[0249] If we calculate P=<I(x),G> +<r(x),H′> , then we can verify that “t(x)=<l(x),r(x)> ” to verify the user’s identity information.
[0250] Specifically, the inner product protocol is as follows: Use the following notation to define the system
[0251]
[0252]
[0253] c=<a,b>
[0254] P=<a,G> +<b,H>
[0255] According to the above definition, the following knowledge proof is required:
[0256] P=<a,G> +<b,H> ∧c=<a,b>
[0257] Introduce an intermediate variable w and multiply both sides of the second equation by an orthogonal generator Combining these two equations into one, we get:
[0258] P=<a,G> +<b,H> +cwB=<a,b> wxya
[0259] Continue to introduce the following symbols to simplify the above equation:
[0260] k=lg n
[0261] P′=P+cwB
[0262] Q=wB
[0263] Then you get:
[0264] P′=<a,G> +<b,H> +<a,b> Q
[0265] Introduce an intermediate variable u k , and perform the following compression transformation on the original a, b, G, H:
[0266]
[0267] L k = lo , G hi >+ hi ,H lo >+ lo ,b hi > Q
[0268] R k = hi ,G lo >+ lo , H hi >+ hi ,b lo > Q
[0269] If the user is honest in randomly selecting u k Previously, L k and R k The commitment calculation is performed, and the above equation holds true, then the original equation (about R k The equation of P is very likely to be true. k-1 Compression, similar to the above process, introduce the intermediate variable u k-1 ,…, until reaching the last a (0) ,b (0) , G (0) , H (0) have:
[0270]
[0271]
[0272] According to the definition of P k =P′=P+cwB and Q=wB, after rewriting, we find that:
[0273]
[0274] In step S5, the user can simply send two scalars and to the verifier, so that the latter can directly verify whether the equation in the final step above is true. The overall inner product protocol has lg n steps, and the prover can get all (L j , R j ) is sent to the verifier, j = k…1. So far, to prove the correctness of l(x), r(x), a total of 2lgn+2 elements need to be sent, which greatly reduces the amount of data communicated between the two parties of verification.
[0275] S604: If the user is legitimate, the external domain ticket authorization server TGS2 constructs message Q4 and constructs a ticket for accessing the external domain application server. s , construct the session key K between user C and external domain application server S c,s ,in,
[0276]
[0277] Then use the private key of the foreign domain ticket licensing server TGS2 Sign Q4 and generate signature information And based on message Q4 and signature information Construct a Ticket for accessing an external domain application server s ,
[0278]
[0279] Indicates that the message is encrypted using the public key of the external domain application server S;
[0280] S605, the external domain ticket licensing server TGS2 uses its private key Ticket s Signature, generate signature information
[0281] S606, the external domain ticket grant server TGS2 constructs a message M6:
[0282]
[0283] S607, the external domain ticket licensing server TGS2 uses the public key KP of user C c Encrypt message M6. The encrypted message M6 is:
[0284]
[0285] Indicates the use of user C's public key KP c It is encrypted and then sent to user C.
[0286] For step S7, in this step, after user C receives message M6, he uses his private key KR c Decrypt the parameters. Next, determine the Ticket sIs it generated by TGS2? If it is correct, user C generates a new authentication code Auth2 and uses his own private key KR c Sign Auth2 to get Finally, user C constructs message M7, encrypts it using S's public key, and sends message M7 to the external domain application server S, including the following steps:
[0287] S701, user C receives the encrypted message M6 sent by the external domain ticket licensing server TGS2;
[0288] S702, user C uses his own private key KR c Decrypt the encrypted message M6;
[0289] S703, user C determines whether the message M6 is a replay based on the random number in the decrypted information;
[0290] S704, user C uses the public key of the external domain ticket license server TGS2 Verify the signature Thus, the ticket s Correctness;
[0291] S705, if Ticket s Correct, then user C generates another random number Random4 to prevent replay, and based on Random4 and ID Realm The construction generates a new authentication code Auth2, Indicates the use of the session key K between user C and external domain application server S c,s Encrypted messages;
[0292] S706. User C constructs message M7:
[0293]
[0294] S707, user C uses the public key KP of the external domain application server S S Encrypt the message M7. The encrypted M7 is:
[0295]
[0296] Indicates using the public key KP of the external domain application server S S It is encrypted and then sent to server S.
[0297] For step S8, in this step, the server S uses its own private key KR sDecrypt the received message M7, obtain the corresponding parameters, confirm that the identity verification code is indeed generated by user C, and verify the signature Confirm Ticket s It is indeed issued by TSG2. Using the session key K c,s Decrypt the authentication code to confirm whether the ticket is held by the user who initially applied for the ticket. If there is no problem, server S constructs message M8, which is encrypted with the session key between user C and server S, and sends message M2 to user C for mutual authentication. After that, the subsequent communication between the user and the application server officially begins, including the following steps:
[0298] S801, the external domain application server S receives the encrypted message M7 sent by the user C;
[0299] S802, the external domain application server S uses its own private key KR s Decrypt the encrypted message M7;
[0300] S803, the external domain application server S uses its own private key KR s Decrypt Ticket s Get parameters Use the public key of the foreign domain ticket authorization server TSG2 Verify the signature To confirm the ticket s Whether it is issued by TSG2;
[0301] S804: To verify the correctness and legitimacy of message M7, the external domain application server S uses the session key K obtained from the external domain ticket grant server TGS2. c,s Decrypt Auth2 and get the parameter ID Realm , Random4, determine the ID Realm and Whether to decrypt the ticket s The ID in Q4 obtained Realm and to confirm whether the ticket is held by the original applicant, thereby verifying the correctness and legality of message M7.
[0302] S805. The external domain application server S constructs a message M8:
[0303] M8={Random4+1}
[0304] S806: The external domain application server S uses the session key K between the user C and the server S. c,s Encrypt message M8. The encrypted message M8 is: The encrypted message M8 is sent to user C as a message for mutual authentication between the two parties, and the two parties establish formal communication.
Claims
1. A Kerberos cross-domain authentication method based on Bulletproofs, characterized in that: The following steps are involved: a. User C requests access to the external domain application server S from the authentication server AS1 in the domain; b. After confirming the identity of user C, the authentication server AS1 in this domain sends a ticket to user C to access the ticket license server TGS1 in this domain. c. User C obtains the ticket Request a ticket from the in-domain ticket grant server TGS1 to access the out-domain ticket grant server TGS2 d. After confirming the identity of user C, the in-domain ticket licensing server TGS1 sends a ticket to user C to access the out-domain ticket licensing server TGS2. e. User C constructs the parameters for non-interactive Bulletproofs authentication, that is, data that proves his identity and does not contain his own sensitive information; User C obtains the ticket Request the external domain ticket licensing server TGS2 to access the external domain application server S, and pass the parameters of non-interactive Bulletproofs authentication to the external domain ticket licensing server TGS2; f. The external domain ticket licensing server TGS2 verifies the identity of user C through the non-interactive Bulletproofs authentication method according to the parameters obtained by the non-interactive Bulletproofs authentication method. After determining the user's identity, it sends a ticket Ticket for accessing the external domain application server S to user C. s ; g. User C obtains the ticket of the external domain application server S s , send an authentication request to the external domain application server S; h. The external domain application server S accepts the authentication of user C and sends a message to user C to establish communication. The two parties establish formal communication; The step e comprises: e1 user C receives a message M4 sent by the domain ticket licensing server TGS1; e2. User C uses his private key KR c To decrypt message M4; e3. User C determines whether message M4 is a replay based on the random number in the decrypted information; e4. If it is not a replay, user C uses the public key of the domain ticket licensing server TGS1 verify To confirm the bill Whether it is issued by TGS1; Verifying the ticket After being issued by TGS1, Decryption Get the parameters Q3 and e5. User C constructs parameter M0 for non-interactive Bulletproofs authentication; e6. User C constructs message M5, Among them, ID Realm The domain ID of the domain where the user is located. s The external domain application server number that the user needs to access. is the external domain ticket authorization server number, Random3 is another random number generated by the user to prevent replay; e7. User C uses the public key of the foreign domain ticket licensing server TGS2 Encrypt the message M5 and send it to the external domain ticket licensing server TGS2; In step e5, the user C constructs the parameter M0 for non-interactive Bulletproofs authentication. Said The specific generation process of each parameter includes: e51.Parameters L ,s R are two blinding factors, and the generation process is as follows: The parameter v represents the private key KR of user C c The corresponding integer, first convert v into a binary vector a, and then construct vector a L =a,a R = a-1, then generate two L 、a R The blinding factor s obtained by blinding L ,s R ; e52. Parameters y and z are two random numbers generated. The generation process is as follows: make represents a cyclic group of prime order p, represents the ring of integers modulo p, is There is an n-dimensional vector space on express Then: z is from The random number generated by the element in , y is a random number obtained using a one-way hash function, expressed as y = hash (v, z); e53. Parameter B is the generator in the Pedersen commitment, parameter is the blinding factor corresponding to B, which is given by the formula generate; e54. The parameters G and H are cyclic groups of prime order p. Generators randomly generated by elements in; e55.Parameters t(x),δ(y,z) are the proof parameters of Bulletproofs, where δ(y,z)=(zz 2 )<1,y n >-z 3 <1,2 n > t(x)=t0+t1x+t2x 2 Where x is the random private key used to construct the polynomial t(x), t0, t1, and t2 are the coefficients before the independent variable of the polynomial t(x); e56.Parameters is through The orthogonal blinding factor corresponding to t(x) is obtained, where are the blinding factors corresponding to v, t1, and t2 respectively; e57. Parameters V, T1, T2 are obtained by Pedersen commitment: V = com(v), T1 = com(t1), T2 = com(t2); e58.Parameters is a blinding factor, and parameter A is a Pedersen commitment in vector form. The specific method of obtaining it is as follows: Vector-based Pedersen commitment A = Com(a L ,a R ), commitment S = Com(s L ,s R ),parameter By formula Obtain, among which For commitment A = Com(a L ,a R ) corresponds to the blinding factor parameter, Commitment S = Com(s L ,s R ) corresponds to the blinding factor parameter.
2. A Bulletproofs-based Kerberos cross-domain authentication method as claimed in claim 1, characterized in that: Step a includes: a1. User C constructs message Q1, Among them, ID c is the user ID of user C, is the ticket authorization server number in the domain, Random1 is a random number generated by the user to prevent replay; User C uses his private key KR c Sign message Q1 and generate signature information a2. User C constructs message M1, a3. User C uses the public key of the domain authentication server AS1 for message M1 The encrypted data is sent to the authentication server AS1 in the domain.
3. A Bulletproofs-based Kerberos cross-domain authentication method as claimed in claim 1, characterized in that: Step b includes: b1. The domain authentication server AS1 receives the message M1 sent by user C; b2. The domain authentication server AS1 uses its private key Decrypt message M1; b3. The authentication server AS1 in this domain uses the public key KP of user C c Verify signature information After confirming that the message was sent by user C, determine whether the identity of user C exists and is legitimate based on the records in the local database; b4. If the identity of user C exists and is legitimate, the domain authentication server AS1 constructs message Q2. in, The shared session key between the domain ticket grant server TGS1 and user C constructed by the domain authentication server AS1, The ID of the ticket license server in the domain. c is the user ID of user C; The domain authentication server AS1 uses its private key Sign message Q2 and generate signature information b5. The authentication server AS1 in this domain constructs a ticket for the user to access the ticket licensing server TGS1 in the domain Indicates that the message is encrypted using the public key of the ticket server TGS1 in the domain; The domain authentication server AS1 uses its private key For bills Sign and generate signature information b6. The authentication server AS1 in this domain constructs message M2, b7. The authentication server AS1 in this domain uses the public key KP of user C for message M2 c Encrypted and sent to user C.
4. A Bulletproofs-based Kerberos cross-domain authentication method as claimed in claim 1, characterized in that: Step C includes: c1. User C receives a message M2 from the domain authentication server AS1; C2. User C uses his private key KR c Decrypt message M2; C3. User C determines whether message M2 is a replay based on the random number in the decrypted information; C4. If it is not a replay, user C uses the public key of the domain authentication server AS1 Verify signature information To confirm the bill Whether it is issued by TGS1; c5. Verifying the ticket After being signed by TGS1, user C constructs the authentication code Auth1. Among them, Random2 is another random number generated by the user to prevent replay, ID c is the user ID of user C, Indicates that the message is encrypted using the session key of user C and the ticket server TGS1 in the domain; User C uses his private key KR c Sign Auth1 and generate signature information c6. User C constructs message M3, c7. Use the public key of the ticket licensing server TSG1 in the domain The message M3 is encrypted and sent to the in-domain ticket grant server TGS1.
5. A Bulletproofs-based Kerberos cross-domain authentication method as claimed in claim 1, characterized in that: Step d includes: d1. The domain ticket licensing server TGS1 receives a message M3 sent by user C; d2. The domain ticket licensing server TGS1 uses its private key Decrypt message M3; d3. The domain ticket licensing server TGS1 uses the public key KP of user C c Verify signature information Confirm whether Auth1 is issued by user C, and verify the correctness of user C's identity and whether it has been tampered with; d4. If the user C's identity information is correct and has not been tampered with, the domain ticket licensing server TGS1 constructs message Q3, Among them, h() represents a one-way hash function. The server number for the external domain ticket license; The domain ticket grant server TGS1 uses its private key Sign Q3 and generate signature information d5. The in-domain ticket licensing server TGS1 constructs a ticket for the user to access the out-domain ticket licensing server TGS2 in, Indicates that the message is encrypted using the session key of user C and the ticket server TGS1 in the domain; The domain ticket grant server TGS1 uses its private key Bills Sign and generate signature information d6. The domain ticket licensing server TGS1 constructs message M4, d7. The domain ticket licensing server TGS1 uses the public key KP of user C c Message M4 is encrypted and sent to user C.
6. A Bulletproofs-based Kerberos cross-domain authentication method as claimed in claim 5, characterized in that: In step d3, the intra-domain ticket authorization server TGS1 verifies the correctness of the identity of user C and whether it has been tampered with, specifically including: The domain ticket grant server TGS1 uses the public key KP of user C c Verify signature information Confirm whether Auth1 is issued by user C; The domain ticket grant server TGS1 uses its private key Decryption get And based on the public key of the domain authentication server AS1 Verify signature information Confirm whether Q2 is issued by the authentication server AS1 in this domain; The ticket grant server TGS1 in the domain obtains the ticket from Q2 According to the obtained Decrypt Auth1 and get the ID c and Random2, according to the decrypted ID c With the ID in message Q2 c , confirm whether the ticket is owned by the original applicant, confirm the correctness of user C’s identity and whether it has been tampered with.
7. A Bulletproofs-based Kerberos cross-domain authentication method as claimed in claim 1, characterized in that: Step f comprises: f1 external domain ticket license server TGS2 receives a message M5 sent by user C; f2. The foreign domain ticket licensing server TGS2 uses its private key To decrypt message M5; f3. The external domain ticket licensing server TGS2 uses a non-interactive Bulletproofs authentication method based on the decrypted information to determine whether the user is legitimate; f4. If the user is legitimate, the external domain ticket license server TGS2 constructs message Q4 and constructs a ticket Ticket for accessing the external domain application server. s , construct the session key K between user C and external domain application server S c,s ,in, Then use the private key of the foreign domain ticket licensing server TGS2 Sign Q4 and generate signature information And based on message Q4 and signature information Construct a ticket to access an external domain application server Indicates that the message is encrypted using the public key of the external domain application server S; f5. The foreign domain ticket licensing server TGS2 uses its private key Ticket s Signature, generate signature information f6. The external domain ticket license server TGS2 constructs message M6, f7. The external domain ticket licensing server TGS2 uses the public key KP of user C c Message M6 is encrypted and sent to user C.
8. A Bulletproofs-based Kerberos cross-domain authentication method as claimed in claim 7, characterized in that: In step f3, the non-interactive Bulletproofs authentication method is used to determine whether the user is legitimate, specifically including: The foreign domain ticket granting server TGS2 verifies whether the following two equations hold true through the parameter message M0 obtained from user C: in, x is the random key used by the foreign ticket granting server TGS2 to verify the equation, and the commitment S=Com(s L ,s R ), P is the result obtained by the external domain ticket licensing server TGS2 after calculation based on the parameters obtained from the user C; If the above equation holds true, the legitimacy and correctness of the information can be proven.
9. A Bulletproofs-based Kerberos cross-domain authentication method as claimed in claim 1, characterized in that: Step g comprises: g1 user C receives a message M6 sent by the external ticket licensing server TGS2; g2. User C uses his private key KR c To decrypt message M6; g3 User C determines whether the message M6 is replayed based on the random number in the decrypted information; g4. If it is not a replay, user C uses the public key of the external domain ticket licensing server TGS2 Verify the signature To confirm the ticket s Whether it is issued by TGS2; g5. If Ticket s Correct, then user C generates another random number Random4 to prevent replay, and based on Random4 and ID Realm The construction generates a new authentication code Auth2, Indicates the use of the session key K between user C and external domain application server S c,s Encrypted messages; User C uses his private key KR c Sign Auth2 and generate signature information g6. User C constructs message M7, g7. User C uses the public key KP of the external domain application server S S The message M7 is encrypted and sent to the server S.
10. A Bulletproofs-based Kerberos cross-domain authentication method as claimed in claim 1, characterized in that: Step h comprises: h1. External domain application server S receives message M7 sent by user C; h2. The external domain application server S uses its private key KR s Decrypt message M7; h3. The external domain application server S uses its private key KR s Decrypt Ticket s Get the parameters Q4 and Use the public key of the foreign domain ticket authorization server TSG2 Verify the signature To confirm the ticket s Whether it is issued by TSG2; h4. The external domain application server S uses the session key K obtained from the external domain ticket grant server TGS2. c,s Decrypt Auth2 and get the parameter ID Realm 、r Q3 , Random4, determine the ID Realm and Whether to decrypt the ticket s The ID in Q4 obtained Realm and The two parties check whether the ticket is held by the original applicant, thereby verifying the correctness and legitimacy of message M7; h5. If the verification is successful, the external domain application server S constructs message M8: M8={Random4+1} h6. The external domain application server S uses the session key K between user C and server S c,s Encrypt message M8 and send the encrypted message M8 to user C as a message for mutual authentication between the two parties; h7. User C establishes formal communication with the external domain application server S.
Citation Information
Patent Citations
Blockchain cross-chain identity authentication method based on side chain
CN111339509A
Blockchain cross-chain identity authentication method based on side chain
CN111539718A
