Handle the case where gpg isn't installed; consolidate gpg usage.