Verify keys are not too similar

only need to verify main key against expiredKeys

also better error message

Use var instead of explicit type
Merge pull request #2315 from Particular/dodgyKeys

Verify keys are not too similar