Thursday, February 5, 2015

New project - Windows crypto wrapper for python

The Win32 Crypto API is a pain to work with, as evidenced by how often OpenSSL is used instead of the operating system's built-in functions. Hard to use in C turns into absolutely impossible to interact with in Python, so I have been working to fix that.

Introducing! The result will be a clean, object-based pythonic wrapper to use the Win32 Crypto API.

Anyway, I was speaking with a guy today about certificates, SSL, and their contents. Convienient since this code was just written up yesterday...
CERT_INFO structure in python

Of course I was only able to mentally walk back structure a few rows at the time, and sort of directed the conversation onto a tangent about the NotAfter usage.