Prepare for deprecating old kerberos ciphers by warning users
with a SSF lower than 112.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
_("negotiation SSF %d was not strong enough"), ssf);
goto cleanup;
}
+ if (ssf < SSF_WARNING_LEVEL) {
+ VIR_WARN("negotiation SSF %d lower than %d will be deprecated. "
+ "Please upgrade your ciphers.",
+ ssf, SSF_WARNING_LEVEL);
+ }
priv->is_secure = 1;
}
#define LIBVIRT_CLIENTCERT LIBVIRT_PKI_DIR "/libvirt/clientcert.pem"
#define LIBVIRT_SERVERKEY LIBVIRT_PKI_DIR "/libvirt/private/serverkey.pem"
#define LIBVIRT_SERVERCERT LIBVIRT_PKI_DIR "/libvirt/servercert.pem"
+
+#define SSF_WARNING_LEVEL 112