All Projects → abemassry → Wsend Gpg

abemassry / Wsend Gpg

Licence: gpl-3.0
Encrypted end to end file transfer

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Wsend Gpg

Wsend
wsend: The opposite of wget
Stars: ✭ 64 (-34.02%)
Mutual labels:  hacktoberfest, storage, curl, transfer
Awesome Scalability Toolbox
My opinionated list of products and tools used for high-scalability projects
Stars: ✭ 34 (-64.95%)
Mutual labels:  storage, encryption
Openebs
Leading Open Source Container Attached Storage, built using Cloud Native Architecture, simplifies running Stateful Applications on Kubernetes.
Stars: ✭ 7,277 (+7402.06%)
Mutual labels:  hacktoberfest, storage
Thanos
Highly available Prometheus setup with long term storage capabilities. A CNCF Incubating project.
Stars: ✭ 9,820 (+10023.71%)
Mutual labels:  hacktoberfest, storage
Sirix
SirixDB is a temporal, evolutionary database system, which uses an accumulate only approach. It keeps the full history of each resource. Every commit stores a space-efficient snapshot through structural sharing. It is log-structured and never overwrites data. SirixDB uses a novel page-level versioning approach called sliding snapshot.
Stars: ✭ 638 (+557.73%)
Mutual labels:  hacktoberfest, storage
Opmsg
opmsg message encryption
Stars: ✭ 704 (+625.77%)
Mutual labels:  encryption, gpg
Gpg Encrypt
Use GPG to encrypt a file using our best settings
Stars: ✭ 53 (-45.36%)
Mutual labels:  encryption, gpg
Secure Ls
🔒 Secure localStorage data with high level of encryption and data compression
Stars: ✭ 486 (+401.03%)
Mutual labels:  hacktoberfest, encryption
Oblecto
Oblecto is a media server, which streams media you already own, and is designed to be at the heart of your entertainment experience. It runs on your home server to index and analyze your media such as Movies and TV Shows and presents them in an interface tailored for your media consupmtion needs.
Stars: ✭ 67 (-30.93%)
Mutual labels:  hacktoberfest, storage
Chef Vault
chef-vault cookbook
Stars: ✭ 63 (-35.05%)
Mutual labels:  hacktoberfest, encryption
Sharedchamber
Android Secure SharedPreferences Using Facebook Conceal Encryption
Stars: ✭ 96 (-1.03%)
Mutual labels:  hacktoberfest, encryption
Fog Google
Fog for Google Cloud Platform
Stars: ✭ 83 (-14.43%)
Mutual labels:  hacktoberfest, storage
Ffsend
📬 Easily and securely share files from the command line. A fully featured Firefox Send client.
Stars: ✭ 5,448 (+5516.49%)
Mutual labels:  hacktoberfest, encryption
Peergos
A p2p, secure file storage, social network and application protocol
Stars: ✭ 895 (+822.68%)
Mutual labels:  storage, encryption
Vuex Persistedstate
💾 Persist and rehydrate your Vuex state between page reloads.
Stars: ✭ 5,561 (+5632.99%)
Mutual labels:  hacktoberfest, storage
Dbfs
Distributed Blockchain-based File Storage 📡
Stars: ✭ 45 (-53.61%)
Mutual labels:  hacktoberfest, encryption
Node Libcurl
libcurl bindings for Node.js
Stars: ✭ 447 (+360.82%)
Mutual labels:  hacktoberfest, curl
Csi Digitalocean
A Container Storage Interface (CSI) Driver for DigitalOcean Block Storage
Stars: ✭ 452 (+365.98%)
Mutual labels:  hacktoberfest, storage
Drops
opmsg p2p transport network
Stars: ✭ 58 (-40.21%)
Mutual labels:  encryption, gpg
Zbox
Zero-details, privacy-focused in-app file system.
Stars: ✭ 1,185 (+1121.65%)
Mutual labels:  storage, encryption

wsend-gpg

Encrypted end to end file transfer

Idea

We wanted to make end to end encryption as simple as possible using standard tools. wsend-gpg is a very simple 5 line script to get this done.

Demo

Encrypt and Send

[email protected]:~/Documents$ wsend-gpg message.txt
Enter passphrase:
  
  % Total    % Received % Xferd Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed
100   497  100    66  100   431    222   1452 --:--:-- --:--:-- --:--:--  2233
https://wsend.net/ef9f450907eac00f96d389ae2efb50f6/message.txt.gpg
[email protected]:~/Documents$

Receive and Decrypt

[email protected]:~/Documents$ wget-gpg https://wsend.net/ef9f450907eac00f96d389ae2efb50f6/message.txt.gpg
--2013-10-09 11:59:49--  https://wsend.net/ef9f450907eac00f96d389ae2efb50f6/message.txt.gpg
Resolving wsend.net (wsend.net)... 66.228.37.175
Connecting to wsend.net (wsend.net)|66.228.37.175|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 94 [application/octet-stream]
Saving to: `message.txt.gpg'

100%[==============================================>] 94          --.-K/s   in 0.07s

2013-10-09 11:59:49 (1.41 KB/s) - `message.txt.gpg' saved [94/94]

gpg: AES256 encrypted data
Enter passphrase:
gpg: encrypted with 1 passphrase
[email protected]:~/Documents/wsend-gpg$

Overview

wsend-gpg requires wsend and gpg.

wsend-gpg uses wsend.net for backend file handling.

Install

wget https://raw.githubusercontent.com/abemassry/wsend-gpg/master/install.sh -O - | bash
alias wsend="~/.wsend/wsend"; alias wsend-gpg="~/.wsend/wsend-gpg"; alias wget-gpg="~/.wsend/wget-gpg"

Note: This install command appends the alias to your .bashrc or equivalent

Source

wsend-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
  $HOME/.wsend/wsend "$1.gpg"
  rm "$1.gpg"
fi

wget-gpg

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

Features

  • Encrypt file
  • Send file right from the command line without having to specify a directory
  • Gives you a url
  • Integrates well with unix pipes
  • Send a file without registering
  • User accounts available with large amounts of storage space

Usage

Usage:

 wsend-gpg <file>
 wget-gpg <url>

Common Commands:

Encrypt and Send a file

 wsend-gpg file.txt

Receive a file and Decrypt

 wget-gpg https://wsend.net/ef9f450907eac00f96d389ae2efb50f6/file.txt.gpg

Send a file in an email to your friend (if you have the mail command set up)

 wsend-gpg logfile.log | mail -s "Here was that log file you wanted" [email protected]

Remember to use a passphrase that your friend already knows (but don't send it over email)

Register

 wsend --register

Login

 wsend --login

Refer a friend (receive 1GB for you and friend)

 wsend --refer [email protected]

Get a referral link to send to people

 wsend --refer-link

Pricing

Account Space Price
Unregistered (Anonymous) Account 200MB Free
Free Account 2GB Free
Supporter Paid Account 10GB $10/year or $1/month
Enthusiast Paid Account 75GB $30/year or $3/month
Hero Paid Account 100GB $50/year or $5/month

API

The API is REST like in the sense that there is a representational transfer of state. It isn't REST like in the sense that the only transport method that is used is HTTP POST.

To get a user id:

curl -F "start=1" https://wsend.net/createunreg

This should be saved to a file or a database

To send a file:

curl -F "uid=$id" -F "[email protected]$fileToSend" https://wsend.net/upload_cli

Where $id is the id from the previous request and $fileToSend is the file you would like to send.

To see if the user has storage space available to send this file:

curl -F "uid=$id" -F "size=$fileToSendSize" https://wsend.net/userspaceavailable

Where $fileToSendSize is the filesize in bytes.

To register a user:

curl -F "uid=$id" -F "email=$email" -F "password=$password" https://wsend.net/register_cli

You want to protect the password from showing up anywhere as security measure. For the wsend command line script the password is not echoed and passed directly as a variable.

To log in a user:

curl -F "email=$email" -F "password=$password" https://wsend.net/login_cli

FAQ

  1. Q: How does this differ from wsend

A: wsend-gpg uses wsend for file transfer to get a url for a file. wsend.net is used as a backend file store

  1. Q: How is this different from scp?

A: scp is useful for transferring from one system to the other using the ssh protocol. wsend-gpg differs in that both systems don't have to be up and running, the transfer is done using the https protocol, and there are always two steps.

  1. Q: Why did you program this in Bash wasn't that painful? Bash isn't meant to do these things, you could have used python with pip, nodejs with npm, or ruby with rubygems.

A: While it was painful we wanted this script to be ubiquitous as possible and bash was installed on all of our *nix machines. We do have plans to write this in the languages you mention and will work towards this in the future. If you would like to write a client in one of these languages it would be something we would both appreciate and support. *Update node-wsend now available.

  1. Q: When are the Enthusiast and Hero accounts going to become available?

A: As soon as we generate enough income with the Supporter accounts we can purchase more servers and more space. We do not want to degrade the quality of paid accounts because paying customers deserve the best treatment. We do not want to offer services that we can't fully 100% support until we are ready to.

  1. Q: What is the max filesize?

A: For the Unregistered Account it is 200MB, for the Free account it is 2GB, for the Paid accounts it is 10GB. Since wsend-gpg encrypts the file using gpg it might take a long time to encrypt for a large filesize, also the disk is used to store the encrypted file temporarily so make sure you don't run out of space.

  1. Q: I have an unregistered account, why is my file not loading?

A: We remove files from unregistered accounts when they become 30 days old or space is needed on the server whichever comes first.

  1. Q: I have a free account, why are my files missing?

A: We remove files from free accounts when they become 30 days old or space is needed on the server whichever comes first.

  1. Q: But why, that doesn't seem right, no other service does this?

A: The wsend program and service is primarily provided for sending files. We have to maintain the best service possible for paying users, once the paying user-base grows we can support more benefits for the unregistered and free accounts. This service is not meant to compete with other services that store files for free, it can be used as a quick and easy way to send files.

  1. Q: Can I use the wsend script to interface with another web service?

A: By all means, its GPL licensed and you can adapt it to whatever service you would like or create your own.

  1. Q: I have a problem but it is not listed here, who should I ask?

A: While we will try to respond to all requests, you can contact us at https://wsend.net/about If you are a paying user we will definitely respond and will not rest till your problem is resolved. Just fill out the contact form with your email that is registered to your paid account. Paid accounts are so important to us because it not only keeps the lights on and the hard drives spinning, it validates what we are doing and it says you support us, you support the community, and you support an open internet where everyone can exchange ideas. You are also joining us in contributing to something larger than ourselves.

Help

If you find wsend-gpg difficult to use, please open up a Github issue or if you see an area that can be improved send a pull request!

~.wsend/ directory

In this directory the executable bash script wsend is stored, along with the README.md documentation, the GPL COPYING licence, a file called version which stores the version and which wsend checks against the github repo to determine whether it should install updates, and a file called .id, which is an identifier for the command line user.

version

This file stores the version and wsend checks against the github repo to determine whether it should install updates.

.id

This file stores an identifier for the command line user

README.md

This file

COPYING

The GPL licence

wsend

The executable bash script, this can send files and also install the ~.wsend/ directory. The only user file it changes is the .bashrc file by appending the alias to the end. If you have bash installed but use another popular shell it will install it to that .*rc file

wsend-gpg

The wsend-gpg executable bash script from this repo.

wget-gpg

The wget-gpg executable bash script from this repo.

(C) Copyright 2018, wsend.net

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].