Skip to content

Instantly share code, notes, and snippets.

View pradtke's full-sized avatar

Patrick pradtke

  • Cirrus Identity
View GitHub Profile
@pradtke
pradtke / example.md
Created November 21, 2016 19:12
gitpages gzip issue

We noticed that github pages was serving incorrect responses to some members of our geographically dispersed team.

Misbehaving github server

$ dig www.athena-institute.github.io +nostats +nocomments +nocmd
; <<>> DiG 9.8.3-P1 <<>> www.athena-institute.github.io +nostats
+nocomments +nocmd
;; global options: +cmd
;www.athena-institute.github.io. IN A
@pradtke
pradtke / README-Docker.md
Last active March 18, 2019 09:55
SimpleSAMLphp quick start

Overview

Quickstart tutorial of how to install and configure SSP to as an service provider to work with testshib We are going to use a php apache docker image so you don't need to worry about installing those on your system. If you want to use the embedded php web server (https://gist.github.com/pradtke/a63e843a568b9fa4b956668d0b3c0447#file-readme-built-in-server-md) We'll follow many of the steps from install and setup guides.

Note: there is a bug some of the url handling when using a reverse proxy (since fixed in master branch of SSP). This messes up port mappings, so we must map the local port 80 to the docker image.

Start

@pradtke
pradtke / README.md
Last active December 8, 2015 23:28
Registration Authority Filter for Simple Saml Php 1.13.2

This patch is a back port of more advanced metadata filtering for SimpleSamlPhp. The patch has been tested against SSP 1.13.2

Apply patch

# Download patch to /tmp/filter-metaloader.patch
# cd $SSP_INSTALL;  # example: cd /var/simplesamlphp
patch -p1 < /tmp/filter-metaloader.patch