Attribute-based signature method supporting multi-attribute management mechanism
By supporting the attribute-based signature method of multi-attribute management agencies, the certificate management problem in the public key infrastructure is solved, the security management and data integrity verification of the signer's attribute characteristics are realized, and the system bottleneck and security risks are reduced.
Patent Information
- Application Number
- CN202311725900.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-15
- Publication Date
- 2024-10-11
AI Technical Summary
Existing digital signature schemes have certificate management issues in the public key infrastructure, which exposes user identity information and poses security risks.
Using the attribute-based signature method that supports multi-attribute management agencies, the attribute management agency, cloud server and signer are authenticated and registered through the central trusted authority system, public parameters are generated, and the signature password is generated by the attribute management agency based on the attribute characteristics of the signer. The signer uses the signature key to sign the data, and the verifier uses the global parameters and attribute public key to verify the validity of the signature.
It reduces system bottlenecks caused by insufficient computing power and network resources of the attribute management agency. Signers can prove their attribute characteristics without exposing their identity, and verifiers can judge the authenticity of the signature and the integrity of the data.
Smart Images

Figure QLYQS_1 
Figure QLYQS_2 
Figure QLYQS_3
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet of Things communications, and in particular to an attribute-based signature method supporting multiple attribute management agencies. Background Art
[0002] At present, network security issues are very frequent. Data may be tampered with or damaged during transmission and storage. Therefore, the integrity and authenticity of data must be guaranteed during transmission. In order to solve these information security issues, digital signature technology is usually used. Digital signature technology is an important branch of the public key cryptography system. During the data transmission process, the sender, as the signer, uses his own signature key to sign the data to be transmitted, and the receiver, as the verifier, can use the signer's public key to verify the validity of the signature, thereby determining whether the data is authentic and complete.
[0003] In early digital signature schemes, the public key infrastructure was responsible for issuing and managing digital certificates. This forced the public key infrastructure to face the bottleneck of certificate management. Most current digital signatures use identity-based cryptography, which means that the user's identity information is directly related to his or her public key. This method solves the certificate management problem of the public key infrastructure in early digital signature schemes, but it also directly exposes the user's identity information, bringing many security risks. Summary of the invention
[0004] The purpose of the present invention is to provide an attribute-based signature method supporting multiple attribute management agencies to solve the problems raised in the above background technology.
[0005] To achieve the above object, the present invention provides the following technical solutions:
[0006] An attribute-based signature method supporting multiple attribute management agencies, comprising the following steps:
[0007] S1: The central trusted authority sets up the system, authenticates and registers the attribute management agency, cloud server, signer, and verifier. The central trusted authority returns the identity, generates public parameters, and publishes them to all members in the system.
[0008] S2: Each attribute management agency generates a master private key and public key for the attribute according to the attribute it manages, and publishes the public key of the attribute;
[0009] S3: The signer adaptively applies for a key from the attribute management agency, and the attribute management agency generates and returns a signing key based on the attribute characteristics of the signer;
[0010] S4: After the signer obtains the signing key, he signs the data and uploads the generated signature and data to the cloud;
[0011] S5: The verifier downloads the data and the corresponding signature from the cloud, and then verifies the signature using the global parameters issued by the central trusted authority and the attribute public key issued by the attribute management agency. If the signature is valid, True is output, otherwise False is output.
[0012] Preferably, step S1 comprises:
[0013] S11: The central trusted authority defines the global attribute set U;
[0014] S12: Select a security parameter k and generate a large prime number p, requiring p ≥ 2 k ;
[0015] S13: Select a p-order additive cyclic group G 1 , G is G 1 The generator of
[0016] S14: Define the bilinear map e:G 1 ×G 1 →G 2 , where G 2 is a multiplicative cyclic group;
[0017] S15: Select two one-way hash functions H:GID→G 1 , where GID is the identity identifier;
[0018] S16: Generate the global parameters of the system GP = {p, G, G 1 ,e,H}, and publish the GP publicly in the system.
[0019] Preferably, step S2 comprises:
[0020] S21: There are multiple attribute management agencies in the system, each of which manages a set of attribute sets U i ∈U;
[0021] S22: Each attribute management agency will input global parameters and perform a i,j ∈U i Randomly pick a pair of random values As attribute u i The master private key, denoted as MSK i,j ={x i,j ,y i,j}, and then calculate the component of the attribute public key e(x i,j G,G) and y i,j G, denoted as PK i,j ={e(x i,j G,G),y i,j G}; The attribute management organization will keep the MSK confidentiali,j , and PK i,j Public in the system.
[0022] Preferably, step S3 includes: when the signer applies for a signing key from the attribute management agency, the attribute management agency generates the attribute u for the signer according to the global parameter GP, the master private key MSK of the attribute management agency, the identity identifier GID of the signer and the attribute set S of the signer. i,j Generate the corresponding signing key SK i,j,GID ={x i,j G,y i,j H(GID)} and returns.
[0023] Preferably, step S4 comprises:
[0024] S41: The signer defines a satisfiable LSSS access structure (Λ,ρ) based on its own attributes. In (Λ,ρ), Λ is an l×n access matrix, ρ is related to the rows and attributes of Λ, and ρ(i) represents the attribute corresponding to the i-th row of Λ;
[0025] S42: Calculate m=Mmodp, where M represents data, which is a 0 / 1 sequence of any length, and then select a random value Calculate σ 0 =e(sG,G), and generate a pair of vectors and
[0026] S43: Calculate P = H (GID), for i∈[1,l], select three random numbers Then calculate σ 1,i =t i P,σ 2,i =e(k i Gx ρ(i) G,G), σ 3,i =e(P,w i G), σ 4,i =e(y ρ(i) P,t i G), σ 5,i =αΛ i -k i and σ 6,i =βΛ i -w i ;
[0027] S44: Generate signature σ M ={(Λ,ρ),P,σ 0 ,{σ 1,i ,σ 2,i ,σ 3,i ,σ 4,i ,σ5,i ,σ 6,i} i∈[1,l]} and upload it to the cloud storage together with data M.
[0028] Preferably, step S5 comprises:
[0029] S51: The verifier obtains data M and corresponding signature σ M , if the signer's attributes satisfy the access policy (Λ,ρ), then find a vector c∈(Z p ) l , satisfying Σ i∈[1,l] c i Λ i =(1,0,...,0);
[0030] S52: Calculation Where m = Mmodp;
[0031] S53: Comparison of σ′ 0 With σ 0 Are they equal? If they are equal, output True to indicate that the signature is valid and the data is complete. Otherwise, output False to indicate that the signature is invalid or the data has been tampered with.
[0032] The beneficial effects of the present invention are as follows: based on attribute-based cryptography, the present application proposes an attribute-based signature method that supports multiple attribute management agencies, and reduces the risk of system bottlenecks caused by insufficient computing power and network resources of attribute management agencies by establishing multiple attribute management agencies to share attribute management tasks; attributes are formed by abstractly describing the identity characteristics of the signer, and a signature key is assigned to the signer according to the signer's attributes; the signature generated by the signer using his or her own signature key can verify his or her own attribute characteristics, but will not directly expose his or her identity; the verifier can judge the authenticity of the signature and the integrity of the data through the signature. DETAILED DESCRIPTION
[0033] The technical solutions in the embodiments of the present invention are described clearly and completely below. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0034] An attribute-based signature method supporting multiple attribute management agencies, comprising the following steps:
[0035] S1: The central trusted authority sets up the system, authenticates and registers the attribute management agency, cloud server, signer, and verifier. The central trusted authority returns the identity, generates public parameters, and publishes them to all members in the system.
[0036] S2: Each attribute management agency generates a master private key and public key for the attribute according to the attribute it manages, and publishes the public key of the attribute;
[0037] S3: The signer adaptively applies for a key from the attribute management agency, and the attribute management agency generates and returns a signing key based on the attribute characteristics of the signer;
[0038] S4: After the signer obtains the signing key, he signs the data and uploads the generated signature and data to the cloud;
[0039] S5: The verifier downloads the data and the corresponding signature from the cloud, and then verifies the signature using the global parameters issued by the central trusted authority and the attribute public key issued by the attribute management agency. If the signature is valid, True is output, otherwise False is output.
[0040] Wherein, step S1 comprises:
[0041] S11: The central trusted authority defines the global attribute set U;
[0042] S12: Select a security parameter k and generate a large prime number p, requiring p ≥ 2 k ;
[0043] S13: Select a p-order additive cyclic group G 1 , G is G 1 The generator of
[0044] S14: Define the bilinear map e:G 1 ×G 1 →G 2 , where G 2 is a multiplicative cyclic group;
[0045] S15: Select two one-way hash functions H:GID→G 1 , where GID is the identity identifier;
[0046] S16: Generate the global parameters of the system GP = {p, G, G 1 ,e,H}, and publish the GP publicly in the system.
[0047] Wherein, step S2 comprises:
[0048] S21: There are multiple attribute management agencies in the system, each of which manages a set of attribute sets U i ∈U;
[0049] S22: Each attribute management agency will input global parameters and perform a i,j ∈U i Randomly pick a pair of random values As attribute u i The master private key, denoted as MSK i,j ={x i,j ,y i,j}, and then calculate the component of the attribute public key e(x i,j G,G) and y i,j G, denoted as PK i,j ={e(x i,j G,G),y i,j G}; The attribute management organization will keep the MSK confidential i,j , and PK i,j Public in the system.
[0050] Wherein, step S3 includes: when the signer applies for a signing key from the attribute management agency, the attribute management agency assigns the attribute u to the signer according to the global parameter GP, the master private key MSK of the attribute management agency, the signer's identity GID and the signer's attribute set S. i,j Generate the corresponding signing key SK i,j,GID ={x i,j G,y i,j H(GID)} and returns.
[0051] Wherein, step S4 comprises:
[0052] S41: The signer defines a satisfiable LSSS access structure (Λ,ρ) based on its own attributes. In (Λ,ρ), Λ is an l×n access matrix, ρ is related to the rows and attributes of Λ, and ρ(i) represents the attribute corresponding to the i-th row of Λ;
[0053] S42: Calculate m=Mmodp, where M represents data, which is a 0 / 1 sequence of any length, and then select a random value Calculate σ 0 =e(sG,G), and generate a pair of vectors and
[0054] S43: Calculate P = H (GID), for i∈[1,l], select three random numbers Then calculate σ 1,i =t i P,σ 2,i =e(k i Gx ρ(i) G,G), σ 3,i =e(P,w i G), σ 4,i =e(y ρ(i) P,t i G), σ 5,i =αΛ i -ki and σ 6,i =βΛ i -w i ;
[0055] S44: Generate signature σ M ={(Λ,ρ),P,σ 0 ,{σ 1,i ,σ 2,i ,σ 3,i ,σ 4,i ,σ 5,i ,σ 6,i} i∈[1,l]} and upload it to the cloud storage together with data M.
[0056] Wherein, step S5 comprises:
[0057] S51: The verifier obtains data M and corresponding signature σ M , if the signer's attributes satisfy the access policy (Λ,ρ), then find a vector c∈(Z p ) l , satisfying Σ i∈[1,l] c i Λ i =(1,0,...,0);
[0058] S52: Calculation Where m = Mmodp;
[0059] S53: Comparison of σ′ 0 With σ 0 Are they equal? If they are equal, output True to indicate that the signature is valid and the data is complete. Otherwise, output False to indicate that the signature is invalid or the data has been tampered with.
[0060] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. An attribute-based signature method supporting multiple attribute management agencies, characterized in that: The steps include: S1: The central trusted authority sets up the system, authenticates and registers the attribute management agency, cloud server, signer, and verifier. The central trusted authority returns the identity, generates public parameters, and publishes them to all members in the system. S2: Each attribute management agency generates a master private key and public key for the attribute according to the attribute it manages, and publishes the public key of the attribute; S3: The signer adaptively applies for a key from the attribute management agency, and the attribute management agency generates and returns a signing key based on the attribute characteristics of the signer; S4: After the signer obtains the signing key, he signs the data and uploads the generated signature and data to the cloud; S5: The verifier downloads the data and the corresponding signature from the cloud, and then verifies the signature using the global parameters issued by the central trusted authority and the attribute public key issued by the attribute management agency. If the signature is valid, True is output, otherwise False is output.
2. The attribute-based signature method supporting multiple attribute management agencies according to claim 1, characterized in that: Step S1 includes: S11: The central trusted authority defines the global attribute set U; S12: Select a security parameter k and generate a large prime number p, requiring p ≥ 2 k ; S13: Select a p-order additive cyclic group G1, where G is a generator of G1; S14: Define a bilinear map e:G1×G1→G2, where G2 is a multiplicative cyclic group; S15: Select two one-way hash functions H:GID→G1, where GID is the identity identifier; S16: Generate the global parameters of the system GP = {p, G, G1, e, H}, and publish GP publicly in the system.
3. The attribute-based signature method supporting multiple attribute management agencies according to claim 1, characterized in that: Step S2 includes: S21: There are multiple attribute management agencies in the system, each of which manages a set of attribute sets U i ∈U; S22: Each attribute management agency will input global parameters and perform a i,j ∈U i Randomly pick a pair of random values As attribute u i The master private key, denoted as MSK i,j ={x i,j ,y i,j }, and then calculate the component of the attribute public key e(x i,j G,G) and y i,j G, denoted as PK i,j ={e(x i,j G,G),y i,j G}; The attribute management organization will keep the MSK confidential i,j , and PK i,j Public in the system.
4. The attribute-based signature method supporting multiple attribute management agencies according to claim 1, characterized in that: Step S3 includes: when the signer applies for a signing key from the attribute management agency, the attribute management agency generates a signature key for the signer based on the global parameter GP, the attribute management agency's master private key MSK, the signer's identity GID and the signer's attribute set S. i,j Generate the corresponding signing key SK i,j,GID ={x i,j G,y i,j H(GID)} and returns.
5. The attribute-based signature method supporting multiple attribute management agencies according to claim 1, characterized in that: Step S4 includes: S41: The signer defines a satisfiable LSSS access structure (Λ,ρ) based on its own attributes. In (Λ,ρ), Λ is an l×n access matrix, ρ is related to the rows and attributes of Λ, and ρ(i) represents the attribute corresponding to the i-th row of Λ; S42: Calculate m=Mmodp, where M represents data, which is a 0 / 1 sequence of any length, and then select a random value Calculate σ0 = e(sG, G) and generate a pair of vectors and S43: Calculate P = H (GID), for i∈[1,l], select three random numbers Then calculate σ 1,i =t i P,σ 2,i =e(k i Gx ρ(i) G,G), σ 3,i =e(P,w i G), σ 4,i =e(y ρ(i) P,t i G), σ 5,i =αΛ i -k i and σ 6,i =βΛ i -w i ; S44: Generate signature σ M ={(Λ,ρ),P,σ0,{σ 1,i ,σ 2,i ,σ 3,i ,σ 4,i ,σ 5,i ,σ 6,i } i∈ [ 1,l ]} and upload it to the cloud storage together with data M.
6. The attribute-based signature method supporting multiple attribute management agencies according to claim 1, characterized in that: Step S5 includes: S51: The verifier obtains data M and corresponding signature σ M , if the signer's attributes satisfy the access policy (Λ,ρ), then find a vector c∈(Z p ) l , satisfying Σ i∈[1,l] c i Λ i =(1,0,...,0); S52: Calculation Where m = Mmodp; S53: Compare σ0′ and σ0 to see if they are equal. If they are equal, output True to indicate that the signature is valid and the data is complete. Otherwise, output False to indicate that the signature is invalid or the data has been tampered with.
