Added try/catch for OpenPGP stuff