TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Encrypted end-to-end file transfer

33 pointsby abemassryover 11 years ago

8 comments

dsyover 11 years ago
It looks nice and I wish you luck with it. A couple of tips (or nitpicks) regarding wget-gpg:<p>&gt; filename=$(echo &quot;$1&quot; | sed &#x27;s&#x2F;\&#x2F;&#x2F; &#x2F;g&#x27; | awk &#x27;{ print $4 }&#x27;)<p>1. You could remove the sed, if you change the field separator:<p><pre><code> $(echo &quot;$1&quot; | awk &#x27;BEGIN {FS=&quot;&#x2F;&quot;} {print $5}&#x27; </code></pre> (this might be better for file names with spaces in them; though, if I understand your use case, this will never happen, but you might need to deal with space-to-%20 in wsend-gpg and then %20-to-space in wget-gpg...)<p>2. Or you could just replace this with:<p><pre><code> filename=$(basename &quot;$1&quot;) </code></pre> &gt; filenamed=$(echo &quot;$filename&quot; | sed &#x27;s&#x2F;.gpg&#x2F;&#x2F;&#x27;)<p>3. The problem that this cuts the <i>first</i> occurrence of .gpg in the file name, so nitpick.gpg.nitpick.gpg will become nitpick.nitpick.gpg instead of nitpick.gpg.nitpick<p>To remove this substring from the end of the string, you can probably replace the pattern with a greedy one or just use:<p><pre><code> filenamed=${filename%.gpg} </code></pre> EDIT: previous related discussions:<p><a href="https://news.ycombinator.com/item?id=6083884" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=6083884</a><p><a href="https://news.ycombinator.com/item?id=6158719" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=6158719</a><p><a href="https://news.ycombinator.com/item?id=6179424" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=6179424</a><p>I like your persistence and glad you finally made it to the front page. Good luck.
psuterover 11 years ago
This looks very useful. I had not realized it until now, but a CL-to-URL upload&#x2F;download service is something I always unconsciously desired. Encryption is a nice bonus.<p>(My personal preference would be to deploy the service on my own VPS, though.)
评论 #6529869 未加载
CountHackulusover 11 years ago
End to end encryption, focus on security. Install is done by piping a script you wget to bash.
评论 #6528867 未加载
评论 #6528631 未加载
Systemic33over 11 years ago
I really liked the idea of registering through the CLI, really smoothly done!<p>Since you will probably iterate new versions fast and update, may I suggest embedding an update checker into the program. Atleast until you get properly setup in the different distro repo&#x27;s.
lectrickover 11 years ago
I submitted a pull request adding lots more security as well as BZIP2 compression for efficiency:<p><a href="https://github.com/abemassry/wsend-gpg/pull/3" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;abemassry&#x2F;wsend-gpg&#x2F;pull&#x2F;3</a>
kernel_sandersover 11 years ago
I love how simple and relevant the idea is - great job!
dancecodesover 11 years ago
AES256 ? its secure?
dancecodesover 11 years ago
very cool - thanks<p>please provide ebuild and add to gentoo portage