Skip to content

Instantly share code, notes, and snippets.

@scaryTollens
scaryTollens / DDPClient_scratch.py
Created November 8, 2019 22:23
How to connect to a CoWorkr DDP Stream using DDPClient.py
from DDPClient import DDPClient
import hashlib
def cb(err, data):
print err
print data
m = hashlib.sha256()
m.update('secret123'.encode('utf-8'))
digest = m.hexdigest()
@scaryTollens
scaryTollens / self-signed-certificate-with-custom-ca.md
Created October 13, 2019 03:43 — forked from fntlnz/self-signed-certificate-with-custom-ca.md
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096