Multi-authority attribute-based signature method supporting circuit structure
By using multi-linear mapping in the multi-authorization center attribute-based signature scheme to implement a general circuit access structure, the shortcomings of the circuit structure scheme and the backtracking attack problem in the existing technology are solved, and flexible access control and security improvement are achieved.
Patent Information
- Application Number
- CN202110320343.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-25
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2041-03-25
AI Technical Summary
The existing multi-authorization center attribute-based signature scheme has shortcomings in realizing circuit structure and is difficult to resist backtracking attacks. Moreover, a single authorization center manages a large number of attribute parameters, which increases the workload and reduces efficiency.
Multi-linear mapping is used to implement a general circuit access structure. The authorization center generates public parameters and master keys. The attribute authority generates attribute signature private keys and verification public keys. The message signer signs the message based on the access structure. The message verifier verifies the user attributes by Whether the access structure is satisfied to verify the validity of the signature.
It realizes a flexible access structure of multiple authorization centers, reduces the computing burden of a single authorization center, enhances the security of the system, can resist backtracking attacks, and is suitable for many-to-many access control.
Smart Images

Figure GDA0004972784000000044 
Figure GDA0004972784000000053 
Figure GDA0004972784000000055
Abstract
Description
Technical Field
[0001] The present invention relates to the field of cryptographic security, and more specifically, to a multi-authority attribute-based signature method supporting a circuit structure. Background Art
[0002] In 2008, Maji et al. first proposed the attribute-based signature (ABS) scheme and elaborated on the concept of ABS, that is, the signer obtains the signing key from the attribute agency, and after verifying that the signer's attribute set satisfies the access structure, the message can be signed. This scheme is secure under the general group model. ABS can be divided into two categories according to the access structure, namely signature policy attribute based signature (SPABS) and key policy attribute based signature (KPABS). In SPABS, the signing key is generated according to the attribute set, and the signing of the message is completed by the access structure satisfied by the attribute set. In KPABS, the signing key is generated according to the access structure, and the signing of the message is completed by the attribute set that satisfies the access structure.
[0003] The attribute-based cryptographic system is intuitive and flexible, and can divide identity attribute parameters in a fine-grained manner. It has attracted the attention of many scholars and many signature schemes have emerged. However, many of these schemes are attribute-based signature schemes belonging to a single authorization center. Each attribute of the user needs to obtain a signature private key from a single authorization center. A single authorization center needs to manage a large number of attribute parameters, which greatly increases the workload of this authorization center and reduces its work efficiency. In fact, in real life, different attributes may be managed by different authorization centers. For example, the ID card number is managed by the ID card processing agency of the Public Security Bureau, and the driver's license number is uniformly issued and managed by the Motor Vehicle Administration Bureau of the authorization center. Chase first proposed the concept of multiple authorization centers and gave a multi-authorization center attribute-based encryption scheme. Multiple attributes of users are supervised by different authorization centers, and encryption private keys are generated for each of them. Maji et al. first proposed a concept and implementation scheme of attribute-based signatures for multiple authorization centers, using a monotone spanning scheme instead of an access structure method, but the scheme can only be proven to be secure under the general bilinear group model. Sun Changxia et al. proposed a multi-authorization center attribute-based signature scheme based on the concept of Chase, but there is insecurity in this model, and the public key of the attribute authorization center is not used in the verification process. Cao et al. also proposed an attribute-based signature scheme for multiple authorized centers. Their scheme supports strategies with complex conditions such as AND gates, OR gates, and thresholds. It is secure under the standard DH problem and can also achieve unforgeability and privacy protection of attribute signers. The tree access structure was proposed by Bethencourt et al. in 2007. The tree structure can represent flexible access control strategies, but its security proof is only based on the general group assumption. In order to implement a CP-ABE mechanism with flexible strategies under the DBDH assumption, Goyal et al. and Liang et al. adopted a bounded tree structure. In 2009, Ibraimi et al. adopted a general access tree structure to eliminate the constraints of boundary conditions. Waters proposed the first ABE scheme that supports non-monotonic access structures, introduced a linear secret-sharing scheme (LSSS), and implemented "AND", "OR", "NOT" and threshold operations. The emergence of LSSS has led to a large number of attribute-based cryptographic schemes based on LSSS, including signature schemes that implement multiple authorized centers. Subsequently, attribute-based cryptographic schemes using LSSS have made new developments. Grag et al. proposed a general circuit as a new access structure, taking attributes as leaf nodes of the access tree and circuit gates as non-leaf nodes. Only when the user attribute set satisfies the access tree can decryption be achieved. The circuit structure enriches the expression of attribute cryptographic systems.The final result of the monotone circuit structure based on multilinear mapping has only one unknown quantity, so the signed ciphertext can be realized independent of the number of attributes, and the decryptor no longer needs to perform a large number of operations to restore the secret shared value during the decryption process. However, there is currently no solution to implement the circuit structure in the signature of multiple authorized centers. Summary of the invention
[0004] This Summary is provided to introduce some concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.
[0005] In view of the deficiencies in the above-mentioned prior art, the present invention provides a multi-authority attribute-based signature method that supports circuit structure. While realizing multi-authorization, it realizes a general circuit access structure based on multi-linear mapping, making the access structure more flexible and resistant to backtracking attacks.
[0006] According to one aspect of the present invention, a multi-authority attribute-based signature method is provided, wherein the method comprises:
[0007] The authorization center generates public parameters for each attribute authority A in the N attribute authorities. k Generate a master key {msk k} k∈{1,2,...N} , and the generated master key {msk k} k∈{1,2,...N} Sent to the corresponding attribute authority A together with the public parameter pub k ;
[0008] Attribute Authority A k Based on the master key {msk k} k∈{1,2,...N} Generate attribute signature private key sk k and verify the public key VK, and attribute signature private key sk k Sent to the message signer together with the public parameter pub;
[0009] The message signer signs the private key sk based on the public parameter pub and the attribute signature k , the attribute authority A k The access structure f k , sign the message M in the message space and output the signature σ of the message M; and
[0010] The message verifier receives the attribute from the attribute authority A k Obtain the verification public key VK, and verify whether the user's attributes satisfy the access structure f k To verify the signature σ.
[0011] According to a further embodiment of the present invention, the authorization center generates the public parameter pub further comprising:
[0012] Input security parameter λ, maximum circuit height l, number of attributes z, number of attribute authorities N, and generate system public parameter pub.
[0013] According to a further embodiment of the present invention, the authorization center is each attribute authority A in the N attribute authorities. k Generate a master key {msk k} k∈{1,2,...N} Further including:
[0014] Run g(1 λ , m=l+1) generates a group G=(G1,...,G m ), and the corresponding generators g1,...,g m , let g = g1; and
[0015] Randomly select h1,...h z ∈G1,b∈Z p * , for each attribute authority A k , select x k ∈Z p * , the master key of each attribute authority is msk k ={x k ,b}.
[0016] According to a further embodiment of the present invention, the method further comprises:
[0017] calculate As attribute authority A k The public key as well as
[0018] Generate common parameters of the system:
[0019] According to a further embodiment of the present invention, the attribute authority A k Generate attribute signature private key sk k Further including:
[0020] (1) The attribute authority A k To other attribute authority A j Share a pseudo-random function seed s kj , let s kj =s jk ; A k Define pseudo-random function seed a k ∈Z p* ,calculate and send it to the rest of the attribute authorities; give each user a global identifier GID and define a pseudo-random function
[0021] (2) To obtain an A k The attribute private key of the relevant attribute in the key distribution protocol is obtained by the user
[0022] Where R kj ∈Z p * ;
[0023] (3) According to D kj User Computing in
[0024] (4) For each attribute authority A k ,make Select r k ∈Z p * , and calculate
[0025]
[0026] (5) For each user's attribute i∈W k ,calculate Where Z i ∈Z p * ;as well as
[0027] (6) The signing key in each authority is
[0028] According to a further embodiment of the present invention, the attribute authority A k Generating the verification public key VK further includes:
[0029] Authority for Attributes A k The tree access structure f in k =(n,q,A,B,GateType) Generate verification public key include:
[0030] The tree access structure f k = Each node w in (n,q,A,B,GateType) sets r w , for the root node there is r w =X k For the remaining nodes, r is set in a bottom-up manner. w , as follows:
[0031] A. For w∈[1,z], that is, the input node, let its corresponding attribute be att(w), and randomly select
[0032] r w ∈Z p * ,calculate C w ={C w,1 ,C w,2};
[0033] B. For w∈[z+1,z+q] and GateType(w)=OR, that is, OR gate structure, its depth j=deth(w), randomly select a w ,b w ,r w ∈Z p * ,calculate
[0034] C w ={C w,1 ,C w,2 ,C w,3 ,C w,4};
[0035] as well as
[0036] C. For w∈[z+1,z+q] and GateType(w)=AND, that is, AND gate structure, its depth j=deth(w), randomly select a w ,b w ,r w ∈Z p * ,calculate
[0037] C w ={C w,1 ,C w,2 ,C w,3}.
[0038] According to a further embodiment of the present invention, the message signer signs the message M in the message space further comprising:
[0039] (1) Use W k * Represents the set of all leaf nodes contained in the tree access structure f, for the message M = m1m2...m n , select u,u1,u2,...u n ∈G1, calculate
[0040] (2) Randomly select s∈Z p* ,calculate: in
[0041] (3) For each attribute authority A k , randomly select Z′ w ∈Z * p , and calculate respectively: as well as
[0042] (4) Final signature generation
[0043] According to a further embodiment of the present invention, the message verifier verifies whether the user's attributes satisfy the access structure f k To verify the signature σ further comprises:
[0044] (1) In attribute authority A k Calculate E for each node w :
[0045] A. For w∈[1,z], it is the input node,
[0046] iii. If attribute w∈W k ∩W * k ,calculate
[0047]
[0048] iv. If attribute w∈W k \W k ∩W * k ,calculate
[0049]
[0050] B. For w∈[z+1,z+q] and GateType(w)=OR, that is, an OR gate node, its depth j=deth(w), calculate:
[0051]
[0052] C. For w∈[z+1,z+q] and GateType(w)=AND, that is, AND gate node, its depth j=deth(w), calculate:
[0053]
[0054] (2) Get Because r z+q =X k , so we can get make as well as
[0055] (3) Calculation Is it equal to T? If so, it proves that the signature is valid; otherwise, it declares that the signature is invalid.
[0056] According to another aspect of the present invention, a multi-authority attribute signature-based distributed storage platform is provided, wherein the distributed storage platform comprises:
[0057] An authorization center, the authorization center is configured to be each attribute authority A in the N attribute authorities k Generate a master key {msk k} k∈{1,2,...N} and sent together with the public parameters to the corresponding attribute authority A k ;
[0058] N attribute authorities A k , each attribute authority A k is configured based on the master key {msk k} k∈{1,2,...N} Generate attribute signature private key sk k and verify the public key VK, and attribute signature private key sk k Sending it to the message signer together with the public parameters;
[0059] One or more message signers, each of which is configured to sign a private key sk based on the public parameter, the attribute k , the attribute authority A k The access structure f k , sign the message M in the message space and output the signature σ of the message M; and
[0060] One or more message verifiers, each of which is configured to receive a message from the attribute authority A k Obtain the verification public key VK, and verify whether the user's attributes satisfy the access structure f k To verify the signature σ.
[0061] Compared with the prior art, the multi-authority attribute-based signature method of the present invention has at least the following technical effects:
[0062] 1. The signature module of the present invention uses attribute-based signature technology, which uses user-related attributes as the basis for whether the signature is valid, and is suitable for many-to-many access control;
[0063] 2. The present invention enables multiple authorization centers to manage attributes, thus alleviating the burden of calculation and storage of a single authorization center; and
[0064] 3. The present invention adopts a general circuit access structure, making the access structure more flexible and resistant to backtracking attacks.
[0065] These and other features and advantages will become apparent by reading the following detailed description and by reference to the associated drawings.It is to be understood that the foregoing general description and the following detailed description are illustrative only and are not restrictive of the aspects of what is claimed. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] In order to understand the manner in which the above features of the present invention are used in detail, the above briefly summarized contents can be described in more detail with reference to various embodiments, some of which are shown in the accompanying drawings. However, it should be noted that the accompanying drawings only show some typical aspects of the present invention and should not be considered to limit its scope, because the description may allow for other equally effective aspects.
[0067] Figure 1 This is an example model diagram of a distributed storage platform to which the multi-authority attribute signature method of the present invention can be applied.
[0068] Figure 2 is an exemplary flow chart of a multi-authority attribute-based signature method supporting a circuit structure according to an embodiment of the present invention. DETAILED DESCRIPTION
[0069] The present invention will be described in detail below in conjunction with the accompanying drawings, and the features of the present invention will be further revealed in the following specific description.
[0070] Figure 1 This is an example model diagram of a distributed storage platform to which the multi-authority attribute signature method of the present invention can be applied. Figure 1 In the example, the application scenario is an electronic medical record system (EMRS) based on blockchain, but those skilled in the art should understand that the present invention is applicable to any distributed storage platform involving authorization and authentication. Figure 1As shown in , the platform may include an authorization center CA, N attribute authorities, one or more data owners (also called message signers) and one or more data verifiers (also called message verifiers). The authorization center CA is a network organization that manages and issues security credentials and encrypted information security keys. Attribute authorities manage different attributes in different real lives. For example, the identity card number is managed by the identity card processing agency of the Public Security Bureau (attribute authority 1), and the social security card number is uniformly issued and managed by the Social Security Bureau (attribute authority 2). The data owner / message signer can sign the data / file he owns to prove that the data / file is indeed signed by himself. Subsequently, the person who gets the data / file, that is, the data / message verifier, can verify the correctness of the signature to determine whether the signature is signed by the data owner himself. For ease of description, Figure 1 Only one data owner and one data verifier are shown in the figure. The data owner and the data verifier register with the attribute authority, and in response, the attribute authority distributes keys and parameters to them. The electronic medical records generated in the platform can be stored on a distributed storage platform, such as an EHRS blockchain server. The data owner signs the EHRS record and uploads it to the platform. The data verifier can obtain the required record from the platform and verify the signature of the record. As an example, the signature and verification of the record can use the multi-authority attribute-based signature method that supports the circuit structure of the present invention. The following will be combined with Figure 2 The specific details of this signing method are described in detail.
[0071] Figure 2 FIG. 1 is an example flow chart of a multi-authority attribute-based signature method supporting a circuit structure according to an embodiment of the present invention. First, the authorization center CA is initialized, including generating a public parameter pub and assigning a signature parameter to each attribute authority A. k Generate a master key {msk k} k∈{1,2,...N} . Then, the CA will generate the master key {msk k} k∈{1,2,...N} Sent to the corresponding attribute authority A together with the public parameter pub k .
[0072] In a non-limiting embodiment, the authorization center CA may be initialized using the following steps:
[0073] Input security parameter λ, maximum circuit height l, number of attributes z, number of attribute authorities N, generate system public parameter pub, and generate master key {msk k} k∈{1,2,...N} , the specific steps are as follows:
[0074] (1) Run g(1 λ, m=l+1) generates a group G=(G1,...,G m ), and the corresponding generators g1,...,g m Let g = g1. Wherein, g() can be any known suitable group generation algorithm.
[0075] (2) Randomly select h1,...h z ∈G1,b∈Z p * , where Z* is a set of real numbers and p is a random large prime number. For each attribute authority A k , select x k ∈Z p * , the master key of each attribute authority is msk k ={x k ,b}, and calculate As attribute authority A k The public key Where e() can be any known suitable multilinear mapping algorithm. The common parameters of the system are:
[0076] Then, each attribute authority A k Based on the received master key {msk k} k∈{1,2,...N} Generate attribute signature private key and verification public key. For example, attribute authority A k Based on the master key {msk k} k∈{1,2,...N} , the user attribute set W whose identity is GID k , generate the attribute signature private key sk of the user with the GID identity k In one non-limiting embodiment, the attribute authority A k The attribute signature private key sk can be generated as follows k :
[0077] (1) Since users must submit the same GID to each attribute authority to obtain the signature private key, the attribute authority can recover some of the attributes of the GID through collusion. The key distribution protocol can prevent this from happening. k To other attribute authority A j Share a pseudo-random function seed s kj , let s kj =s jk . A k Define pseudo-random function seed a k ∈Z p * ,calculate And send it to the rest of the attribute authorities. If user A gives his attribute private key to user B, then B can combine his private key with A's private key to forge other people's signatures and thus achieve collusion attacks. Therefore, each user is given a global identifier GID and a pseudo-random function is defined
[0078] (2) To obtain an A k The attribute private key of the relevant attribute in the key distribution protocol is obtained by the user
[0079] Where R kj ∈Z p * .
[0080] (3) According to D kj User Computing in
[0081] (4) For each attribute authority A k ,make Select r k ∈Z p * , and calculate
[0082]
[0083] (5) For each user's attribute i∈W k ,calculate Where Z i ∈Z p * .
[0084] (6) The signing key in each authority is
[0085] Attribute Authority A k It can also be based on the master key {msk k} k∈{1,2,...N} , access structure f k , generate information about the access structure f k In one non-limiting embodiment, the attribute authority A k The following steps can be used to generate a verification public key:
[0086] Authority for Attributes A k The tree access structure f in k =(n,q,A,B,GateType) Generate the verification public key as follows
[0087] First, f k= Each node w in (n,q,A,B,GateType) sets r w For the root node, there is r w =X k For the remaining nodes, r is set in a bottom-up manner. w , as follows:
[0088] D. For w∈[1,z], which is the input node, let its corresponding attribute be att(w). Randomly select r w ∈Z p * ,calculate C w ={C w,1 ,C w,2}.
[0089] E. For w∈[z+1,z+q] and GateType(w)=OR, that is, OR gate structure, its depth j=deth(w). Randomly select a w ,b w ,r w ∈Z p * ,calculate
[0090] C w ={C w,1 ,C w,2 ,C w,3 ,C w,4}.
[0091] F. For w∈[z+1,z+q] and GateType(w)=AND, that is, AND gate structure, its depth j=deth(w).
[0092] Randomly select a w ,b w ,r w ∈Z p * ,calculate
[0093] C w ={C w,1 ,C w,2 ,C w,3}.
[0094] Subsequently, attribute authority A k The generated attribute signature private key sk k Provided to each message signer together with the public parameter pub.
[0095] The message signer signs the private key sk based on the public parameter pub and the attribute k , Attribute Authority Ak The access structure f k , sign the message M in the message space, and output the signature σ of the message M. In a non-limiting embodiment, the message signer may sign in the following way:
[0096] (1) Use W k * Represents the set of all leaf nodes contained in the tree access structure f, for the message M = m1m2...m n , select u,u1,u2,...u n ∈G1, calculate
[0097] (2) Randomly select s∈Z p * ,calculate: in
[0098] (3) For each attribute authority A k , randomly select Z′ w ∈Z * p , and calculate respectively:
[0099] (4) The final generated signature
[0100] The message authenticator can obtain the verification public key from the attribute authority and verify the signature by verifying whether the user's attributes satisfy the access structure. If so, the signature is proven to be valid. In a non-limiting example, the message authenticator can verify the signature in the following manner:
[0101] (1) In attribute authority A k Calculate E for each node w :
[0102] D. For w∈[1,z], it is the input node,
[0103] v. If attribute w∈W k ∩W * k ,calculate
[0104]
[0105] vi. If attribute w∈W k \W k ∩W * k ,calculate
[0106]
[0107] E. For w∈[z+1,z+q] and GateType(w)=OR, that is, an OR gate node, its depth j=deth(w). Calculate:
[0108]
[0109] F. For w∈[z+1,z+q] and GateType(w)=AND, that is, AND gate node, its depth j=deth(w). Calculate:
[0110]
[0111] (2) Finally, we can get Because r z+q =X k , so we can get make
[0112] (3) After calculating the value of Is it equal to T? If so, it proves that the signature is valid; otherwise, it declares that the signature is invalid.
[0113] Correctness verification:
[0114] If all attributes used to generate the signature satisfy the access structure for the attribute authority, then the access structure f can be calculated k of Therefore, there is
[0115]
[0116]
[0117] Therefore, the correctness of the verification method is proved.
[0118] What has been described above includes examples of various aspects of the claimed subject matter. Of course, it is not possible to describe every conceivable combination of components or methods for the purpose of describing the claimed subject matter, but one of ordinary skill in the art will recognize that many further combinations and permutations of the claimed subject matter are possible. Thus, the disclosed subject matter is intended to encompass all such alterations, modifications, and variations that fall within the spirit and scope of the appended claims.
Claims
1. A multi-authority attribute-based signature method supporting circuit structure, characterized in that: The method comprises: The authorization center generates a public parameter pub for each attribute authority A in the N attribute authorities. k Generate a master key {msk k } k∈{1,2,...N} , and the generated master key {msk k } k∈{1,2,...N} Sent to the corresponding attribute authority A together with the public parameter pub k ; Attribute Authority A k Based on the master key {msk k } k∈{1,2,...N} Generate attribute signature private key sk k and verify the public key VK, and attribute signature private key sk k Sent to the message signer together with the public parameter pub; The message signer signs the private key sk based on the public parameter pub and the attribute signature k , the attribute authority A k The access structure f k , sign the message M in the message space and output the signature σ of the message M; and The message verifier receives the attribute from the attribute authority A k Obtain the verification public key VK, and verify whether the user's attributes satisfy the access structure f k To verify the signature σ, The authorization center generates the public parameter pub further comprising: Input security parameter λ, maximum circuit height l, number of attributes z, number of attribute authorities N, and generate system public parameter pub.
2. A multi-authority attribute signature-based distributed storage platform supporting circuit structure, characterized in that: The distributed storage platform includes: The authorization center is configured to generate a public parameter pub for each attribute authority A in the N attribute authorities. k Generate a master key {msk k } k∈{1,2,...N} and sent to the corresponding attribute authority A together with the public parameter pub k ; N attribute authorities A k , each attribute authority A k is configured based on the master key {msk k } k∈{1,2,...N} Generate attribute signature private key sk k and verify the public key VK, and attribute signature private key sk k Sent to the message signer together with the public parameter pub; One or more message signers, each of which is configured to sign a message based on the public parameter pub, the attribute signature private key sk k , the attribute authority A k The access structure f k , sign the message M in the message space and output the signature σ of the message M; and One or more message verifiers, each of which is configured to receive a message from the attribute authority A k Obtain the verification public key VK, and verify whether the user's attributes satisfy the access structure f k To verify the signature σ, The authorization center generates the public parameter pub further comprising: Input security parameter λ, maximum circuit height l, number of attributes z, number of attribute authorities N, and generate system public parameter pub.
Citation Information
Patent Citations
Attribute-based strategy hiding outsourcing signcryption method in Internet of Vehicles environment
CN111343273A
