1#!/bin/sh 2# 3# Copyright (C) 2000-2017 Kern Sibbald 4# License: BSD 2-Clause; see file LICENSE-FOSS 5# 6gpgkey=${gpgkey:-"Bacula 4096 Distribution Verification Key"} 7gpg --digest-algo=SHA256 --detach-sign --armor --default-key "$gpgkey" -o $1.sig $1 8gpg --verify $1.sig 9