Update asserts around public key file.