epaste

Crates.ioepaste
lib.rsepaste
version2.0.0
sourcesrc
created_at2016-04-17 17:29:28.64739
updated_at2018-09-23 03:27:27.591826
descriptionTool to easily encrypt & encode encrypted data as base64.
homepagehttps://gitlab.com/zetok/epaste
repositoryhttps://gitlab.com/zetok/epaste
max_upload_size
id4776
size63,765
(zetok)

documentation

README

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. :smile:

License

Licensed under GPLv3+. For details, see COPYING.

Commit count: 48

cargo fmt