News for hackers. Stuff that matters.
Re:Show HN: Encrypt and upload files to IPFS from browser by ianburrell on Friday October 27, 2023 @01:41PM (#38041530)
How is encrypted? Is it content-based encryption so files can be shared? How are the encryption keys stored?

Who is pinning the files in IPFS?

How are you planning on charging for storage? Are you going to use Filecoin?

Re:Show HN: Encrypt and upload files to IPFS from browser by tri2820 on Friday October 27, 2023 @01:58PM (#38041742)
It's encrypted directly on your browser, you can download the encryption key after file is uploaded. Not content-based (because the header is randomly generated & you keep the encryption key) but you can share to secret file to others and they will be able to download the file.

Files are pinned mainly by NFTStorage.

Currently it's free because NFTStorage is free. If things change I would allow buying storage using Filecoin (~$0.2/TB/month).

Re:Show HN: Encrypt and upload files to IPFS from browser by zauguin on Friday October 27, 2023 @02:03PM (#38041820)
According to NFTStorage's Terms and Conditions:

> The Service is offered for the creation and storage of NFTs. Use of the Service to store other types of data is not permitted.

Do you have a special agreement with NFTStorage which overrules the general Terms and Conditions?

Re:Show HN: Encrypt and upload files to IPFS from browser by srustagi on Friday October 27, 2023 @03:53PM (#38043114)
Re:Show HN: Encrypt and upload files to IPFS from browser by RobotToaster on Friday October 27, 2023 @04:01PM (#38043209)
Isn't any file stored on IPFS by definition a NFT, since the address identifies a unique file?
Re:Show HN: Encrypt and upload files to IPFS from browser by chrisco255 on Friday October 27, 2023 @04:20PM (#38043411)
Technically no, you'd need to also deploy a NFT smart contract that creates a new token for each file. But theoretically any media type could be represented by an NFT so it's sort of an arbitrary restriction by NFT.storage. Probably not super enforceable on their part. I imagine the promo will end at some point though. Filecoin just happens to have an excess of available storage right now, which is why they can afford to offer it for free.