Giter Club home page Giter Club logo

dl-verify's People

Contributors

ryankurte avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

dl-verify's Issues

Support verification of checksums

The program should be able to have one or more checksums specified on the command line.

The program should support MD5, SHA1, SHA224, SHA256, SHA384, SHA512, and where supported SHA3.

The downloaded file should only be output iff one of the given sums match. Otherwise an error should be printed to stderr.

Support extracting verified compressed files.

Provide a gz, zip, xz and similar compression schemes; also decompress to have it detect the compression type

When #5 is complete, also support extracting tar files

This must happen after verification and only when the file is valid. A failure to decompress or detect the compression type is a command failure

Decide what/how much should be bundled in-binary

With a number of issues like #6, #7, and #8, the options are simply inlining extra functionality that is usually provided by external programs. We should consider if these are worthwhile to implement, and if they are decide if we will use existing external binaries (and thus they're not available on FROM scratch images) or if we bundle the functionality into this application.

Support verification of GPG signatures

When an additional signature url and one or more gpg keys are given there application should download the signature and verify that it was created by one of the given keys and that it is valid.

Each key should be downloaded from a configured key server. Optionally the user can indicate that the local gpg key store is acceptable.

Iff the signature is downloaded successfully, is by one of the listed keys, and the signature is valid then the download file should be output

Otherwise an error should be printed and the command should fall

If one or more of the keys is missing or revoked then print a warning but don't necessarily exit. This warning should be elevated to an episode when a fail on warnings opt is given. And the warning should not be printed off quiet is given.

Short keys must not be accepted.

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.