Proxy re-signing method, device, equipment and storage medium based on blockchain
By using multiple exchanges of randomized parameters and keys on the blockchain, the security and anonymity of proxy re-signing is achieved, solving the risk of internal attacks in existing technologies and improving the security of data storage.
Patent Information
- Application Number
- CN202311553761.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-21
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2043-11-21
AI Technical Summary
The existing proxy re-signature algorithm fails to effectively prevent internal attackers from algorithm substitution attacks, resulting in user information exposure and insecure data storage.
Adopting a blockchain-based proxy re-signing method, the signature is randomized through the signer password reverse firewall, and the pre-stored proxy re-signing key in the blockchain is used for proxy re-signing, randomization parameters and keys Exchange multiple times to ensure the security and anonymity of the signature.
It effectively prevents algorithm substitution attacks by internal attackers, improves the anonymity of user information and the security of data storage, and ensures the safe transmission and storage of data in the cloud.
Smart Images

Figure CN117675168B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of information security technology, and in particular relates to a blockchain-based proxy re-signing method, device, equipment and storage medium. Background Art
[0002] The rapid development of information technology has led to an explosive growth in the amount of data and information. When using this data, more resources need to be called to process the data. However, the user's own capabilities are far from meeting the corresponding requirements, and more manpower or material resources are needed to store data. Therefore, in order to reduce storage costs and improve computing efficiency, more and more users upload locally stored data to the cloud. However, while the rise of cloud computing has provided great convenience for users' data backup and sharing, cloud computing technology has also brought users many challenges, mainly reflected in the control of data. As users upload data to the cloud, their control authority will gradually decrease, and they will lose control of the data, and the security of the data cannot be guaranteed, and the anonymity of user identity information cannot be guaranteed.
[0003] In order to solve this problem, protect data security, and achieve the anonymity of identity information, it is stipulated that cloud data needs to be proxy-signed when uploading and downloading. This not only can achieve secure data transmission, but also can more conveniently and quickly realize the mutual conversion between signatures, converting the identity of the signer into the identity of another signer, achieving the anonymity of the user identity and protecting the security of data. However, the existing proxy re-signing algorithm does not take into account the algorithm replacement attack of internal attackers. Summary of the invention
[0004] The purpose of the present invention is to provide a blockchain-based proxy re-signing method, device, equipment and storage medium, aiming to solve the problems that the existing technology is vulnerable to malicious attacks by internal attackers, user information is easily exposed, and data storage is insecure.
[0005] In one aspect, the present invention provides a blockchain-based proxy re-signing method, the method comprising the following steps:
[0006] When the signer's cryptographic reverse firewall receives the signer's first signature, the signer's cryptographic reverse firewall randomizes the first signature using a randomly selected first randomization parameter to obtain a second signature, and sends the second signature to the cloud proxy service provider;
[0007] The cloud proxy service provider obtains a pre-stored proxy re-signature key from the blockchain, uses the obtained proxy re-signature key to proxy re-sign the second signature to obtain a third signature, and sends the third signature to the re-signing party cryptographic reverse firewall;
[0008] The re-signing party cryptographic reverse firewall re-randomizes the third signature according to a randomly selected second randomization parameter to obtain a fourth signature;
[0009] The re-signing party saves the fourth signature sent by the re-signing party cryptographic reverse firewall into the blockchain.
[0010] Preferably, before the step of the cloud proxy service provider obtaining the pre-stored proxy re-signing key from the blockchain, the method further comprises:
[0011] The signer cryptographic reverse firewall randomizes the re-signature key sent by the signer using the first randomization parameter to obtain the proxy re-signature key, and saves the proxy re-signature key in the blockchain.
[0012] Preferably, before the step of randomizing the re-signing key sent by the signer to the cryptographic reverse firewall using the first randomization parameter, the method further comprises:
[0013] The re-signing party cryptographic reverse firewall uses the second randomization parameter to randomize the received first private key and first public key of the re-signing party respectively to obtain corresponding first key parameters and second key parameters, and the re-signing party cryptographic reverse firewall uploads the first key parameters and the second key parameters to the blockchain, and sends the first key parameters to the signer;
[0014] The signer and the re-signer determine the re-signing key of both parties based on the signer's second private key and the first key parameter, and the signer sends the re-signing key to the signer's cryptographic reverse firewall.
[0015] Preferably, after the step of the re-signing party saving the fourth signature sent by the re-signing party password reverse firewall to the blockchain, the method further comprises:
[0016] The verifier obtains the fourth signature and pre-stored signature verification parameters from the blockchain, and uses the signature verification parameters to verify the legitimacy of the fourth signature.
[0017] On the other hand, the present invention provides a proxy re-signature device based on blockchain, the device comprising:
[0018] A first randomization unit is used for, when the cryptographic reverse firewall of the signer receives the first signature of the signer, the cryptographic reverse firewall of the signer randomizes the first signature using a randomly selected first randomization parameter to obtain a second signature, and sends the second signature to the cloud proxy service provider;
[0019] A proxy re-signing unit, configured for the cloud proxy service provider to obtain a pre-stored proxy re-signing key from the blockchain, to proxy re-sign the second signature using the obtained proxy re-signing key to obtain a third signature, and to send the third signature to the re-signing party cryptographic reverse firewall;
[0020] A second randomization unit, configured for the re-signing party cryptographic reverse firewall to re-randomize the third signature according to a randomly selected second randomization parameter to obtain a fourth signature;
[0021] The signature preservation unit is used for the re-signing party to save the fourth signature sent by the re-signing party's password reverse firewall into the blockchain.
[0022] Preferably, the device further comprises:
[0023] A key randomization unit is used for the signer cryptographic reverse firewall to randomize the re-signing key sent by the signer using the first randomization parameter to obtain the proxy re-signing key, and save the proxy re-signing key in the blockchain.
[0024] Preferably, the device further comprises:
[0025] a key parameter obtaining unit, configured for the re-signing party cryptographic reverse firewall to randomize the received first private key and first public key of the re-signing party respectively using the second randomization parameter to obtain corresponding first key parameters and second key parameters, the re-signing party cryptographic reverse firewall to upload the first key parameters and the second key parameters to the blockchain, and to send the first key parameters to the signer;
[0026] A signing key determination unit is used for the signer and the re-signer to determine the re-signing key of both parties based on the second private key of the signer and the first key parameter, and the signer sends the re-signing key to the signer cryptographic reverse firewall.
[0027] Preferably, the device further comprises:
[0028] The signature verification unit is used for the verification party to obtain the fourth signature and pre-stored signature verification parameters from the blockchain, and use the signature verification parameters to verify the legitimacy of the fourth signature.
[0029] On the other hand, the present invention also provides a computing device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps described in the above-mentioned blockchain-based proxy re-signature method are implemented.
[0030] On the other hand, the present invention also provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, it implements the steps described in the above-mentioned blockchain-based proxy re-signature method.
[0031] In the present invention, when the signer's cryptographic reverse firewall receives the signer's first signature, the signer's cryptographic reverse firewall uses the first randomization parameter to randomize the first signature to obtain a second signature, and sends the second signature to the cloud proxy service provider. The cloud proxy service provider obtains the proxy re-signature key from the blockchain, uses the proxy re-signature key to proxy re-sign the second signature to obtain a third signature, and sends the third signature to the re-signer's cryptographic reverse firewall. The re-signer's cryptographic reverse firewall re-randomizes the third signature according to the second randomization parameter to obtain a fourth signature. The re-signer saves the fourth signature sent by the re-signer's cryptographic reverse firewall to the blockchain, thereby preventing algorithm replacement attacks by internal attackers and improving the anonymity of user information and the security of data storage. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 This is a flowchart of the implementation of the blockchain-based proxy re-signing method provided in the first embodiment of the present invention;
[0033] Figure 2 It is a schematic diagram of the structure of a proxy re-signature device based on blockchain provided in the second embodiment of the present invention;
[0034] Figure 3 It is a schematic diagram of the structure of a proxy re-signature device based on blockchain provided in Embodiment 3 of the present invention;
[0035] Figure 4 It is a schematic diagram of the structure of a computing device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0037] The specific implementation of the present invention is described in detail below in conjunction with specific embodiments:
[0038] Embodiment 1:
[0039] Figure 1 The implementation process of the proxy re-signing method based on blockchain provided in the first embodiment of the present invention is shown. For the convenience of explanation, only the part related to the embodiment of the present invention is shown, which is described in detail as follows:
[0040] In step S101, when the signer's cryptographic reverse firewall receives the signer's first signature, the signer's cryptographic reverse firewall randomizes the first signature using a randomly selected first randomization parameter to obtain a second signature, and sends the second signature to the cloud proxy service provider.
[0041] The embodiment of the present invention is applicable to a data processing platform, device or server, such as a personal computing device, server, etc. In the embodiment of the present invention, when the signer's cryptographic reverse firewall (Cryptographic Reverse Firewall, CRF) receives the signer's first signature σ A When the signer's cryptographic reverse firewall is in a finite domain The first randomization parameter δ (i.e. ), using the first randomization parameter δ to σ A Randomize and get the second signature σ′ A , that is, σ′ A =(σ A ) δ , and the second signature σ′ A Sent to a third-party cloud proxy service provider.
[0042] In a feasible embodiment, before the signer's cryptographic reverse firewall receives the signer's first signature, the signer obtains the system public parameters from the blockchain, signs the message based on the system public parameters and its own private key to obtain the first signature, and sends the first signature to the signer's cryptographic reverse firewall. Specifically, the signer first randomly selects a random number a. And obtain the system public parameters {G,G1,p,g,e,H,S,(g2,s′,s1,···,s n )}, based on the system public parameters, use the randomly selected random number to generate your own private key SK A =a and public key PK A ={g,g a ,g2,s′,s1,···,s n}, in order to facilitate distinction, the private key SK of the signer A It is called the second private key, and the public key PK of the signer A It is called the second public key, and then randomly select Using your own private key SK ASign the message m(nbit) with r to get the first signature Where ω=s′·Π i∈S s i , The first signature σ A Include first subsignature and the second subsignature G and G1 are both cyclic multiplicative groups of prime order p, g is a generator of group G, e is a bilinear map based on groups G and G1, and satisfies e:G×G→G1, (g2,s′,s1,s2,···,s n ) is in a finite field n+2 random numbers are randomly selected from the random numbers (s1, s2, ···, s n ), that is, S = s i (i=1,2,···,n), H:{0,1} * →{0,1} n Sets the hash function to use for signing messages of arbitrary length.
[0043] In another feasible embodiment, when the signing party cryptographic reverse firewall uses the randomly selected first randomization parameter to randomize the first signature, specifically,
[0044] In step S102, the cloud proxy service provider obtains a pre-stored proxy re-signature key from the blockchain, uses the obtained proxy re-signature key to proxy re-sign the second signature to obtain a third signature, and sends the third signature to the re-signing party cryptographic reverse firewall.
[0045] In the embodiment of the present invention, the cloud proxy service provider first obtains the pre-stored proxy re-signature key rk′ from the blockchain. A→B , and then use rk′ A→B For the second signature σ′ A Perform proxy re-signing to obtain the third signature σ B , and finally B Send to the re-signing party password reverse firewall.
[0046] In a feasible embodiment, before the cloud proxy service obtains the pre-stored proxy re-signing key from the blockchain, the signer's cryptographic reverse firewall uses the first randomization parameter δ to re-sign the re-signing key rk sent by the signer to A→B Randomize and get the proxy re-signature key rk′ A→B , and the proxy re-signing key rk′ A→B Save it to the blockchain, thereby using blockchain technology to ensure that the information on the blockchain cannot be tampered with, thereby achieving data storage security.
[0047] In another feasible embodiment, before the signing party cryptographic reverse firewall uses the first randomization parameter to randomize the re-signing key sent by the signing party, the re-signing key is determined by the following steps:
[0048] (1) The re-signing party's cryptographic reverse firewall uses the second randomization parameter to randomize the received first private key and first public key of the re-signing party respectively, to obtain corresponding first key parameters and second key parameters, and the re-signing party's cryptographic reverse firewall uploads the first key parameters and the second key parameters to the blockchain, and sends the first key parameters to the signer;
[0049] In the embodiment of the present invention, the re-signing party password reverse firewall utilizes The second randomization parameter φ randomly selected in the re-signing party receives the first private key SK B and the first public key PK B Randomize them respectively to obtain the corresponding first key parameter SK′ B and the second key parameter PK′ B , the re-signing party password reverse firewall will randomize the first key parameter SK′ B and the second key parameter PK′ B Upload to the blockchain and set the first key parameter SK' B Sent to the signatory.
[0050] In a feasible embodiment, before the re-signing party cryptographic reverse firewall uses the second randomization parameter to randomize the received first private key and first public key of the re-signing party, the re-signing party Select a random number b from the blockchain, obtain the system public parameters from the blockchain, and use the random number to generate its own private key SK based on the system public parameters. B = b and public key PK B ={g,g b ,g2,s′,s1,···,s n}, and SK B and PK B The private key SK of the re-signing party is sent to the reverse firewall of the password. B It is called the first private key, and the public key PK of the re-signing party B It is called the first public key.
[0051] In another feasible embodiment, the re-signing party cryptographic reverse firewall uses the second randomization parameter φ to receive the first private key SK of the re-signing party. B and the first public key PK B When randomization is performed separately, specifically, SK′B = bφ, PK′ B ={g′,g′1,g2,s′,s1,···,s n}.
[0052] (2) The signer and the re-signer determine their re-signing keys based on the signer's second private key and the first key parameters, and the signer sends the re-signing key to the signer's cryptographic reverse firewall.
[0053] In the embodiment of the present invention, the signer receives the first key parameter SK′ of the re-signer's cryptographic reverse firewall B When, based on the second private key SK A and the first key parameter SK′ B The signer and the re-signer negotiate a key and determine the re-signing key of both parties to be rk A→B = bφ / amodp, then the signer will re-sign the key rk A→B Send the signer a password to the reverse firewall.
[0054] The re-signing key is determined through the above steps (1) and (2), so that the information is re-randomized through the cryptographic reverse firewall, which strengthens the ability to resist internal attacks during subsequent re-signing and improves the security performance during subsequent re-signing.
[0055] In another feasible embodiment, the signing party cryptographic reverse firewall uses the first randomization parameter to re-sign the key rk sent by the signing party to A→B When randomization is performed, specifically, rk′ A→B =bφ / aδmodp.
[0056] In another feasible embodiment, when using rk′ A→B For σ′ A When performing proxy re-signing, specifically,
[0057] In step S103, the re-signing party cryptographic reverse firewall re-randomizes the third signature according to the randomly selected second randomization parameter to obtain a fourth signature.
[0058] In the embodiment of the present invention, the re-signing party password reverse firewall receives the third signature σ sent by the cloud proxy service provider B Then, the third signature is re-randomized using the randomly selected second randomization parameter φ Specifically, Get the fourth signature
[0059] In step S104, the re-signing party saves the fourth signature sent by the re-signing party's cryptographic reverse firewall into the blockchain.
[0060] In the embodiment of the present invention, the re-signing party password reverse firewall converts the fourth signature σ′ B Send it to the re-signer, who will receive the fourth signature σ′ B Upload to the blockchain for storage.
[0061] In a feasible embodiment, after the re-signing party saves the fourth signature sent by the re-signing party's password reverse firewall to the blockchain, the verifier obtains the fourth signature and the pre-stored signature verification parameters from the blockchain, and uses the signature verification parameters to verify the legitimacy of the fourth signature, wherein the signature verification parameters include but are not limited to system public parameters, second key parameters, and first key parameters. Specifically, after the verifier obtains the fourth signature and the signature verification parameters from the blockchain, the verification equation Is it true? If the equation is true, then determine the fourth signature σ′ after the proxy re-signature B is legal, otherwise, the fourth signature σ′ is determined B It is illegal, so that the verifier can obtain relevant data from the blockchain for signature verification, which reduces manpower consumption and increases verification efficiency.
[0062] In an embodiment of the present invention, when the signing party cryptographic reverse firewall receives the signing party's first signature, the signing party cryptographic reverse firewall uses the first randomization parameter to randomize the first signature to obtain a second signature, and sends the second signature to the cloud proxy service provider. The cloud proxy service provider obtains the proxy re-signature key from the blockchain, uses the proxy re-signature key to proxy re-sign the second signature to obtain a third signature, and sends the third signature to the re-signing party cryptographic reverse firewall. The re-signing party cryptographic reverse firewall re-randomizes the third signature according to the second randomization parameter to obtain a fourth signature. The re-signing party saves the fourth signature sent by the re-signing party cryptographic reverse firewall to the blockchain, thereby preventing algorithm replacement attacks by internal attackers and improving the anonymity of user information and the security of data storage.
[0063] Embodiment 2:
[0064] Figure 2 The structure of the proxy re-signature device based on blockchain provided by the second embodiment of the present invention is shown. For the convenience of explanation, only the part related to the embodiment of the present invention is shown, including:
[0065] A first randomization unit 21 is used for randomizing the first signature of the signer by using a randomly selected first randomization parameter when the signer password reverse firewall receives the first signature of the signer to obtain a second signature, and sending the second signature to the cloud proxy service provider;
[0066] The proxy re-signing unit 22 is used for the cloud proxy service party to obtain a pre-stored proxy re-signing key from the blockchain, use the obtained proxy re-signing key to proxy re-sign the second signature to obtain a third signature, and send the third signature to the re-signing party cryptographic reverse firewall;
[0067] A second randomization unit 23, configured for the re-signing party cryptographic reverse firewall to re-randomize the third signature according to a randomly selected second randomization parameter to obtain a fourth signature;
[0068] The signature preservation unit 24 is used for the re-signing party to save the fourth signature sent by the re-signing party password reverse firewall into the blockchain.
[0069] In the embodiment of the present invention, each unit of the proxy re-signature device based on blockchain can be implemented by a corresponding hardware or software unit, and each unit can be an independent software or hardware unit, or can be integrated into a software or hardware unit, which is not intended to limit the present invention. Specifically, the implementation of each unit can refer to the description of the aforementioned embodiment 1, which will not be repeated here.
[0070] Embodiment three:
[0071] Figure 3 The structure of the proxy re-signature device based on blockchain provided in the third embodiment of the present invention is shown. For the convenience of explanation, only the part related to the embodiment of the present invention is shown, including:
[0072] The key parameter obtaining unit 31 is used for the re-signing party cryptographic reverse firewall to randomize the received first private key and first public key of the re-signing party respectively using the second randomization parameter to obtain the corresponding first key parameter and second key parameter. The re-signing party cryptographic reverse firewall uploads the first key parameter and the second key parameter to the blockchain, and sends the first key parameter to the signer;
[0073] The signing key determination unit 32 is used for the signing party and the re-signing party to determine the re-signing key of both parties based on the second private key of the signing party and the first key parameter, and the signing party sends the re-signing key to the signing party cryptographic reverse firewall;
[0074] The key randomization unit 33 is used for the signer's cryptographic reverse firewall to randomize the re-signing key sent by the signer using the first randomization parameter to obtain a proxy re-signing key, and save the proxy re-signing key to the blockchain;
[0075] A first randomization unit 34 is used for, when the signer cryptographic reverse firewall receives the first signature of the signer, the signer cryptographic reverse firewall uses the randomly selected first randomization parameter to randomize the first signature to obtain a second signature, and sends the second signature to the cloud proxy service provider;
[0076] The proxy re-signing unit 35 is used for the cloud proxy service party to obtain a pre-stored proxy re-signing key from the blockchain, use the obtained proxy re-signing key to proxy re-sign the second signature to obtain a third signature, and send the third signature to the re-signing party cryptographic reverse firewall;
[0077] A second randomization unit 36, configured for the re-signing party cryptographic reverse firewall to re-randomize the third signature according to a randomly selected second randomization parameter to obtain a fourth signature;
[0078] The signature storage unit 37 is used for the re-signing party to store the fourth signature sent to the re-signing party password reverse firewall in the blockchain;
[0079] The signature verification unit 38 is used for the verification party to obtain the fourth signature and pre-stored signature verification parameters from the blockchain, and use the signature verification parameters to verify the legitimacy of the fourth signature.
[0080] In the embodiment of the present invention, each unit of the proxy re-signature device based on blockchain can be implemented by a corresponding hardware or software unit, and each unit can be an independent software or hardware unit, or can be integrated into a software or hardware unit, which is not intended to limit the present invention. Specifically, the implementation of each unit can refer to the description of the aforementioned embodiment 1, which will not be repeated here.
[0081] Embodiment 4:
[0082] Figure 4 The structure of a computing device provided by a fourth embodiment of the present invention is shown. For ease of description, only the parts related to the embodiment of the present invention are shown.
[0083] The computing device 4 of the embodiment of the present invention includes a processor 40, a memory 41, and a computer program 42 stored in the memory 41 and executable on the processor 40. When the processor 40 executes the computer program 42, the steps in the above-mentioned blockchain-based proxy re-signing method embodiment are implemented, such as Figure 1 Alternatively, when the processor 40 executes the computer program 42, the functions of each unit in the above-mentioned device embodiments are realized, for example Figure 2 The functions of units 21 to 24 are shown.
[0084] In an embodiment of the present invention, when the signing party cryptographic reverse firewall receives the signing party's first signature, the signing party cryptographic reverse firewall uses the first randomization parameter to randomize the first signature to obtain a second signature, and sends the second signature to the cloud proxy service provider. The cloud proxy service provider obtains the proxy re-signature key from the blockchain, uses the proxy re-signature key to proxy re-sign the second signature to obtain a third signature, and sends the third signature to the re-signing party cryptographic reverse firewall. The re-signing party cryptographic reverse firewall re-randomizes the third signature according to the second randomization parameter to obtain a fourth signature. The re-signing party saves the fourth signature sent by the re-signing party cryptographic reverse firewall to the blockchain, thereby preventing algorithm replacement attacks by internal attackers and improving the anonymity of user information and the security of data storage.
[0085] The computing device of the embodiment of the present invention may be a personal computing device or a server. The steps implemented when the processor 40 in the computing device 4 executes the computer program 42 to implement the proxy re-signing method based on blockchain can refer to the description of the aforementioned method embodiment, which will not be repeated here.
[0086] Embodiment five:
[0087] In an embodiment of the present invention, a computer-readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned blockchain-based proxy re-signing method embodiment are implemented, for example, Figure 1 Alternatively, when the computer program is executed by a processor, the functions of each unit in the above-mentioned device embodiments are realized, for example Figure 2 The functions of units 21 to 24 are shown.
[0088] In an embodiment of the present invention, when the signing party cryptographic reverse firewall receives the signing party's first signature, the signing party cryptographic reverse firewall uses the first randomization parameter to randomize the first signature to obtain a second signature, and sends the second signature to the cloud proxy service provider. The cloud proxy service provider obtains the proxy re-signature key from the blockchain, uses the proxy re-signature key to proxy re-sign the second signature to obtain a third signature, and sends the third signature to the re-signing party cryptographic reverse firewall. The re-signing party cryptographic reverse firewall re-randomizes the third signature according to the second randomization parameter to obtain a fourth signature. The re-signing party saves the fourth signature sent by the re-signing party cryptographic reverse firewall to the blockchain, thereby preventing algorithm replacement attacks by internal attackers and improving the anonymity of user information and the security of data storage.
[0089] The computer-readable storage medium of the embodiment of the present invention may include any entity or device or recording medium capable of carrying computer program code, for example, ROM / RAM, magnetic disk, optical disk, flash memory and other memories.
[0090] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A proxy re-signing method based on blockchain, characterized in that: The method comprises the following steps: When the signer's cryptographic reverse firewall receives the signer's first signature, the signer's cryptographic reverse firewall randomizes the first signature using a randomly selected first randomization parameter to obtain a second signature, and sends the second signature to the cloud proxy service provider; The signer cryptographic reverse firewall randomizes the re-signing key sent by the signer using the first randomization parameter to obtain a proxy re-signing key, and saves the proxy re-signing key to the blockchain; The cloud proxy service provider obtains a pre-stored proxy re-signature key from the blockchain, uses the obtained proxy re-signature key to proxy re-sign the second signature to obtain a third signature, and sends the third signature to the re-signing party cryptographic reverse firewall; The re-signing party cryptographic reverse firewall re-randomizes the third signature according to a randomly selected second randomization parameter to obtain a fourth signature; The re-signing party saves the fourth signature sent to the re-signing party's cryptographic reverse firewall into the blockchain; Before the step of randomizing the re-signing key sent by the signer to the cryptographic reverse firewall using the first randomization parameter, the method further includes: The re-signing party cryptographic reverse firewall uses the second randomization parameter to randomize the received first private key and first public key of the re-signing party respectively to obtain corresponding first key parameters and second key parameters, and the re-signing party cryptographic reverse firewall uploads the first key parameters and the second key parameters to the blockchain, and sends the first key parameters to the signer; The signer and the re-signer determine the re-signing key of both parties based on the signer's second private key and the first key parameter, and the signer sends the re-signing key to the signer's cryptographic reverse firewall.
2. The method according to claim 1, characterized in that After the step of the re-signing party saving the fourth signature sent to the re-signing party password reverse firewall in the blockchain, the method further comprises: The verifier obtains the fourth signature and pre-stored signature verification parameters from the blockchain, and uses the signature verification parameters to verify the legitimacy of the fourth signature.
3. A proxy re-signature device based on blockchain, characterized in that: The device comprises: A first randomization unit is used for, when the signer cryptographic reverse firewall receives the first signature of the signer, the signer cryptographic reverse firewall uses the randomly selected first randomization parameter to randomize the first signature to obtain a second signature, and sends the second signature to the cloud proxy service provider; A key randomization unit, configured for the signer cryptographic reverse firewall to randomize the re-signing key sent by the signer using the first randomization parameter to obtain a proxy re-signing key, and save the proxy re-signing key to the blockchain; A proxy re-signing unit, configured for the cloud proxy service provider to obtain a pre-stored proxy re-signing key from the blockchain, to proxy re-sign the second signature using the obtained proxy re-signing key to obtain a third signature, and to send the third signature to the re-signing party cryptographic reverse firewall; A second randomization unit, configured for the re-signing party cryptographic reverse firewall to re-randomize the third signature according to a randomly selected second randomization parameter to obtain a fourth signature; The signature saving unit is used for the re-signing party to save the fourth signature sent to the re-signing party password reverse firewall into the blockchain; The device also includes: a key parameter obtaining unit, configured for the re-signing party cryptographic reverse firewall to randomize the received first private key and first public key of the re-signing party respectively using the second randomization parameter to obtain corresponding first key parameters and second key parameters, the re-signing party cryptographic reverse firewall to upload the first key parameters and the second key parameters to the blockchain, and to send the first key parameters to the signer; A signing key determination unit is used for the signer and the re-signer to determine the re-signing key of both parties based on the second private key of the signer and the first key parameter, and the signer sends the re-signing key to the signer cryptographic reverse firewall.
4. The device according to claim 3, characterized in that The device also includes: The signature verification unit is used for the verification party to obtain the fourth signature and pre-stored signature verification parameters from the blockchain, and use the signature verification parameters to verify the legitimacy of the fourth signature.
5. A computing device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 2 are implemented.
6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 2 are implemented.
