Skip to content

Instantly share code, notes, and snippets.

View JimCircadian's full-sized avatar

Jim Circadian JimCircadian

View GitHub Profile
python3 -c 'import getpass, crypt; print(crypt.crypt(getpass.getpass("Enter Password: "), crypt.mksalt()))'
@JimCircadian
JimCircadian / gist:99ec11a1d065505fa41b22d2433e61f2
Created September 29, 2020 15:51
Output for FreeIPA CA Cert
CSR
Subject:
localityName = PRINTABLESTRING:***
stateOrProvinceName = PRINTABLESTRING:***
countryName = PRINTABLESTRING:***
organizationName = PRINTABLESTRING:*** *** ***
commonName = PRINTABLESTRING:*** *** ***
Cert
Subject:
countryName = PRINTABLESTRING:***
@JimCircadian
JimCircadian / example socat
Created July 24, 2018 15:18
A little serial testing utility (found it helpful for identifying character stripping)
# Run this first, then recv, then send
socat pty,link=/tmp/ttySEND pty,link=/tmp/ttyRECV