Giter VIP home page Giter VIP logo

zap's Introduction

Zap

Compress and/or encrypt folders fast. Like, really fast. or as some say... blazingly fast.

Installation

To install Zap, run the following command from the project root: cargo install --path .

Usage

In order to compress a folder with Zap, run:

zap archive [INPUT] [OUTPUT]

Where the [OUTPUT] is the path to which you want to store the .zap file. Eg:

zap archive /path/to/dir ./dir.zap -ce

Using zap archive --help will list the available options for encryption and compression.

In order to decompress a Zap archive

zap extract [ARCHIVE] [OUTPUT]

Where the [ARCHIVE] is the path to the file which you want to extract and the [OUTPUT] is the folder in which you want the contents to be placed inside.

Using zap archive --help will list the available options for encryption and compression.

zap extract ./dir.zap ./dir -ce

Unfortunately, in it's current state, that compression and encryption methods aren't stored in metadata and must be given when extracting. this will be fixed in coming releases.

In order to list the contents of a Zap archive

zap list [ARCHIVE]

coming soon

License

This project is licensed under the LGPL v3.

See LICENSE.md file for details.

LGPL v3 Logo

Note that Zap is still alpha software and is bound to change core features until version 0.5.0

zap's People

Contributors

speykious avatar stevegremory avatar thaddeustreloar avatar ureeves 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

zap's Issues

All-zero IVs

You currently use a static initialisation vector (of all-0). This is insecure.

I don't mean to be too pushy about this, but it may be prudent to replace the OpenSSL dependency with RustCrypto's AEADs where possible, which are considerably more difficult to misuse, and which will also automatically alert on decryption failure due to a wrong encryption key.

(I don't know the specifics of the original zip program this one is modelled after. Apologies if the zero-IV is needed for compatibility, though explaining that in the source file may be helpful in that case.)

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.