abemassry / wsend-gpg

Encrypted end to end file transfer
https://wsend.net
GNU General Public License v3.0
106 stars 4 forks source link

Plowshare integration #1

Closed neuromancer closed 10 years ago

neuromancer commented 10 years ago

Plowshare supports around 50+ different hosters. I think it can be a good idea to use it as backend.

abemassry commented 10 years ago

The focus of wsend and wsend-gpg is to be very easy to use and get started with, requiring no signups or config files to change, and only if the user wants to, they can. That being said I've looked at Plowshare and it looks really good. We could start a new project called plowshare-gpg if you wanted. The source code would look something like this.

plowup-gpg

#!/bin/bash
#
gpg -c -z 9 --require-secmem --cipher-algo AES256 --s2k-cipher-algo AES256 --s2k-digest-algo SHA512 --s2k-mode 3 --s2k-count 65000000 --compress-algo BZIP2 "$1"
if [ -e "$1.gpg" ]; then
  plowup "$1.gpg"
  rm "$1.gpg"
fi

and

plowdown-gpg

#!/bin/bash
#
plowdown "$1"
filename=${1##*/}
filenamed=${filename%.*}
gpg "$filename"
if [ -e "$filenamed" ]; then
  rm "$filename"
fi

Let me know if you want to create the project or you'd like me to. It would be fun to collaborate on this together. Thanks, Abe