# Cryptography group @Parfin <!-- - [name=Auqib] [name=David] [name=Iraklis] --> :::success ## :100: Goal: **:rocket: :rocket: :rocket: :rocket: :rocket: :rocket:** ## :books: Tasks: 1. Review existing open source TMPC libraries: Axelar, Taurus, ZenGo, Kryptology : check if libraries - are modularly extendable in order to build on top other cryptographic protocols, - they support an existing sdk or they come as standalone libraries, - they support network stack. 3. Organize internal Parfin meetups for cryptography education 4. Conferences attendace: RWC 5. [Constant cryptography/security audit of Parfin stack](https://hackmd.io/iFzv1yyhT9KOE1DDEXHttw) 6. [Put critical code in Nitro enclaves](/sj5sAmCbQ6-4dvUqxc4J1w)(ongoing) 7. [Start networking in the community](https://github.com/axelarnetwork/tofn/issues/200)(ongoing) 8. [Update with relevant state of the art in Threshold Cryptography](/8zzZnGHCQ--f4zbCu1ZD-Q)(ongoing) 9. Powerpoint with competitor analysis with a nice balance in details ## :closed_book: Output: 1. - [x] [Review](#MPC-libs-review) of libs (the underlying math lib layer hasn't been reviewed) - [x] Build a standalone demo (currently a rust test mod, better make an independent main executable) - [x] Build a fully functional network demo - [ ] Integrate to parfin stack - [ ] *Think more what needs to be done here, talk with engineering team* - [ ] Benchmark solutions --- 2. - [ ] [Presentation](https://netorgft4027945.sharepoint.com/:p:/r/sites/ParFin/_layouts/15/Doc.aspx?sourcedoc=%7B9B71DA25-C46B-4A84-A79E-09750CE26864%7D&file=Cryptographic%20Signatures.pptx&action=edit&mobileredirect=true&cid=bcd596ad-084c-4fe3-972c-2c97c800c4e4) for cryptographic signatures - [x] [Blog for everyone](https://hackmd.io/7E__RdNaRZyjwdyFOVun0A) <!-- ## :dart: Timeplan 1st phase: review the corresponding papers 2-4weeks 2nd phase: Audit and experiment the corresponding libraries 2-3months 3rd phase: Produce all the outputs as described above Capacity: 2 interns 6 months Ask for sources: Claudio, JM, LASEC members, Beitul, Damian, IACR --> --- ## MPC libs review #### Kryptology: Coinbase (https://github.com/coinbase/kryptology): * Go * Protocols: Threshold ECDSA GG20 and DKLs18 + DKGs * Doc level: very poor * No network stack available for the moment * No ser/des * No audit * It is frequently updated #### Taurus: https://github.com/taurusgroup/multi-party-sig * Go * Protocols: CMP, Frost (Schnorr) * Doc level: Documentation to set up a standalone demo * No network stack available for the moment * No ser/des * No audit * It is not updated frequently #### ZenGo: https://github.com/ZenGo-X/multi-party-ecdsa * Rust * Protocols:GG18,GG20,L17,Castagnos19 * Public audit * No network stack available for the moment * No ser/des #### Axelar: https://github.com/axelarnetwork/tofn * Rust * Protocols: GG20 * Doc level: Good * Audited by NCC and the Taurus interns: Adrian, Lucas * Ser/des and networking supported * SDK,Docker images, wrapped as grpc daemons to be used in production * Tony Arcieri is actively advising and supporting: he is the creator of rust crypto crate and very knowledgable/known/respectful in the community * Not used in production (claimed tests with 50+ shares) * It is an active project in progress which needs time for improvements and maturity: > *Both tofn and tofnd are currently under **active and ongoing** development. Both repos were audited by NCC Group Cryptography Services on 2021-aug-10 and by Adrian Hamelink and Lúcás Meier on 2021-oct-29.*