Skip to content

hyu-iot/IPFS-with-SST

Repository files navigation

IPFS-with-SST

The project for IPFS applying to SST

  • SST(Secure Swarm Toolkit)

  • Environment Setting

    • Install the Raspberry Pi 4 in other places such as Seoul and US.
  • According to connecting with Auth, two entities have the secure key.

  • File -> encrypted file using AES-CBC algorithm -> Make one file including IV, Provider infomation, crypto spec, and encrypted value -> ipfs add the file -> get a hash value

  • There are three entities which are entity client, entity server, and data management entity

  • Entity Client

    • entity client gets the session key from Auth
    • entity client can communicate with entity server using session key
    • entity client uploads the file and transfer the data to
  • Entity Server

    • entity server gets the session key from Auth
    • entity server can communicate with entity client using session key
    • entity server request the file info and downloads the file.
  • Data Management Entity

    • data management entity provides the sessionkey id, IV, hash value after confirming the entity's name.
  • We'll make the FileSharingTable(FST) to SST

    • FST can be only accessed by the Auth
    • FST can provide the filesharing information comparing with owner and downloader
  • Implementation(first scenario)

  • Start the command in main Raspberry Pi4

    • ipfs daemon in another terminal
    • ./entity_client ../c_client.config
  • Other Raspberry Pi4 code

    • ipfs daemon in another terminal
    • ./entity_server ../c_server.config

About

The project for IPFS applying to SST

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published