#base64 #encryption #crypto #security #cli #cryptography

app epaste

Tool to easily encrypt & encode encrypted data as base64

5 stable releases

Uses old Rust 2015

2.0.0 Sep 23, 2018
1.1.0 Jul 16, 2017
1.0.2 Apr 19, 2016
1.0.1 Apr 17, 2016

#2524 in Command line utilities

GPL-3.0+

22KB
311 lines

Epaste build status

Epaste encrypts given data and turns encrypted bytes into base64 text which can be easily pasted/retrieved on e.g. pastebin website.

User needs to supply a password that will be used to encrypt / decrypt the data.

Decrypting can fail only if provided data is not valid.

Usage

To encrypt data:

epaste 'password' < 'file with text'

To decrypt data into a file:

epaste -d 'password' < 'file with encrypted text' > 'output file'

When decrypting non-plaintext data take care to redirect Epaste output to a file!

Packages

Dependencies

Name Version
libsodium >=1.0.4

Building

You'll need Rust and libsodium.

When you'll have deps, build debug version with

cargo build

Install

The easiest way is to use Cargo:

cargo install epaste

If your distribution has been updated in recent years, it is very likely that Cargo is already available. However if that's not the case, you can use Nix package manager to get some newer stuff. Or just install Cargo without using package manager. Whatever floats your boat.

Updating

In case of newer version, updating is almost like installing:

cargo install --force epaste

Goals

  • encrypt/decrypt message with given password
  • CLI interface

Support

If you like Epaste, feel free to help it by contributing, whether that would be by writing code, suggesting improvements, or by donating.

Donate via Bitcoin: 1FSDbXVbUZSe34UqxJjfNMdAA9P8c6tNFQ

If you're interested in some other way of donating, please say so. 😄

License

Licensed under GPLv3+. For details, see COPYING.

Dependencies

~19MB
~119K SLoC