Cross-domain identity authentication method and system in cloud environment

By using trust chains and root trust domains to generate traceable key chains in distributed cloud environments, the problem of cross-domain user authentication in the identity-based cryptographic system is solved, and efficient cross-domain identity authentication is achieved .

CN119071045APending Publication Date: 2024-12-03SICHUAN ZHONGDIAN AOSTAR INFORMATION TECHNOLOGIES CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411115682.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

In the identification-based cryptographic system, cross-domain user authentication is difficult to achieve certificate-free management, which violates the principle of certificate-free design.

Method used

By introducing trust chains and root trust domains in a distributed cloud environment, the user's private keys are generated based on the identity and the private keys of the previous level trust domain, forming a traceable key chain, and using the public keys of the root trust domain to verify the identity. Implement cross-domain identity authentication without certificate management.

Benefits of technology

Cross-domain identity authentication with certificate-free management has been successfully implemented, which improves verification efficiency and reduces communication overhead, and avoids the complexity of certificate management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071045A_ABST
    Figure CN119071045A_ABST
Patent Text Reader

Abstract

The invention discloses a cross-domain identity authentication method and system in a cloud environment. The method is applied to cross-domain user identity authentication in a distributed cloud environment. The distributed cloud environment comprises a plurality of trust chains and a root trust domain, and the trust chains comprise a plurality of trust domains of different levels; the private key of the trust domain is generated according to the identifier of the trust domain and the private key of the upper-level trust domain; the identity authentication method comprises the following steps: S1, a first user sends an identity authentication request comprising identifications, public keys and authentication parameters of a trust domain in which the first user is located and all superior trust domains to a second user; wherein the verification parameter is generated according to the identifier of the trust domain and a private key of an upper-level trust domain; and S2, the second user verifies the identity of the first user according to the identity verification request and the public key of the root trust domain. According to the method, cross-domain identity authentication without certificate management is successfully realized through the hierarchically constructed cloud environment, and the verification efficiency and the communication overhead of the method are superior to those of a cross-domain authentication scheme based on certificate management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of identity authentication, and in particular to a cross-domain identity authentication method and system in a cloud environment. Background Art

[0002] Cloud data centers have become a common means of system construction. When a single cloud data center is used to build a system, once a single cloud data center fails due to power or communication problems, the system will still be paralyzed. Based on this, a distributed cloud environment can be built to solve the above problems. It is easy to achieve mutual authentication of users in each trust domain of a distributed cloud environment, but it is difficult to achieve cross-domain user mutual authentication because different trust domains do not trust each other. The cross-domain solution based on certificate management can achieve cross-domain user authentication, but if it is applied to the identity-based cryptograph system (IBC, Identity-Based Cryptograph), it will introduce the problem of certificate management in the identity-based cryptograph system, which violates the design principle of certificate-free identity-based cryptograph system. Summary of the invention

[0003] The purpose of the present invention is to provide a cross-domain identity authentication method and system in a cloud environment to solve the problem of introducing certificate management into an identification-based cryptographic system during cross-domain identity authentication.

[0004] The present invention is achieved through the following technical solutions: A cross-domain identity authentication method in a cloud environment, the method is applied to cross-domain user identity authentication in a distributed cloud environment; The distributed cloud environment includes several trust chains, the trust chains include several trust domains at different levels, and the trust domains include several users; The private key of the trust domain is generated based on the identifier of the trust domain and the private key of the upper trust domain; The distributed cloud environment also includes a root trust domain, which is a trust domain at the upper level of the uppermost trust domain in a number of trust chains; The method comprises the following steps: S1. The first user sends an identity authentication request to the second user; The first user and the second user are respectively located on different trust chains; The identity authentication request includes: the identifiers, public keys and verification parameters of the trust domain to which the first user belongs and all upper-level trust domains in the trust chain to which the trust domain belongs; The authentication parameters of the trust domain are generated based on the identifier of the trust domain and the private key of the upper trust domain; S2. The second user verifies the identity of the first user according to the identity authentication request and the public key of the root trust domain.

[0005] 2. The cross-domain identity authentication method in a cloud environment according to claim 1, characterized in that: The private key of the root trust domain is randomly generated.

[0006] In some embodiments, the public keys of the trust domain and the root trust domain are generated based on their private keys and an elliptic curve algorithm.

[0007] In some embodiments, generating the private key of the trust domain according to the identifier of the trust domain and the private key of the upper-level trust domain includes: signing the identifier of the trust domain with the private key of the upper-level trust domain of the trust domain, and then calculating the private key of the trust domain using a hash algorithm.

[0008] In some embodiments, the signature is a non-deterministic signature.

[0009] In some embodiments, the trust domain further includes a key generation center, and the key generation center is used to store the public key and the private key of the trust domain.

[0010] A cross-domain identity authentication system in a cloud environment, including a distributed cloud environment; The distributed cloud environment includes several trust chains, the trust chains include several trust domains at different levels, and the trust domains include several users; The private key of the trust domain is generated based on the identifier of the trust domain and the private key of the upper trust domain; The distributed cloud environment also includes a root trust domain, which is a trust domain at the upper level of the uppermost trust domain in a number of trust chains; The first user and the second user are users in trust domains respectively located on different trust chains; The first user sends an identity authentication request to the second user; The identity authentication request includes: the identifiers, public keys and verification parameters of the trust domain to which the first user belongs and all upper-level trust domains in the trust chain to which the trust domain belongs; The authentication parameters of the trust domain are generated based on the identifier of the trust domain and the private key of the upper trust domain; The second user verifies the identity of the first user according to the identity authentication request and the public key of the root trust domain.

[0011] Compared with the prior art, the present invention has the following advantages and beneficial effects: 1. The cloud environment built by the present invention shares a root trust domain, and the public key and private key of each trust domain are generated according to the identifier of the trust domain and the private key of the upper-level trust domain, thereby forming a traceable key chain. When a user receives a series of identifiers and public keys sent by a user whose identity is to be verified, the identity of the user whose identity is to be verified can be verified by verifying the correctness of each identifier and public key, thereby successfully realizing cross-domain identity authentication without certificate management.

[0012] 2. Since the cross-domain identity authentication method of the present invention adopts a solution without certificate management, there is no need to parse certificates step by step during authentication. It is superior to the cross-domain authentication solution based on certificate management in terms of verification efficiency and communication overhead. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0014] Figure 1 Schematic diagram of the architecture of the distributed cloud environment in the present invention. DETAILED DESCRIPTION

[0015] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments.

[0016] Example 1 An embodiment of the present application provides a cross-domain identity authentication method in a cloud environment, which is applied to user identity authentication in a distributed cloud environment. Figure 1 Shown is an architectural diagram of a distributed cloud environment.

[0017] The distributed cloud environment adopts a hierarchical architecture, including several trust chains, each trust chain has several trust domains of different levels, each trust domain has several users and a key generation center (KGC), where the key generation center is used to store the public key and private key of the trust domain to which it belongs, and generate keys for users in the trust domain. The private key of each trust domain is generated according to the identity of the trust domain and the private key of the trust domain of the previous level, and can be specifically generated by the key generation center of the trust domain of the previous level. The verification parameters of each trust domain are generated according to the identity, public key, private key of the trust domain and the private key of the trust domain of the previous level, and can also be specifically generated by the key generation center of the trust domain of the previous level.

[0018] In addition, the hierarchical architecture also includes a root trust domain, which is the upper-level trust domain of the upper-level trust domain in all trust chains, that is, all users in all trust domains believe in the authenticity of the root public key of the root trust domain.

[0019] In order to explain the principle of cross-domain authentication, first set the following scenario that requires cross-domain authentication: User User1-A2 in trust domain A2 needs to pass message M to user User1-B1 in trust domain B1.

[0020] The superior trust domain of trust domain A2 is A1, and the root trust domain is R.

[0021] The public key and private key of the root trust domain are K pub-R , K pri-R express; The identity, public key, private key, and verification parameters of trust domain A1 are represented by ID A1 , K pub-A1 , K pri-A1 、V A1 express; The identity, public key, private key, and verification parameters of trust domain A2 are respectively represented by ID A2 , K pub-A2 , K pri-A2 、V A2 express; The ID, public key, and private key of user User1-A2 in trust domain A2 are respectively User1-A2 , K pub-User1-A2 , K pri-User1-A2 express; In an identity-based cryptographic system, the key generation center generates a private key based on the user's identity.

[0022] The parameters of the elliptic curve cryptography algorithm are {q, a, b, G, N}, where G represents a base point of the elliptic curve.

[0023] K pri-R For random generation, K is randomly generated each time pri-R It can prevent the entire cloud environment from being paralyzed due to a root key leak.

[0024] K pub-R =[K pri-R ].G.

[0025] The root trust domain public parameters {q, a, b, G, N} and K pub-R , private storage K pri-R .

[0026] K pri-A1 =H(ID A1 ||S A1 ), where S A1 Use K pri-R ID A1 The signature is obtained; in order to obtain a different secret key each time, the signature uses a non-deterministic signature.

[0027] K pub-A1 =[K pri-A1 ].G; V A1 =(1+K pri-R ) -1 .[K pri-A1 -H (ID A1 ||K pub-A1 )]mod N.

[0028] K pri-A2 =H(ID A2 ||S A2 ), where S A2 Use K pri-A1 ID A2 Signature is obtained; K pub-A2 =[K pri-A2 ].G; V A2 =(1+K pri-A1 ) -1 .[K pri-A2 -H (ID A1 ||K pub-A2 )]mod N.

[0029] The message transmission mainly includes the following steps: S1, User1-A2 use their own private key K pri-User1-A2 Sign the message M and get the signature value S M ; S2, User1-A2 will M At the same time as it is passed to User1-B1, an authentication request is sent to User1-B1; This authentication request is used by User1-B1 to verify the identity of User1-A2, including: ID A1 , K pub-A1 、V A1 and ID A2 , K pub-A2 、V A2 ; S3, User1-B1 receives S M After the authentication request, first verify the identity of User1-A2; Specifically, User1-B1 receives the authentication request and the root public key K of the root trust domain. pub-R Verify the identity of User1-A2. The specific verification process is as follows: S31. Calculate e i =H(IDAi||K pub-Ai ), Here, i represents the level. In this scenario, i can only be 1 and 2.

[0030] S32, calculate t i =e i +V Ai ; and judge t i Is it 0 if there is 1 t i is 0, then the verification is directly judged to have failed. If all t i If both are not 0, proceed to the next step of verification; S33. Calculate K ’ pub-Ai =[V Ai ].G+[t].K pub-Aj , where j=i-1, is the previous level of i; The root trust domain is level 0, that is, K pub-A0 =K pub-R , K pri-A0 =K pri-R ; And judge K ’ pub-Ai Is it equal to the received K pub-Ai , if all K ’ pub-Ai All equal to K pub-Ai , the verification is successful.

[0031] S4, User1-B1 through ID User1-A2 The logo of S M Decrypt to get the original message M; In an identity-based cryptographic system, the identity is the public key.

[0032] Example 2 This embodiment is a cross-domain identity authentication system in a cloud environment, which includes a distributed cloud environment; The distributed cloud environment includes several trust chains, the trust chains include several trust domains at different levels, and the trust domains include several users; The private key of the trust domain is generated based on the identifier of the trust domain and the private key of the upper trust domain; The distributed cloud environment also includes a root trust domain, which is a trust domain at the upper level of the uppermost trust domain in a number of trust chains; The first user and the second user are users in trust domains respectively located on different trust chains; The first user sends an identity authentication request to the second user; The identity authentication request includes: the identifiers, public keys and verification parameters of the trust domain to which the first user belongs and all upper-level trust domains in the trust chain to which the trust domain belongs; The authentication parameters of the trust domain are generated based on the identifier of the trust domain and the private key of the upper trust domain; The second user verifies the identity of the first user according to the identity authentication request and the public key of the root trust domain.

[0033] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Any simple modification or equivalent change made to the above embodiment based on the technical essence of the present invention shall fall within the protection scope of the present invention.

Claims

1. A cross-domain identity authentication method in a cloud environment, characterized in that: The method is applied to cross-domain user identity authentication in a distributed cloud environment; The distributed cloud environment includes a plurality of trust chains, the trust chains include a plurality of trust domains at different levels, and the trust domains include a plurality of users; The private key of the trust domain is generated according to the identifier of the trust domain and the private key of the upper-level trust domain; The distributed cloud environment further includes a root trust domain, wherein the root trust domain is a trust domain at a higher level than the highest level trust domain on the plurality of trust chains; The method comprises the following steps: S1. The first user sends an identity authentication request to the second user; The first user and the second user are respectively located on different trust chains; The identity authentication request includes: the identifiers, public keys and verification parameters of the trust domain to which the first user belongs and all upper-level trust domains in the trust chain to which the trust domain belongs; The verification parameter of the trust domain is generated according to the identifier of the trust domain and the private key of the upper trust domain; S2. The second user verifies the identity of the first user according to the identity authentication request and the public key of the root trust domain.

2. The cross-domain identity authentication method in a cloud environment according to claim 1, characterized in that: The private key of the root trust domain is randomly generated.

3. The cross-domain identity authentication method in a cloud environment according to claim 1, characterized in that: The public keys of the trust domain and the root trust domain are generated according to their private keys and an elliptic curve algorithm.

4. The cross-domain identity authentication method in a cloud environment according to claim 1, characterized in that: The private key of the trust domain is generated according to the identifier of the trust domain and the private key of the upper-level trust domain, including: signing the identifier of the trust domain with the private key of the upper-level trust domain of the trust domain, and then calculating the private key of the trust domain by using a hash algorithm.

5. The cross-domain identity authentication method in a cloud environment according to claim 4, characterized in that: The signature is a non-deterministic signature.

6. The cross-domain identity authentication method in a cloud environment according to claim 1, characterized in that: The trust domain further includes a key generation center, and the key generation center is used to store the public key and the private key of the trust domain.

7. A cross-domain identity authentication system in a cloud environment, characterized in that: Including distributed cloud environments; The distributed cloud environment includes a plurality of trust chains, the trust chains include a plurality of trust domains at different levels, and the trust domains include a plurality of users; The private key of the trust domain is generated according to the identifier of the trust domain and the private key of the upper-level trust domain; The distributed cloud environment further includes a root trust domain, which is a trust domain at a higher level than the highest level trust domain on the plurality of trust chains; The first user and the second user are users in trust domains respectively located on different trust chains; The first user sends an identity authentication request to the second user; The identity authentication request includes: the identifiers, public keys and verification parameters of the trust domain to which the first user belongs and all upper-level trust domains in the trust chain to which the trust domain belongs; The verification parameter of the trust domain is generated according to the identifier of the trust domain and the private key of the upper trust domain; The second user verifies the identity of the first user according to the identity authentication request and the public key of the root trust domain.

Citation Information

Cited By

  • Digital identity encryption authentication method

    CN120915561A

  • Digital identity encryption authentication method

    CN120915561B

  • Cross-domain authentication method and device and storage medium

    CN121486110A