Traceable attribute-based signature method and system with fixed signature length
By designing a traceable attribute-based signature method with a fixed signature length in the cloud storage service, it solves the limitations of the one-to-one communication model of the traditional public key cryptography system and the problem that the attribute-based signature cannot track the signer, and realizes data authentication and The effectiveness of privacy protection ensures the anonymity and unforgeability of signatures.
Patent Information
- Application Number
- CN202111261709.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-28
- Publication Date
- 2024-10-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The one-to-one communication model of the traditional public key cryptography system is not suitable for cloud storage services. It cannot perform encryption without knowing exactly the public key of the target recipient, and attribute-based signatures cannot track the true identity of the signer, leading to signature abuse problems. Can't be solved.
Design a traceable attribute-based signature method with a fixed signature length. By generating a signature private key and associating it with the attribute authorization end, embedding the access policy, verifying the validity of the signature and outputting the real identity ID of the signing end, ensuring anonymity and unforgeability. and traceability.
It achieves the effectiveness of data authentication, privacy protection and access control in cloud storage services, while avoiding the identity leakage and abuse of signers, providing powerful application prospects.
Smart Images

Figure CN113919008B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of cloud computing security technology, and in particular to a traceable attribute-based signature method and system with a fixed signature length. Background Art
[0002] In traditional public key cryptography, the communication model is one-to-one. In other words, any message encrypted by a specific public key can only be decrypted by using the associated private key. However, the one-to-one communication model has some limitations. For example, when one wants to assign a message to a specific group of users, the person must encrypt the message with the identity or public key of each user. In some application scenarios, it is desirable to be able to encrypt without knowing exactly the public key of the target recipient. In addition, the one-to-one communication model is not suitable for cloud storage services. As more and more sensitive data is outsourced to the cloud, cloud storage services face many problems such as data access control, data security, and privacy protection. To address these problems, attribute-based encryption (ABE) with the characteristics of "one-to-many" communication has been proposed, which is an important method to solve the above problems. However, attribute-based encryption only provides data confidentiality but not data authentication. Therefore, attribute-based signer (ABS) has been proposed as a solution for data authentication, which plays an important role in privacy protection, access control, and data authentication, and has been applied to cloud storage services. In addition, since attribute-based signatures hide the identity of the real signer, it may lead to the abuse of signatures. However, such abuse cannot be traced. Traceable attribute-based signatures (TABS) are an important method to solve the above problems, which enables attribute-based signatures to strike a balance between privacy and traceability. When the signer abuses the signature, the traceable attribute-based signature can track the true identity of the signer through the attribute authorization party. Summary of the invention
[0003] In view of this, the purpose of the present invention is to provide a traceable attribute-based signature method and system with a fixed signature length. In the traceable attribute-based signature scheme with a fixed signature length, the attribute authorization end can track the true identity of the signing end, thereby achieving anonymity, unforgeability and traceability.
[0004] To achieve the above object, the present invention adopts the following technical solution:
[0005] A traceable attribute-based signature method with a fixed signature length comprises the following steps:
[0006] Step S1: Obtain security parameter λ, and obtain system master key msk and public parameter params based on security parameter λ;
[0007] Step S2: Generate a signature private key sk according to the master key msk, public parameter params, signature end attribute set W and signature end identity ID;
[0008] Step S3: Output signature σ according to signature private key sk, public parameter params, access policy Υ, message M;
[0009] Step S4: According to the public parameters params, access policy Y, message M and signature σ, if the signature is valid, proceed to step S5, otherwise terminate;
[0010] Step S5: Output the signing end identity ID according to the access policy Y, the message M and the signature σ.
[0011] Furthermore, the step S1 is specifically as follows:
[0012] Step S11: Obtain security parameter λ, set G 1 and G 2 are all multiplicative cyclic groups of order p, g∈G 1 G 1 Generator of e:G 1 ×G 1 →G 2 is a bilinear map, choose a hash function in
[0013] Step S12: Set For identity domains and (|U|=λ) is the attribute domain, where Z p ={0,1,2,…,p-1}; Let U ={1,2,…,λ} and let Ω ={λ+1,λ+2,…,λ+d-1} denote a virtual attribute set with d-1 elements;
[0014] Step S13: Random selection Calculate g 1 =g a ;
[0015] Step S14: From G 1 Randomly select g 2 ,τ',τ 1 ,…,τ n ,δ 0 ,δ 1 ,…,δ λ+d-1 , and let Γ=(τ',τ 1 ,τ 2 ,…,τ n ) is a vector of length n+1 and Λ=(δ 0 ,δ 1 ,δ 2,…,δ λ+d-1 ) is a vector of length λ+d;
[0016] Step S15: further obtain the master key msk=a and public parameters params=(U,Ω,G 1 ,G 2 ,e,g,g1,g2,Γ,Λ,H,Z), where X=e(g 1 ,g 2 ).
[0017] Furthermore, the step S2 is specifically:
[0018] Step S21: randomly select a polynomial q(x) of degree d-1 q(0)=a, and calculate q(i), i∈(W∪Ω), where Ω is a virtual attribute set;
[0019] Step S22: Randomly select τ 0 ,ω 0 ∈Z p ,calculate as well as
[0020] Step S23: For each attribute i∈(W∪Ω), where Ω represents a virtual attribute set, randomly select r i ∈Z p , calculate sk i,j =(a i ,b i ,c i,j ),in
[0021]
[0022]
[0023]
[0024] Step S24: further obtain the signature private key sk {ID,W} ={x 0 ,x 1 ,x 2 ,sk i,j}, where i∈(W∪Ω), j∈{1,2,3,…,i-1,…,i+1,…,λ+d-1}.
[0025] Furthermore, the step S3 is specifically as follows:
[0026] Step S31: Select an attribute subset with k elements and a virtual attribute subset with dk elements in Suppose S=W'∪Ω'(|S|=d) and Ω'={λ+1,λ+2,…,λ+dk};
[0027] Step S32: Randomly select d 0 ,s,t∈Z p ,calculate
[0028]
[0029]
[0030]
[0031]
[0032]
[0033] σ 3 =g t ;
[0034] Step S33: Output signature σ=(X 1 ,X 2 ,σ 1 ,σ 2 ,σ 3 ).
[0035] Furthermore, the step S4 is specifically:
[0036] According to the signature σ, verify whether the following equation holds
[0037]
[0038] If the equation holds, the signature is valid. Otherwise, the verifier rejects the signature.
[0039] Furthermore, the step S5 specifically includes the following steps:
[0040] According to the signature σ, calculate
[0041]
[0042] If the above equation holds true, the attribute authorization end outputs the real identity ID of the signing end.
[0043] A traceable attribute-based signature system with a fixed signature length, comprising:
[0044] The attribute authorization end is used to generate the system master key msk and public parameter params; and generate the signature private key sk according to the system master key msk, public parameter params, signature end attribute and signature end identity ID; and is also used to output the signature end identity ID according to the access policy Υ, message M and signature σ;
[0045] The signature end is used to calculate the signature σ based on the signature private key sk, public parameters params, access policy Υ, and message M;
[0046] The verification end is used to verify the validity of the signature based on the public parameters params, access policy Υ, message M and signature σ.
[0047] Compared with the prior art, the present invention has the following beneficial effects:
[0048] The present invention is based on the attribute-based signature design, in which the user's private key is associated with a set of attributes, and the access policy is embedded in the signature. If the attribute satisfies the access policy, the user can generate a valid signature. The verification end ensures that a specific signature is created by a set of possible users whose attributes match the access policy, so as not to disclose the identity information of the signer. In addition, when signature abuse occurs on the signing end, the attribute authorization end can track the true identity of the signing end. Therefore, the proposed method and system have strong practicality and broad application prospects in data authentication, privacy protection access control and traceability systems. . BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 It is a system principle block diagram of the present invention. DETAILED DESCRIPTION
[0050] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0051] Please refer to Figure 1 The present invention provides an attribute-based signature system with a fixed signature length and traceability, comprising:
[0052] The attribute authorization end is used to generate the system master key msk and the public parameter params; it is also used to generate the signature private key sk according to the system master key msk, the public parameter params, the signature end attribute and the signature end identity ID; it is also used to output the signature end identity ID according to the access policy Υ, the message M and the signature σ;
[0053] The signature end is used to calculate the signature σ based on the signature private key sk, public parameters params, access policy Υ, and message M;
[0054] The verification end is used to verify the validity of the signature based on the public parameters params, access policy Υ, message M and signature σ.
[0055] This embodiment also provides an attribute-based signature method with a fixed signature length and traceability, comprising the following steps:
[0056] Step S1: The attribute authorization end inputs the security parameter λ and outputs the system master key msk and public parameter params;
[0057] In this embodiment, step S1 specifically includes the following steps:
[0058] Step S11: The attribute authorization terminal inputs the security parameter λ; let G 1 and G 2 are all multiplicative cyclic groups of order p, g∈G 1 G 1 Generator of e:G 1 ×G 1 →G 2 is a bilinear map, choose a hash function in
[0059] Step S12: Set For identity domains and (|U|=λ) is the attribute domain, where Z p ={0,1,2,…,p-1}; Let U ={1,2,…,λ} and let Ω ={λ+1,λ+2,…,λ+d-1} denote a virtual attribute set with d-1 elements;
[0060] Step S13: Random selection of attribute authorization end Calculate g 1 =g a ;
[0061] Step S14: The attribute authorization end receives the 1 Randomly select g 2 ,τ',τ 1 ,…,τ n ,δ 0 ,δ 1 ,…,δ λ+d-1 , and let Γ=(τ',τ 1 ,τ 2 ,…,τ n ) is a vector of length n+1 and Λ=(δ 0 ,δ 1 ,δ 2 ,…,δ λ+d-1 ) is a vector of length λ+d;
[0062] Step S15: The attribute authorization terminal outputs the master key msk=a and the public parameters params=(U,Ω,G 1,G 2 ,e,g,g 1 ,g 2 ,Γ,Λ,H,Z), where Z=e(g 1 ,g 2 ).
[0063] Step S2: The attribute authorization end inputs the master key msk, the public parameter params, the signature end attribute set W and the signature end identity ID to generate the signature private key sk;
[0064] In this embodiment, the attribute authorization end uses the attribute set to generate the user's signature private key, which specifically includes the following steps:
[0065] Step S21: The attribute authorization end randomly selects a polynomial q(x) of degree d-1 with q(0)=a, and calculates q(i), i∈(W∪Ω), where Ω is a virtual attribute set;
[0066] Step S22: The attribute authorization terminal randomly selects τ 0 ,ω 0 ∈Z p ,calculate as well as
[0067] Step S23: For each attribute i∈(W∪Ω), where Ω represents a virtual attribute set selected by the attribute authorization end, the attribute authorization end randomly selects r i ∈Z p , calculate sk i,j =(a i ,b i ,c i,j ),in
[0068]
[0069]
[0070]
[0071] Step S24: The attribute authorization terminal outputs the signature private key sk {ID,W} ={x 0 ,x 1 ,x 2 ,sk i,j}, where i∈(W∪Ω), j∈{1,2,3,…,i-1,…,i+1,…,λ+d-1}.
[0072] Step S3: The signing end inputs the signature private key sk, public parameter params, access policy Υ, message M, and outputs the signature σ;
[0073] In this embodiment, the signing end uses the signature private key, public parameters and access policy to generate a signature of the message M, which specifically includes the following steps:
[0074] Step S31: The signing end selects an attribute subset with k elements and a virtual attribute subset with dk elements in Suppose S=W'∪Ω'(|S|=d) and Ω'={λ+1,λ+2,…,λ+dk};
[0075] Step S32: The signing end randomly selects d 0 ,s,t∈Z p ,calculate
[0076]
[0077]
[0078]
[0079]
[0080]
[0081] σ 3 =g t ;
[0082] Step S33: The signature terminal outputs a signature σ=(X 1 ,X 2 ,σ 1 ,σ 2 ,σ 3 ).
[0083] Step S4: The verification end inputs public parameters params, access policy Υ, message M and signature σ, and outputs 1 if the signature is valid, otherwise it outputs 0.
[0084] In this embodiment, step S4 specifically includes the following steps:
[0085] The verifier receives the signature σ from the signer and verifies whether the following equation holds.
[0086]
[0087] If the equation holds, the signature is valid. Otherwise, the verifier rejects the signature.
[0088] Step S5: The attribute authorization end inputs the access policy Υ, the message M and the signature σ, and outputs the signature end identity ID.
[0089] In this embodiment, step S5 specifically includes the following steps:
[0090] The attribute authorization end obtains the signature σ from the verification end and calculates
[0091]
[0092] If the above equation holds true, the attribute authorization end outputs the real identity ID of the signing end.
[0093] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0094] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0095] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0096] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0097] The above is only a preferred embodiment of the present invention, and does not limit the present invention in other forms. Any technician familiar with the profession may use the above disclosed technical content to change or modify it into an equivalent embodiment with equivalent changes. However, any simple modification, equivalent change and modification made to the above embodiment according to the technical essence of the present invention without departing from the technical solution of the present invention still belongs to the protection scope of the technical solution of the present invention.
Claims
1. A traceable attribute-based signature method with a fixed signature length, characterized in that: The following steps are involved: Step S1: Obtain security parameter λ, and obtain system master key msk and public parameter params based on security parameter λ; Step S2: Generate a signature private key sk according to the master key msk, public parameter params, signature end attribute set W and signature end identity ID; Step S3: Output signature σ according to signature private key sk, public parameter params, access policy Υ, message M; Step S4: According to the public parameter params, access policy Y, message M and signature σ, if the signature is valid, proceed to step S5, otherwise terminate; Step S5: Output the signature end identity ID according to the access policy Y, the message M and the signature σ; The step S1 is specifically as follows: Step S11: Get the security parameter λ, assume that G1 and G2 are both p-order multiplicative cyclic groups, g∈G1 is the generator of G1, e:G1×G1→G2 is a bilinear mapping, and select a hash function in Step S12: Set For identity domains and (|U|=λ) is the attribute domain, where Z p ={0,1,2,…,p-1}; Let U ={1,2,…,λ} and let Ω ={λ+1,λ+2,…,λ+d-1} denote a virtual attribute set with d-1 elements; Step S13: Random selection Calculate g1 = g a ; Step S14: Randomly select g2,τ',τ1,…,τ from G1 n ,δ0,δ1,…,δ λ+d-1 , and assume Γ=(τ',τ1,τ2,…,τ n ) is a vector of length n+1 and Λ=(δ0,δ1,δ2,…,δ λ+d-1 ) is a vector of length λ+d; Step S15: further obtain the master key msk=a and the public parameters params=(U,Ω,G1,G2,e,g,g1,g2,Г,Λ,H,Z), where Z=e(g1,g2); The step S2 is specifically: Step S21: randomly select a polynomial q(x) of degree d-1 q(0)=a, and calculate q(i), i∈(W∪Ω), where Ω is a virtual attribute set; Step S22: Randomly select τ0,ω0∈Z p ,calculate as well as Step S23: For each attribute i∈(W∪Ω), where Ω represents a virtual attribute set, randomly select r i ∈Z p , calculate sk i,j =(a i ,b i ,c i,j ),in Step S24: further obtain the signature private key sk {ID,W} ={x0,x1,x2,sk i,j }, where i∈(W∪Ω), j∈{1,2,3,…,i-1,…,i+1,…,λ+d-1}; The step S3 is specifically as follows: Step S31: Select an attribute subset with k elements and a virtual attribute subset with dk elements in Suppose S=W'∪Ω'(|S|=d) and Ω'={λ+1,λ+2,…,λ+dk}; Step S32: Randomly select d0,s,t∈Z p ,calculate σ3=g t ; Step S33: Output signature σ = (X1, X2, σ1, σ2, σ3); The step S4 is specifically: According to the signature σ, verify whether the following equation holds If the equation holds, the signature is valid; otherwise, the verifier rejects the signature; The step S5 specifically includes the following steps: According to the signature σ, calculate If the above equation holds true, the attribute authorization end outputs the real identity ID of the signing end.
2. A traceable attribute-based signature system with a fixed signature length, characterized in that: The system is implemented by using a traceable attribute-based signature method with a fixed signature length as claimed in claim 1, comprising: Attribute authorization end, used to generate system master key msk and public parameters params; And generate the signature private key sk according to the system master key msk, public parameter params, signature end attribute and signature end identity ID; and also used to output the signature end identity ID according to the access policy Υ, message M and signature σ; The signature end is used to calculate the signature σ based on the signature private key sk, public parameters params, access policy Υ, and message M; The verification end is used to verify the validity of the signature based on the public parameters params, access policy Υ, message M and signature σ.
