Check for equality of pub key in key phrases