Skip to content

Instantly share code, notes, and snippets.

View selfcommit's full-sized avatar
🏠
Working from home

Dan OBoyle selfcommit

🏠
Working from home
View GitHub Profile
@selfcommit
selfcommit / m2crypto-certificates.py
Created June 28, 2016 17:25 — forked from eskil/m2crypto-certificates.py
Example of generating CA certs and CA signed certs using python m2crypto.
"""
Tools for creating a CA cert and signed server certs.
Divined from http://svn.osafoundation.org/m2crypto/trunk/tests/test_x509.py
The mk_temporary_xxx calls return a NamedTemporaryFile with certs.
Usage ;
# Create a temporary CA cert and it's private key
cacert, cakey = mk_temporary_cacert()
@selfcommit
selfcommit / Guard Macro
Last active August 29, 2015 14:10 — forked from Zynyx/LAVA SHOCK
#showtooltip
#showcooldown
/castsequence [mod:shift] reset=15 Unleash Flame, Flame Shock; reset=8 Lava Burst