Commits

Anonymous committed 47813ac

Initial commit

Comments (0)

Files changed (1)

+#!/bin/bash
+
+serverkey=${1:?serverkey file needed}
+package=${2:?package name required}
+mirror=${3:-http://d.pypi.python.org}
+url_simple="$mirror/simple/$package"
+url_serversig="$mirror/serversig/$package"
+
+exec openssl dgst -verify "$serverkey" -signature <(wget -q -O - -- "$url_serversig") <(wget -q -O - -- "$url_simple")