VORTEX.CHAT | NEWS 02 – Protocol specifications

in #vortex7 years ago (edited)

After having processed all collaborations points on which some specification's points concerning our protocol depended on, the official protocol specification is publicly available.

If you've missed our announcement, we recommend you to visit vortex.chat .


VORTEX's protocol specifications

Encryption and signature algorithms

Asymmetric encryption and signature algorithms

Ntru and McEliece asymmetric encryption algorithms implemented in WebAssembly and wrapped in Javascript are used as the method of asymmetric encryption.

Supersphincs asymmetric signature algorithm implemented in WebAssembly and wrapped in Javascript is used to sign each layer of encrypted data from the asymmetric encryption method.

Symmetric encryption and signature algorithms

TripleSec symmetric encryption and signature algorithm is used as the method of symmetric encryption and signature. TripleSec does contain the scrypt algorithm which is weakened in order to keep great performances. TripleSec is rebuild using algorithms from libsodium which has WebAssembly implementations.

Encryption and signature protocol

Public keys generated from asymmetric encryption and signature algorithms are placed into a String which is publicly shared on the user's Steem account. Asymmetric private keys are kept private.

This shared public String is used to encrypt two String called the shared secrets between two contacts which are two keys generated by the symmetric encryption and signature algorithm. Primary and secondary shared secrets are unique per contact pair and can be renewed.

All data exchanged by a pair is encrypted and decrypted using the primary shared secret.

Data transmission

All data including files and data stream are transmitted through a Peer-To-Peer method using the WebRTC protocol. PeerJS-server is used as a connection broker which is required for P2P web application while PeerJS-client is used to facilitate the internal P2P implementation. A connection broker does not proxy any data.

Data can also be sent in a memo in a Steem transfer. Data contained in a memo are encrypted using the secondary shared secret. If no secondary shared secret has been set between a pair, the memo is not encrypted.

If no public key has been set for an account, that means that the account is not using the application. If no shared secrets have been set between a contact pair, that means that the contact is not paired.

Local data encryption

Locally stored data are encrypted using symmetric encryption and signature method defined above with the password set in the application.

Local data portability

If a user wants to use the application from multiple devices, the user must make his shared secrets and private keys portable. The user can encrypt and store theses data in a distant file or in his Steem account.

The portability of an account is not activated by default.

If the portability method is Steem, portable private data are encrypted through the symmetric encryption and signature method defined above with the account's private memo key.
It is possible and recommended to add a custom password to the private memo key.


This document is available on our GitHub.


Stay tuned!

Follow | Upvote | Resteem

Sort:  

When will the app for mac be available for download? Really looking forward to using vortex. Thanks

The next month

Wow, I was just thinking "is there already a Skype on the blockchain?" This sounds a bit like it.

Will video calls be possible? And a chance to record them? (If you don't need them to self-destructright away :))

Video calls are not planned but feasible, vortex is open-source so if we don't implement this feature someone else can.

Great your post,, thanks so much for your share @vortex. chat

You're welcome

Hi there. this is my first comment for you.
your posts are great

Congratulations @vortex.chat! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes received

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Coin Marketplace

STEEM 0.25
TRX 0.11
JST 0.032
BTC 61645.58
ETH 3013.85
USDT 1.00
SBD 3.71