Live data from Hacker News

Command-line file sharing

transfer.sh

11–20 of 80 posts

Re: Command-line file sharing

#11
That's great, you can encrypt stuff then as follows (on a Mac).

  brew install gpg
  gpg --gen-key
  gpg -ac 
To decrypt, take the returned URL:

  curl https://transfer.sh/1nKXr/file.encrypted | gpg -ad
Someone can probably improve this!

Re: Command-line file sharing

#13
post #7

I really like http://fh.tl/ because you can also easily send shell output [/] $ ls -la / | curl -F 'paste= helpful when trying to debug someone on a remote workers machine

I was puzzled to see a symlinked libnss3.so in your root directory and couldn't help myself but google it. Here's the reason (bug in package ca-certificates-java): https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688415

Re: Command-line file sharing

#14
post #10

I've been wanting something like this for semi-private image shares as Imgur's URLs aren't very random; but Transfer has a similar security problem; it looks like the URLs need to be longer as a prerequisite to being un-crawlable. I hope you'll consider it.

Never expect things you upload to the internet to be private. There are so many vectors where this can go wrong. The host might list directory indexes, s3 buckets can be open, sites can be hacked, etc etc.

You did see the part where I said "semi-" private? I'm just suggesting OP might want to harden the URLs, otherwise the URLs might as well be /1 /2 /3.

Re: Command-line file sharing

#16

I've been wanting something like this for semi-private image shares as Imgur's URLs aren't very random; but Transfer has a similar security problem; it looks like the URLs need to be longer as a prerequisite to being un-crawlable. I hope you'll consider it.

Op here. The urls are randomly generated combined with the chosen filename, I assume this should be safe enough. Links will expire in 2 weeks. Working on functionality where you can configure the lifetime. Eg, just 1 download or 2 days.

Re: Command-line file sharing

#18
post #8

I would love to use this for my own files, without expiration etc. Do you have any plans to open source this?

OP here. Yes, I have plans to opensource this. I'm just looking for the right awesome design, then it will be opensourced.

Re: Command-line file sharing

#19

That's great, you can encrypt stuff then as follows (on a Mac). brew install gpg gpg --gen-key gpg -ac To decrypt, take the returned URL: curl https://transfer.sh/1nKXr/file.encrypted | gpg -ad Someone can probably improve this!

OP here. Right this is the public / private encryption. The sample from on the site itself is symmetric encryption (using pw).

Re: Command-line file sharing

#20
post #17
post #5

I like in the little example animation, hello.txt is uploaded and a url is returned, but then a completely different url is used to get the hello.txt back.

Op here, good point. Will update the demo ;-)

You might also want to add a delay at the end of the animation before looping. As it is you only see the end result for a single frame.
Post reply on HN