fixed pgp signature creation