added pgp public key validation to model
added another test to ensure pgp key validation wasn't applied to pbe keys