Fix deprecated should calls
Escape whitespaces in pgp signature test