iOS version of PGPAuth