o Update code to use gnupg 1.2.2 python module. Closes #2342.