awesome-ipfs icon indicating copy to clipboard operation
awesome-ipfs copied to clipboard

Added solid-ipfs

Open leinue opened this issue 5 years ago • 14 comments

solid-ipfs - Using Solid to store IPFS Hash privately or publicly

leinue avatar Dec 07 '18 15:12 leinue

Can this be accepted as soon as possible ?

leinue avatar Dec 09 '18 13:12 leinue

I am not able to test this that is why I am not able to merge this and verify how it works.

Can you give more info about how it works? What is the meaning behind "Using Solid to store IPFS Hash"?

koalalorenzo avatar Dec 09 '18 21:12 koalalorenzo

@koalalorenzo You can click here to learn more about Solid.

solid-ipfs can privatize the hash of the IPFS file, which prevents the hash value from being leaked (this is useful if the user doesn't want to expose the hash)

leinue avatar Dec 10 '18 01:12 leinue

Solid is part of the Semantic web and its purpose is to give data ownership to the user. If the user wants to privatize the file to the IPFS network, then storing the Hash in the Solid network (with permission control, WAC, web access control) is a very good measure.

leinue avatar Dec 10 '18 01:12 leinue

Solid uses RDF (Resource Definition Framework) to define all real-world resources, including but not limited to folders, files, chats, code, and more. So we think of the hash of an IPFS file as a file resource stored in RDF. This adds Solid's semantic calculations (in fact, a graph calculation) and WAC (Web Access Control) to implement privatized storage of hashes.

leinue avatar Dec 10 '18 01:12 leinue

So It works as IPNS / DNSLINK alternative? How do you ensure WAC / private content on IPFS when the hashes are public? are you encrypting those? Do you have any suggestion on how to test it?

koalalorenzo avatar Dec 10 '18 07:12 koalalorenzo

  1. Can be understood as an alternative to IPNS / DNSLINK.
  2. WAC is a very strict privilege control specification and generally cannot cause a leak.
  3. This version does not encrypt the hash, but encryption is really necessary.
  4. Are the tests you refer to as automated tests or human tests?

leinue avatar Dec 10 '18 08:12 leinue

I want to test this later this evening, how can I open the app and use it? Do I need a Solid Pod?

koalalorenzo avatar Dec 10 '18 08:12 koalalorenzo

@koalalorenzo Yes, you need a Solid Pod, please click here to register. Then follow the steps below to test:

  1. Clone solid-ipfs
  2. Get a Solid Pod and login
  3. Change the url parameter of line 20 of this file to your address after registration, which is to replace alicea with your solid pod username.
  4. Start http-server at the root of project solid-ipfs and visit <YOUR_URL>/example
  5. Open the browser console, if the output "保存成功" means successful execution
  6. Visit https://<YOUR_USERNAME>.solid.authing.com/inbox/ to check if the folder has the /ipfs/hash/ directory and the corresponding file in the directory (test stored hash is xxxxxxaaaaaa). Or visit https://<YOUR_USERNAME>.solid.authing.cn/inbox/ipfs/hash/xxxxxxaaaaaa.txt to see if it can be opened.

leinue avatar Dec 10 '18 08:12 leinue

hello, @koalalorenzo, have you tested it ?

leinue avatar Dec 11 '18 02:12 leinue

oh my god

leinue avatar Dec 13 '18 09:12 leinue

Hi, I am sorry for the delay. No I have not tested it yet as it takes a lot of time and I am not a support/getting paid for this. I am reviewing PRs to help the community and the ecosystem, so please be patient. I am going to drop this and hopefully somebody else will review it.

Please, please, please. Understand that I am doing this for free and I am very busy! Don't treat me badly for it! 😢

koalalorenzo avatar Dec 13 '18 10:12 koalalorenzo

small note: Read the README how to update, I see you modified just the README itself and this change will be removed on the next PR if you don't do it properly!

koalalorenzo avatar Dec 13 '18 10:12 koalalorenzo

@koalalorenzo I got it, thank you!

leinue avatar Dec 13 '18 14:12 leinue

Closing. This PR should be re-opened and the entry should modify the appropriate file in the data folder only.

SgtPooki avatar Sep 28 '22 18:09 SgtPooki

pinging @leinue for visibility.

SgtPooki avatar Sep 28 '22 18:09 SgtPooki