This is Hierarchical Threshold Signature Scheme (HTSS) worked by AMIS. Comparing to Threshold Signature Scheme (TSS), shares in this scheme are allowed to have different ranks.
The main merit of HTSS is vertical access control such that it has "partial accountability”. Although TSS achieves joint control to disperse risk among the participants, the level of all shares are equal. It is impossible to distinguish which share getting involved in an unexpected signature. TSS is not like the multi-signature scheme as the signature is signed by distinct private keys in multi-signature scheme. It is because Shamir’s secret sharing only supports horizontal access control.
For example, an important contract not only requires enough signatures, but also needs to be signed by a manager. Despite the fact that vertical access control can be realized on the application layer and tracked by an audit log. Once a hack happens, we will have no idea about who to blame for. However, in HTSS framework, through assigning different ranks of each share induces that any valid signature generated includes the share of the manager.
HTSS has been developed by Tassa and other researchers many years ago. In our implementation, we setup up this theory on TSS(i.e. just replace Lagrange Interpolation to Birkhoff Interpolation).
Now, Alice supports two parts:
-
verichanis, tssshock: They mentioned three security issues.
a. Weaknesses in using ambiguous encoding scheme (alpha shuffle): Our implementation of GG18 and CGGMP adapts the Google protobuf, so our implementation is essentially immune to this attack.
b. c-split: The version of our GG18 is secure according to Theorem 2 in the GG18. We follow the suggestion of GG18 to substitute sMTA for mta and mta with check. So, we do not implement this proof in our GG18.
c. c-guess: We do not implement dlnproof in GG18 as described in the case b. Our iteration of the zkproof in CGGMP is at least 80. ref here. If necessary, this value can be adjusted to 128. However, in practical terms, using 80 or above is considered reasonable.
-
GG18 and GG20 Paillier Key Vulnerability [CVE-2023-33241]: Technical Report: In GG18 case, we have added a check: For any Paillier public key, it must not be divisible by the first three thousand prime numbers. For the CGGMP case, we have implemented a zero-knowledge proof named "Nosmallfactoezkproof" for Paillier that corresponds to this issue.
Alice has been audited by Kudelski Security.
-
(GG18 And CCLST) The details can be found in here.
Algorithm: The algorithms can be downloaded in here.
-
(FROST And CGGMP) The details can be found in here.
Algorithm: The algorithms can be downloaded in here.
Although the fist part of Alice has been audited, you should still be careful to use it.
- Using end-to-end encryption to transfer messages between two parties is necessary.
- If any error messages occur during execution Alice, you should stop and restart it. Never restart in the middle flow.
- Now, the version of our GG18 is secure according to Theorem 2 in the GG18. We follow the suggestion of GG18 to substitute sMTA for mta and mta with check.
If you have more questions, you can connect us directly without any hesitation.
Wallet: Qubic
- binaryfield: support some basic operation of binary fields.
- binaryquadratic: support operations ideal class groups of quadratic imaginary fields over the rational number Q (ref.here).
- bip32: support two-party computation of BIP32.
- birkhoffinterpolation: support the birkhoff interpolation (i.e. a generization of Lagrange interpolation).
- circuit: support the loading of bristol fashion and garbling circuit (ref. Two Halves Make a Whole: Reducing Data Transfer in Garbled Circuits using Half Gates).
- commitment: support Section 2.4: hash commitment, Section 2.6:Feldman’s VSS parotocol, and Pedersen Commitment.
- dbnssystem: write a positive integer to be The Double-Base Number expression.
- ecpointgrouplaw: an interface of group operations of elliptic curve groups.
- elliptic: support groups of of elliptic curve groups.
- homo: support additive homomorphic encryptions: Castagnos and Laguillaumie homomorphic Scheme and Paillier homomorphic cryptosystem.
- matrix: support some operations of matrices over finite fields.
- mta: the special package used in the sign algorithm of ECDSA.
- oprf: support a hash function mapping to the points of secp256k1. (ref. Shallue-van de Woestijne Method: Hashing to Elliptic Curves)
- ot: support an Oblivious transfer protocol (ref. our implementation: Blazing Fast OT for Three-round UC OT Extension).
- polynomial: support some operations of polynomials over finite fields.
- tss: support ECDSA: GG18, CCLST, and CGGMP. And EdDSA: FROST.
- utils: support some commonly used functions.
- zkrpoof: support some zero knowledge proofs e.x. Schnorr's proof, factorization proof and so on.
Thanks to
- Filipe Casal from Trail of Bits for indicating the potential issues of integer factorization proof.
- Coinbase Developer grant