Skip to content

Instantly share code, notes, and snippets.

View jdelic's full-sized avatar

Jonas Maurus jdelic

View GitHub Profile
@jdelic
jdelic / yubitouch.sh
Created September 8, 2016 22:22 — forked from a-dma/yubitouch.sh
Bash script for setting or clearing touch requirements for cryptographic operations in the OpenPGP application on a YubiKey 4.
#!/bin/bash
# Bash script for setting or clearing touch requirements for
# cryptographic operations the OpenPGP application on a YubiKey 4.
#
# Author: Alessio Di Mauro <alessio@yubico.com>
GCA=$(which gpg-connect-agent)
DO=0
UIF=0
@jdelic
jdelic / openssl.ini
Last active February 5, 2017 17:05
OpenSSL CA config with website, email and client cert configurations using a root and intermediate CA
#
# OpenSSL CA config
#
# see https://jamielinux.com/docs/openssl-certificate-authority/
#
# useful commands =============================================================
# (this config file is referred to as openssl.cnf)
# Create a self-signed CA in one command
# openssl req -x509 -out casserver-ca.crt -key casserver-ca.key
# -config openssl.cnf -extensions app_ca_root_cert -days 3650