#!/bin/bash # Author: Daniel Kahn Gillmor # Date: 2010-12-20 20:54:55-0500 # On a system with keys for https (or some other X.509-using protocol) # already imported into monkeysphere-host, this script generates X.509 # certificate requests for each key, with appropriate subjectAltNames # and the PGPExtension embedded. # The generated requests get dumped to stdout. redirect to a file or # copy/paste if you want to save them/send them someplace. # This script uses bashisms # It currently needs OpenSSL binaries to work properly # It assumes that the monkeysphere-host keyring is in # /var/lib/monkeysphere/host (which it is on debian) # This should probably eventually be incorporated into # monkeysphere-host directly. get_openssl_config() { # first param is seconds since the epoch: X509_PGP_EXTENSION="$(TZ=UTC date -d "@$1" '+%Y%m%d%H%M%SZ')" # next parameter is SAN names, separated by newlines: SUBJECTALTNAME=$(printf "%s" "$2" | sed 's/^/DNS:/' | tr '\n' ',' | \ sed -e 's/,*$//' -e 's/^,*//') printf "sAN: %s\n" "$SUBJECTALTNAME" >&2 cat <includemode:
Diffstat (limited to 'tags/a8/ca')
-rw-r--r--tags/a8/ca/000901c08c95%241ba3a8a0%241dfeffc2@k62500/inbox0
-rw-r--r--tags/a8/ca/000901c08c95%241ba3a8a0%241dfeffc2@k62500/old0
-rw-r--r--tags/a8/ca/13BDF24CAE3F4FFCBC6D5F366278E9D0.MAI@194.65.93.244/attachment0
-rw-r--r--tags/a8/ca/13BDF24CAE3F4FFCBC6D5F366278E9D0.MAI@194.65.93.244/inbox0
-rw-r--r--tags/a8/ca/13BDF24CAE3F4FFCBC6D5F366278E9D0.MAI@194.65.93.244/killed0
-rw-r--r--tags/a8/ca/13BDF24CAE3F4FFCBC6D5F366278E9D0.MAI@194.65.93.244/unread0
-rw-r--r--tags/a8/ca/20111021144856.GA31987@crater2.logilab.fr/debian0
-rw-r--r--tags/a8/ca/20111021144856.GA31987@crater2.logilab.fr/signed0
-rw-r--r--tags/a8/ca/20170122234446.EA81E6A0@xayide.jones.dk/inbox0
-rw-r--r--tags/a8/ca/20170122234446.EA81E6A0@xayide.jones.dk/old0
-rw-r--r--tags/a8/ca/20181109030002.172A71CC160@lxp5.free-owl.de/sys0
-rw-r--r--tags/a8/ca/20181109030002.172A71CC160@lxp5.free-owl.de/unread0
-rw-r--r--tags/a8/ca/20210919172027.C4DA431E2@xayide.jones.dk/unread0
-rw-r--r--tags/a8/ca/E1nu5Rw-0004JJ-42@respighi.debian.org/debian0
-rw-r--r--tags/a8/ca/E1nu5Rw-0004JJ-42@respighi.debian.org/inbox0
-rw-r--r--tags/a8/ca/E1nu5Rw-0004JJ-42@respighi.debian.org/killed0
-rw-r--r--tags/a8/ca/E1nu5Rw-0004JJ-42@respighi.debian.org/unread0
17 files changed, 0 insertions, 0 deletions