Giter VIP home page Giter VIP logo

onecrl-tools's Introduction

OneCRL-Tools

Some tools for supporting OneCRL.

Below is a description of each folder in this repository.

bugzilla

Status: In use

Description: Defines API for interacting with Bugzilla.

Usage: See ccadb2OneCRL/main.go

Used By: ccadb2OneCRL

ccadb2OneCRL

Status: In use

Description: Automates much of the process for taking reported/verified revocation data from the CCADB and adding it to OneCRL.

Usage: See the README in https://github.com/mozilla/OneCRL-Tools/tree/main/ccadb2OneCRL

Used By: Security Engineers and Cloud Services

cert-storage-inspector

Status: In use

Description: Compares the OneCRL data in a given Firefox profile against the OneCRL data in DEFAULT_ONECRL_URL.

Usage: See the README in https://github.com/mozilla/OneCRL-Tools/tree/main/cert-storage-inspector

Used By: CA Program Managers

containers

Status: In use

Description: This is how ccadb2OneCRL gets deployed

Usage: See the README in https://github.com/mozilla/OneCRL-Tools/tree/main/containers

Used By: Security Engineers and Cloud Services

decodeEntries

Status: In use

Description: Converts OneCRL entry data from hexadecimal serials/hashes to non-encoded human-readable format.

Usage: See the README in https://github.com/mozilla/OneCRL-Tools/tree/main/decodeEntries

Used By: CA Program Managers

entryMaker

Status: In use

Description: Given a certificate, output the corresponding data that can be added to OneCRL.

Usage: See the README in https://github.com/mozilla/OneCRL-Tools/tree/main/entryMaker

Used By: Security Engineers and Cloud Services

kinto

Status: In use

Description: Defines API for interacting with Kinto.

Usage: See ccadb2OneCRL/main.go

Used By: ccadb2OneCRL

tools/Salesforce2OneCRL-scheduler

Status: ???

Description: This is an AWS Lambda to perform scheduled OneCRL updates from the CCADB.

Usage: See README in https://github.com/mozilla/OneCRL-Tools/tree/main/tools/Salesforce2OneCRL-scheduler

Used By: ???

transaction

Status: In Use

Description: Each step in the transaction holds a rollback procedure in the event of a downstream failure. For example, if putting staging into review fails, then Bugzilla ticket will be closed as INVALID with a stacktrace attached and all entries that were pushed to staging will be deleted.

Usage: See ccadb2OneCRL/main.go

Used By: ccadb2OneCRL

onecrl-tools's People

Contributors

ahoneiser avatar bqbn avatar christopher-henderson avatar cr avatar jcjones avatar jp-e avatar jschanck avatar leplatrem avatar micheletto avatar mozilla-github-standards avatar mozkeeler avatar mozmark avatar wilsonkathleen avatar wthayer avatar

Stargazers

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

Watchers

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

onecrl-tools's Issues

Generate a historical diff

There should be a tool, or tooling, to produce diffs from the historical information of OneCRL. Perhaps this could be reading the history from Kinto, or simply some other data file that is loaded and returned at each invocation.

Introduce `stable` git tag to prevent downstream breakage

#33 breaks downstream software. go get is unable to fetch specific git commits, but there's a web service that allows to install using specific tags from github repos.

git tag stable master~1  # or any other known-working commit
git push --tags

The idea then is to not replace that tag unless there is a newer commit that is confirmed to be working well.

oneCRL2RevocationsTxt fails silently

When running oneCRL2RevocationsTxt without a network connection, it will just fail silently with return code 0. It should at least set a return code larger 0 to indicate failure for scripting, better still, additionally say something to stderr.

"stable" tag points to broken version

I finally came round to switching TLS Canary over to the brand new stable tag, just to find that it points to a broken commit b7bc37c.

# github.com/mozmark/OneCRL-Tools/oneCRL2RevocationsTxt
../../.tlscanary/go/src/github.com/mozmark/OneCRL-Tools/oneCRL2RevocationsTxt/main.go:51: multiple-value config.GetRecordURL() in single-value context

TLS Canary has been successfully using commit 244e704 in production for a while now. @mozmark, please point your stable tag to that commit as soon as possible, and leave it there until you can find a later commit that is verified to work.

Installation fails with undefined oneCRL.DefineFlags and oneCRL.GetConfig

mozmark@48acb6a broke package installation:

$ GOPATH="/tmp/go" go install github.com/mozmark/OneCRL-Tools/oneCRL2RevocationsTxt
# github.com/mozmark/OneCRL-Tools/oneCRL2RevocationsTxt
/tmp/go/src/github.com/mozmark/OneCRL-Tools/oneCRL2RevocationsTxt/main.go:43: undefined: oneCRL.DefineFlags
/tmp/go/src/github.com/mozmark/OneCRL-Tools/oneCRL2RevocationsTxt/main.go:48: undefined: oneCRL.GetConfig

This is causing downstream breakage in TLS Canary that we're unable to fix without tags: mozilla/tls-canary#106

Enforce `go vet` and `go fmt` at TravisCI

Since we're adding Travis in #42, let's also pick a time to go vet and go fmt this repo, and make Travis enforce it. Preferably also lock-down refs/heads/master and enforce a PR-merger workflow.

"CCADB OneCRL entries generated $datestamp"

Kathleen suggests that the string used for the bug summary, "CCADB entries generated %s" be modified to say "CCADB OneCRL entries generated %s", since we might have non-revocation entries that we want to ship from CCADB in the future.

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.