Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature][BTIP-52]: File share with encryption #52

Open
Shawn-Huang-Tron opened this issue Sep 27, 2023 · 3 comments
Open

[feature][BTIP-52]: File share with encryption #52

Shawn-Huang-Tron opened this issue Sep 27, 2023 · 3 comments

Comments

@Shawn-Huang-Tron
Copy link
Collaborator

Shawn-Huang-Tron commented Sep 27, 2023

In BTFS, sharing files with a CID is good and convenient. However, if we want to keep our file secret and then share it with somebody, it will be hard. Cause the CID is public and anyone who gets this CID will know the content related to it.
So we raise this issue to solve this problem.

The docs about this BTIP is in: BTIP-52

@simbadMarino
Copy link

Are we having encryption by default? I think doing it like this will be better than expecting users to switch from public to private :)

@yu-btc
Copy link

yu-btc commented Nov 14, 2023

My point: After an encrypted file is uploaded to the BTFS network, other nodes will not be able to access or view the file directly. Only users with the appropriate decryption key can decrypt and access these encrypted files. Therefore, when using BTFS for file storage, users are advised to choose and implement appropriate encryption measures on their own to ensure file security and privacy.

@simbadMarino
Copy link

Hello @yu-btc ! I just checked the release which includes this BTIP! Thank you for including this, it was a long awaited feature for some of us :)

Question: checking the docs looks like it takes the peerID as argument to encryption so it can later be decrypted using the node pk...

  1. What is the relationship between the node BTTC Public Address and the peerID/NodeID?
  2. By talking about the node pk are we talking about the BTTC wallet pk?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants