Tech Tuesday Development Update - 2019 Week 9: Quantum resistant dilithium implemented & MuSig key aggregation custom consensus modules

myloFebruary 26, 2019

This series of posts is called the Tech Tuesday Updates. Along with the Five Bullet Fridays weekly newsletter, Tech Tuesday Updates will be another weekly piece of content to look forward to.

In case you’ve missed a previous edition and want to catch up, you can find all the previous Tech Tuesday updates here.

Last week in week 8 we began to look at the innovations that Komodo makes for the blockchain industry with part 1 for 2019. In this week, we take a break from review of innovations already made and return for a look at what has happened in the past week. We will return with blockchain innovations series in the coming week or two.

MuSig Custom Consensus Module for mass multi signature & quantum resistant transactions with dilithium scheme

Komodo now supports key aggregation and security from MuSig’s plain public key model. The new MuSig custom consensus module also supports quantum resistant transactions with the dilithium signature scheme.

The discord channel #cc-musig collaborated for some public tests. The results are a 1000-key jointly signed transaction. Lead Dev jl777 also performed the first quantum resistant transaction on Komodo using the dilithium signature scheme.

The keys used for the 1000 jointly signed MuSig transaction are 1000.json (LINK to json media). The tests are reproducible by modifying the original test python script to automate to accept this json file for input.

1000-musig-signatures.json

A multi-signature scheme is a combination of a signing and verification algorithm. MuSig is a “simple” scheme that combines support for key aggregation and security in the plain public key model. A verifier does not need to know the public keys of the original participants.

Dilithium is a signature scheme that is strongly secure under certain attacks because of the hardness of lattice problems over module lattices. Dilithium is a candidate submitted to the NIST post-quantum cryptography project.

A call to cryptographers & cryptographic researchers

Cryptographers and cryptographic research can now implement their algorithms using Komodo’s loadable custom consensus modules. In the past week, jl777 has demonstrated how to add new Komodo signing algorithms MuSig and dilithium.

Jl777 had this to say about Komodo architecture and the ability to add new security and signing modules:

Since komodo architecture allows a custom CC chain to inherit all the rest, in literally a weekend, I created a chain that is able to generate dilithium keypairs, send funds to a pubkey and spend those funds using a privkey.
Unlike other quantum resistant algos, dilithium appears to allow pubkey reuse.
Will dilithium be the officially selected algo? maybe, maybe not. if not, i will have to spend another weekend adding a different algo

dPoW: A sustained blockchain attack thwarted on EMC2 by dPoW security, failed 51% attack

hashrate spike monitoring botIf this is your first time reading, Komodo has a Blockchain Security Service to secure Proof of Work blockchains with small networks. It is a decentralized solution where all nodes in the protected chain include a notarization hash in their consensus. This checkpointing system prevents chain re-organization to a sufficient depth for an attacker to exploit and double spend.

A couple of tweets from forkwitch (previous security analysis) and HUSH lead dev (also protected by dPoW) and a notification from a monitoring system bot (right).

No news is good news, as they say.

Build Komodo on Mac OSX and play the ROGUE blockchain game

Updated instructions for mac developers and enthusiasts on building Komodo for testing the loadable custom consensus module for playing ROGUE.

https://github.com/KomodoPlatform/komodo/wiki/Get-Started-with-Rogue-Game#macos-osx

Any problems with building or playing ROUGE, check out #cc-rogue in discord. Friendly gamers!

hybrid blockchain game - web and p2p

Hybrid blockchain testing with ROGUE blockchain game

Are hybrid blockchain solutions and games viable on Komodo?

Some of the team and ecosystem dApp developers have been experimenting with simple ways to expose the text based game over the web. Not necessarily for any product or service from Komodo, but as an example of engineering teams to leverage the different technologies and create hybrid blockchain solutions.

The answer is YES to hybrid solutions using Komodo technology - decentralized p2p is the best, but in some enterprise environments - hybrid may be better.

hybrid blockchain solution exposed to centralized web hosting

The TUI (text user interface) exposed over a websocket connection. TUI is a test tool supporting oracles, assets & tokenization, gateways and the ROGUE blockchain game.

Komodo WordPress Plugin: WooCommerce Community Demo

The Komodo Cakeshop project is run by the notary node team “Komodo Pioneers” which I am a part of. It’s goals are to demonstrate Komodo technology in various ways.

With the Komodo wordpress plugin demo, it is hoped that people can easily see integratation possibilities with Komodo technology (and their custom blockchain/ledger technologies built on Komodo) as a way to collaborate with each other.

What a week!

KMDLABS discord channel (#kmdlabs) is dedicated to testing innovations, upgrades, new features and is a great way to get the necessary skills and knowledge for being a competent Notary Node operator.

To get more updates from Komodo, sign up for our weekly Five Bullet Fridays newsletter and join our active community on Discord.

Join us as we continue to develop and lead the blockchain industry into the future.