Giter Club home page Giter Club logo

certgen's Introduction

certgen

Quick and dirty utility for generating artifacts for the IETF 115 PQC hackathon.

This tool uses a PQC-focused branch of a fork of the RustCrypto formats repo that includes support for PQ-related structures and a branch with PQ-focused changes for the certval library and pittv3 utility.

The pqtests.sh script can be used to generate artifacts or to verify artifacts that follow the format defined for the IETF 115 PQC hackathon repo. For artifact collections that lack (current) revocation information, place a file named default.json containing the following JSON at the root of the folder containing the artifacts.

{"psCheckRevocationStatus":{"Bool":false}}

The script assumes certgen is located in the ./target/release folder and that pittv3 is located in the ../rust-pki/target/release/ folder. If the binaries are located elsewhere edit lines 35 and/or 36 the script accordingly.

To generate artifacts, run the script with no parameters. A folder named artifacts will be generated and populated. To verify artifacts, run the script with the path to the folder containing the artifacts as a parameter. Note, pittv3 will attempt to verify all files with a .der extension in the artifacts folder. Unfortunately, the naming scheme features private key files named with .der. For best results, delete files with "_priv.oak" or "_priv.pem" before validating a folder containing artifacts.

The default log.yaml file writes a large volume of data to the console. Edit it to avoid this. See log4rs documentation for details on the file format.

Note, the tool does very little error handling.

License

All crates licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

certgen's People

Contributors

carl-wallace avatar

Watchers

 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.