#!/bin/bash # example: http://download.opensuse.org/repositories/home:/dassit/openSUSE_12.1/repodata/repomd.xml.key URL="$1" curl "$URL"| gpg --with-fingerprint