public key validation problem (fixes #26)