Fixed key file permissions.