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

Split & concat via IPFS? #3947

Closed
JayBrown opened this issue May 30, 2017 · 1 comment
Closed

Split & concat via IPFS? #3947

JayBrown opened this issue May 30, 2017 · 1 comment

Comments

@JayBrown
Copy link

JayBrown commented May 30, 2017

Based on ideas from this discussion comment regarding enhanced security.

You can always do it manually outside of ipfs, of course, but maybe there's some need to add a split option to ipfs add, i.e. to split a file at a random point before adding it to the IPFS? E.g.:

ipfs add --split=2 /path/to/testfile
added QmHash1 segment 1 of testfile
added QmHash2 segment 2 of testfile

Alternative options could be --split=25m for 25 MB, with g for GB and so on.

In turn ipfs would then need a concat option, e.g.:

ipfs get concat QmHash1 QmHash2 -o /newpath/to/testfile

or as a new command

ipfs concat QmHash1 QmHash2 -o /newpath/to/testfile

As stated above, the original idea behind it is to increase security, i.e. to obfuscate the original file. It would be useless, though, if there's a public record on when and by which node an object (hash) was originally added to the IPFS.

@Kubuxu
Copy link
Member

Kubuxu commented Jun 2, 2017

You can already do it using external tooling. I don't really see a reason to add it to IPFS directly.

Also it doesn't add that much security, it is more of a obscurity than security.

@Kubuxu Kubuxu closed this as completed Jun 7, 2017
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

2 participants