Giter VIP home page Giter VIP logo

pkix-compatibility-testing's Introduction

pkix-compatibility-testing

Running a scan

Given an xpcshell instance, run the following:

$ .../xpcshell getXHRSSLStatus.js domains.txt errors.txt ev.txt >output.txt 2>errors.txt

For the full list of domains, this could take a long time. Include a shorter set if you need.

Additional command line options determine which file any errors are logged to, and which file EV certificates are logged to.

Additional tweaks can be made by editing the script. This isn't a full-service operation :)

Comparing gecko builds

If you have a local build of gecko in a git repository, you can use runforcompare.sh to set this up. Simply create a domains.txt file and point the script to your gecko repository.

$ ln -s pulse-domains-master.txt domains.txt
$ ./runforcompare.sh ../gecko-dev

This saves files that use the branch name of your build: domains.<branch>.errors and domains.<branch>.ev. This allows you to compare different builds easily.

Comparing runs from different builds

The compare.sh script compares the output of two runs. Simply pass it the names of the branches involved.

$ ./compare.sh master bug1024576

This produces files including a comparison of the two named runs, including a list of domains that produce different error codes between the scans, and a file containing the domains that differ between runs.

Re-running scans

Sometimes results are a little noisy, so re-running a scan over the set of domains that might be different is useful.

The saverun.sh script saves the current run and builds a list of domains for rechecking. This list includes all domains that produced different responses between all the current runs (for which there might be more than two). The (hopefully shorter) list is automatically symlinked to domains.txt in preparation for the next run.

pkix-compatibility-testing's People

Contributors

martinthomson avatar

Stargazers

 avatar

Watchers

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

pkix-compatibility-testing's Issues

CODE_OF_CONDUCT.md file missing

As of January 1 2019, Mozilla requires that all GitHub projects include this CODE_OF_CONDUCT.md file in the project root. The file has two parts:

  1. Required Text - All text under the headings Community Participation Guidelines and How to Report, are required, and should not be altered.
  2. Optional Text - The Project Specific Etiquette heading provides a space to speak more specifically about ways people can work effectively and inclusively together. Some examples of those can be found on the Firefox Debugger project, and Common Voice. (The optional part is commented out in the raw template file, and will not be visible until you modify and uncomment that part.)

If you have any questions about this file, or Code of Conduct policies and procedures, please see Mozilla-GitHub-Standards or email [email protected].

(Message COC001)

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.