Giter VIP home page Giter VIP logo

certifier's Introduction

certifier

Compiling

This project uses rust language and cargo package manager. You can run it using cargo run command.

Usage

Generate a certificate

certifier generate --credentials "Bob [email protected]" --pubkey bob_key.pub --privkey bob_key --output certificates/bob

This command will create a certificate named bob.certificate on certificates/ folder.

bob_key.pub and bob_key are public and private key in OpenSSH format. They can be generated using ssh-keygen like this: ssh-keygen -f bob_key -N "".

Sign a document

certifier sign --document bob_document.txt --certificate certificates/bob.certficicate --privkey bob_key

This command will create a detatched signature named bob_document.signature for the content of file bob_document.txt.

Checking document signature

certifier check --document bob_document.txt --trust certificates/

This commmand will look for the right certificate into certificates/ folder and will check the integrity of bob_document.txt using the public key present in the certificate printing a message with the result.

Help

To get help with all the options and commands run this program using the -h flag: certifier <SUBCOMMAND> -h

The subcommands are generate, sign and check.

certifier's People

Contributors

nicolaskribas avatar dependabot[bot] avatar

Stargazers

Mateusz Sznejkowski avatar

Watchers

James Cloos avatar  avatar

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.