Diode

@diode

Public team

Community (0)
No community contribution yet

Joined on May 26, 2020

  • ~/ └── .config/ └── ddrive/ ├── diode_crash.dump ├── debug.log* ├── error.log* ├── ddrive.sq3* ├── ddrive_signedout.sq3* ├── update-x.x.x/ └── profiles/
     Like  Bookmark
  •  Like  Bookmark
  • To browse internet through diodechain network in Firefox, we can start a diode client in local computer, and install diodechain Firefox plugin. In this plugin, you can control local diode client including configuration. This is a api documentation for diode client and diode firefox plugin. Security Port sniffing/Malicous provider (CORS Headers) In order to avoid some malicious website to sniff ports, or to do something bad with diode_client, eg: connect to malicious websocket provider in user's browser, it's might be helpful if api server returns CORS headers (should include CORS in websocket server). Browser will block the request if domain is not whitelisted. Update config with malicious diodeaddrs If some bad guy knows how diode server/client works, and he might want to change client diodeaddrs to his own node. In order to prevent client from this issue, it might be good to have authentication in client http api. When user want to update config or do some critical action, they should unlock their account, api server will return 403 if the request is not authenticated.
     Like  Bookmark
  •  Like  Bookmark
  • Since we don't have end to end encryption in client currently, the server (proxy data between client and device) will know everything. It's important to encrypt communication between client and device. After doing some research into some encryption/e2e protocol (TLS,SSH,MTProtto, Signal), it's simpler/safer(more people use, maybe?) to implement tls/ssh in current client. How TLS/SSH works TLS/SSH client/server should negotiate the key exchange algorithm/encryption algorithm first. Usually they use Diffie-Hellman to exchenge key and symmetric cryptography algorithm to encrypt/decrypt data. Client send packet including key exchange group/key exchange group parameters(p, g)/public key/Diffie-Hellman parameter(A=g**amodp)/Other initialize message(ssh init message). Server receive packet and determines key exchange algorithm, return other information (Diffie-Hellman parameter(B=g**bmodp)/Signature/Server public key).
     Like  Bookmark
  •  Like  Bookmark
  •  Like  Bookmark
  • Table Of Contents What is Diode? Diode is an integrated Blockchain implementation of the Web3, the server-less internet and the decentralized web, targeted primarily at enabling IoT devices. It was designed to address the security and infrastructure needs of device-driven connected applications. {: .center-block } Where did the name Diode come from? Diodes are embedded components that conduct electric current primarily in one direction. This one-directionality we think matches the immutability of the blockchain technology. Things that get written can never be changed. It is a kind of one way as well. At the same time, “Diode” reminds us of the fact that this Blockchain Network we built is primarily targeting deployment on small embedded IoT devices. A diode is a minimalistic yet hugely important component, in the same way the Diode Network needs to stay lean and minimalistics to work on tiny devices.
     Like  Bookmark
  •  Like  Bookmark
  • A new how-to guide
     Like  Bookmark
  • Test 3 Source here NAME diode - Diode network command line interfaces SYNOPSIS diode [OPTIONS] COMMAND [ARG...]
     Like  Bookmark