#!/bin/sh -x
KEYID=05A6C49C
TMPDIR=$(mktemp -d)

[ -z ${TMPDIR} ] && exit 1

gpg --homedir=${TMPDIR} --keyserver pool.sks-keyservers.net --recv-keys ${KEYID}
gpg --homedir=${TMPDIR} --output cloud-otc-archive.gpg --export ${KEYID}

rm -rf ${TMPDIR}
