Spatium Vision: Constructing a New Security Paradigm

Spatium
Spatium
Nov 8, 2019 · 6 min read
Image for post
Image for post

In the previous article, we have researched in detail the problems of the private keys and explained why they should be replaced with new security approaches (you can read the article here).

Brief: If strategic nuclear forces used the same security approach as the crypto industry — it would be based on the one red button, which could launch all rockets at once if pushed by a random person.

In this material, we will explore our vision of some principles that modern security systems could use for keeping up with the fast-changing requirements of the market, and create future-ready products.

No private key

Today crypto industry receives millions of dollars in investments. Hence, it is better to abandon the private key, which is the single point of failure, rather than constantly trying to guard it from hackers. And this is where we meet the MPC (multi-party computation) technology. Let’s go to a short explanation of it.

The private key is replaced with the set of secrets. These secrets are distributed between the user and the number of parties chosen by him. MPC parties can be any user’s gadgets or devices stored on behalf of chosen institutions or people. Each party independently generates, stores and processes its secret separated from other parties. To perform any action with funds, the quorum of parties, set by the user, is needed. Each party, on their own, can not get access to funds or perform any transaction without the funds’ owner. The transaction is initiated by one party and sequentially co-signed by the other parties, participating in the signing process.

Described architecture eliminates the risk of private keys theft: you can’t steal something that does not exist. Also, it solves a problem of a secret data loss due to one of the parties getting compromised.

MPC has a number of important benefits:

  1. Replacement of the private key with the set of secrets eliminates the single point of failure. If the risk of the single private key’s compromisation is 1/x, then the risk of the simultaneous compromisation of N secrets is 1/x^N — a value of a different order. Such an approach provides the security level of the cold storage with only hot wallets in use (and without limitations of cold wallets).
  2. Usually, the private key is stored somewhere on one entity (software wallet, hardware wallet, paper wallet, etc). It does not seem a good idea to use the same wallet to store millions and to buy goods daily. Sure, funds can be separated between hardware and software wallets, but then, the user will need to manage two private keys and two backups, which is not convenient. With MPC, the user can build hierarchies of parties with secrets (conditional authorizations) for a variety of use-cases: 2-of-2 signs for online shopping, 3-of-4 signs for funds transfer, etc. Each configuration can be set as the optimal solution for a specific task. The number of use-cases and configurations is limited only by the user’s imagination.
  3. The user can assign the rights (in terms of access to funds) for each party. For example, a bank can be delegated full responsibility for the storage of funds without access to them. Large enterprises can configure complex authorisation logic needed to perform transaction signing. For example, in a small company, transactions can be signed by one of the two employees from the financial department, while in the big companies, the signing process can require the quorum of the directors.

Such functionality can be implemented via the multi-sig, but it will work only with on-chain transactions of the limited number of digital assets and only with specific types of addresses, while with MPC the same can be done off-chain with digital assets of any blockchain, making it more convenient and faster solution. Also, MPC address can be used in dApps and DeFi services, while multi-sig address can’t (detailed comparison of both technologies will be provided in one of the following materials).

The use of MPC for the transaction signing is based on advanced and proven cryptographic techniques: Threshold signature, Zero-knowledge proof, Paillier encryption, Homomorphic encryption. Spatium is one of the pioneers in the field — the team began to work in the subject in 2017 and were the first in the world, who suggested the open-source MPC algorithms to the public (April 2018).

No backup

The private key (or the seed phrase in HD wallets) is always generated randomly. Thus, it is necessary to make a backup of it. That’s where a lot of problems appear: backups are often get lost, destroyed, or become unusable, so the user should provide a high level of security for them. But despite the attempts to keep backups safe, the probability of unauthorized access to them is still high. That’s why it is needed to go another way — not to make backups at all. An optimal solution is to use biometry.

Biometry is the method of authorization based on a user’s biometric data (e.q. fingerprint), used by government structures in various countries as the technical approach providing the highest level of security. Beyond that, it is a very convenient method to access the system (and getting rights to be distinguished for an entity as well).

Today biometry is often used to encrypt the private key in the system. But, if it is used to generate secrets on each access to perform every operation, we will free the user from the necessity to remember a private key/seed phrase or keep them offline and will provide him with the ability to access his funds in a secure, fast and convenient way from anywhere — as “keys will always be in his hand”.

Not proprietary

Kerckhoffs’s principle says: a cryptosystem should be secure even if everything about the system, except the key, is public knowledge. Unfortunately, the majority of IT projects do not follow this principle. Instead, their software is proprietary, and no one knows what is in their code. Meanwhile, a lot of scandals has appeared in the news recently about backdoors found in the hardware of Intel, AMD, etc. If you want your funds to be stored securely, you need to take this aspect very seriously.

HSM / Secure Enclave devices provide a very high level of security, but the user is obliged to trust the firmware of the hardware vendor, which in most cases is not open-source. In particular, he should be convinced that his private data is not being uploaded to the vendor’s servers, where it can be provided to anyone upon request. For example, access to such data can be granted to government forces for the AML-analysis and to perform censorship: transaction cancellation, funds confiscation, etc. Advertising agencies also can be interested in the data to examine the financial situation of the user and define the products he is interested in. Moreover, the user is obliged to trust that the firmware developers won’t use this private data to steal his funds themselves.

But exploits can be found even in hardware wallets with the open-source firmware, which are designed specifically for the needs of the crypto industry. So the user must follow all related news and manually update his software all the time to protect his funds form new attack vectors. All this doesn’t seem like a convenient solution.

In light of the above, it is clear that the firmware codebase should be open, and the update process must occur automatically without the user’s intent, providing him with the maximum level of convenience.

Outro

Here is our vision of a security system that will meet the high requirements of the market and stay secure and convenient even years later.

In the next article, we will explore how all mentioned principles are implemented in the Spatium protocol to bring the future-ready product to masses and institutions.

#spatium_vision

develops solutions to store and manage digital assets powered by SMPC and biometry. In our technology, the private key is replaced with the encrypted set of secrets, stored on behalf of funds owner’s devices, individuals and institutions, chosen by him. Even if some of the parties are compromised — funds will stay safe. Such an approach dramatically decreases the risk of theft and provides a previously unavailable level of flexibility and unique benefits for everyone on the market: no single point of failure, easy recovery, no need in backups, blockchain agnostic, access levels differentiation, instant crypto/crypto and crypto/fiat exchange, fully compliant solution, support of dApps and DeFi services, etc.

Spatium Blog

Keyless & genuinely decentralized solution to manage…

Spatium

Written by

Spatium

Spatium — true, decentralized, keyless crypto storage solution, bringing complex cryptographic technologies from security experts to blockchain enthusiasts.

Spatium Blog

Keyless & genuinely decentralized solution to manage digital assets.

Spatium

Written by

Spatium

Spatium — true, decentralized, keyless crypto storage solution, bringing complex cryptographic technologies from security experts to blockchain enthusiasts.

Spatium Blog

Keyless & genuinely decentralized solution to manage digital assets.

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store