Author: Drew Mazurek Contributors: Susan Bramhall Howard Gilbert Andy Newman Andrew Petro Version: 1.0
Release Date: May 4, 2005
#!/usr/bin/env python | |
import sys | |
from os.path import basename | |
from subprocess import Popen, PIPE | |
"""Map of OpenSSL symmetric cipher names to cipher/block size tuples.""" | |
CIPHERS={ | |
'AES': ('AES', 128), | |
'AES128': ('AES', 128), |
/* | |
* See LICENSE for licensing and NOTICE for copyright. | |
*/ | |
package edu.vt.middleware.ed.support.spring.tx; | |
import java.lang.reflect.Field; | |
import java.util.concurrent.ConcurrentHashMap; | |
import javax.persistence.EntityManager; | |
import javax.persistence.EntityManagerFactory; | |
import edu.vt.middleware.core.annotation.Trivial; |
#!/bin/bash | |
for F in $(find . -type f -print); do | |
TCOUNT=$(grep -ce '^\t' $F) | |
SCOUNT=$(grep -ce '^ ' $F) | |
if [[ $TCOUNT -gt 0 ]] && [[ $SCOUNT -gt 0 ]]; then | |
echo $F | |
fi | |
done |
/* | |
* See LICENSE for licensing and NOTICE for copyright. | |
*/ | |
package edu.vt.middleware.app; | |
import java.io.File; | |
import java.security.*; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.function.Predicate; |
/* | |
* See LICENSE for licensing and NOTICE for copyright. | |
*/ | |
package edu.vt.middleware.ed.model.db | |
import javax.persistence.* | |
/** | |
* Models a Virginia Tech academic major from Banner. | |
* |
Use the method described here if you would like most of the following benefits:
While provenance isn't necessary for many folks, it's useful if not essential if you publish software artifacts
#!/bin/bash | |
# Generates a PKCS#12 trust store from a directory of PEM-encoded certificates | |
# using the Java keytool utility. | |
if [ $# -lt 2 ]; then | |
echo "USAGE $(basename $0) path/to/certs/dir path/to/output.p12" | |
exit | |
fi | |
IN="${1%/}" |
2018-09-17 11:51:19,659 DEBUG org.opensaml.saml.saml2.binding.decoding.impl.HTTPRedirectDeflateDecoder:99 1.2.3.4 Decoded RelayState: https://cloudforms02.systems.nis.dit.cas-1.opc.vt.edu/saml_login | |
2018-09-17 11:51:19,659 DEBUG org.opensaml.saml.saml2.binding.decoding.impl.HTTPRedirectDeflateDecoder:131 1.2.3.4 Base64 decoding and inflating SAML message | |
2018-09-17 11:51:19,660 DEBUG org.opensaml.saml.saml2.binding.decoding.impl.HTTPRedirectDeflateDecoder:114 1.2.3.4 Decoded SAML message | |
2018-09-17 11:51:19,661 DEBUG net.shibboleth.idp.profile.impl.WebFlowMessageHandlerAdaptor:174 1.2.3.4 Profile Action WebFlowMessageHandlerAdaptor: Invoking message handler of type 'org.opensaml.saml.common.binding.impl.CheckMessageVersionHandler' on INBOUND message context | |
2018-09-17 11:51:19,661 DEBUG net.shibboleth.idp.profile.impl.WebFlowMessageHandlerAdaptor:195 1.2.3.4 Profile Action WebFlowMessageHandlerAdaptor: Invoking message handler on message context containing a message of type 'org.opensaml.saml.saml2.core.impl. |
#!/bin/bash | |
# Connects a docker image of redis-cli to an ElastiCache Redis instance | |
# by jumping through an AWS bastion host. Setup of the bastion host is | |
# an exercise left to the reader, but there are many detailed explanations | |
# of the AWS components and security controls. | |
# | |
# NOTE: | |
# 1. Script assumes OSX. Tweaking required for other platforms. | |
# 2. Clustered Redis not supported for practical reasons. | |
# Theoretically possible to establish tunnels to cluster discovery |