Giter Site home page Giter Site logo

wdcrypt's Introduction

wdcrypt-rs

Rust releaser

A Rust CLI to encrypt the current working directory with Fernet encryption. Fernet guarantees that a message encrypted using it cannot be manipulated or read without the key. Fernet is an implementation of symmetric (also known as โ€œsecret keyโ€) authenticated cryptography.
Find more about Fernet here

Demo

demo.mp4

Installation

Make sure you have cargo in your $PATH

$ cargo install wdcrypt 

Usage

$ wdcrypt --help
Encrypt your current working directory

Usage: wdcrypt [COMMAND]

Commands:
  encrypt, -e, --encrypt  Encrypt the current working directory
  decrypt, -d, --decrypt  Decrypt the current working directory
  help                    Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help information
  -V, --version  Print version information

Building for WASM and running it in wasmtime

$ cargo build --release --target wasm32-wasi
$ cd target/wasm32-wasi/release
$ mkdir demo && cd demo
$ wasmtime run --dir=. ../wdcrypt.wasm -- --help

License

MIT

wdcrypt's People

Contributors

dependabot[bot] avatar stefins avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

wdcrypt's Issues

Preserve file mode after decryption

Describe the bug
Preserve file mode after decryption

To Reproduce
Steps to reproduce the behavior:

  1. Decrypt a file with old mode 100755
  2. New mode is overwritten as 100644

Expected behavior
Same file mode as before decryption

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.