Skip to content

Instantly share code, notes, and snippets.

@andygabby
andygabby / ct-submit.py
Created August 3, 2018 18:03 — forked from rraptorr/ct-submit.py
Simple Certificate Transparency certificate submission client
#!/usr/bin/python
import sys
import argparse, json, base64, struct
import urllib2
from datetime import datetime
LOGS = {
'icarus': 'https://ct.googleapis.com/icarus',
'pilot': 'https://ct.googleapis.com/pilot',

Keybase proof

I hereby claim:

  • I am andygabby on github.
  • I am andygabby (https://keybase.io/andygabby) on keybase.
  • I have a public key ASA9umV8PSQZql9aHTZewH81d1R_qTtPk7NVnelKH7ysSAo

To claim this, I am signing this object:

#!/usr/bin/env ruby
#
# check_ocsp.rb
#
# == Synopsis
# This program is able to connect to a site using
# an x509 certificate issued by Let's Encrypt and
# check the OCSP status of the certificate.
# The uri to the ocsp responder is derived from the
# certificate but verrides can be passed to look up
#!/bin/bash
TOPIC=$(git symbolic-ref --short HEAD 2>/dev/null)
DEST=master
die() {
echo $@
exit 1
}
git pull --rebase origin ${DEST} || die