#!/bin/sh gpgkey=${gpgkey:-bacula} gpg --detach-sign --armor --default-key $gpgkey -o $1.sig $1 gpg --verify $1.sig