Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CaCert root certificate uses the insecure MD5WithRSA signature algorithm. #109

Closed
sycamoreone opened this issue Jan 5, 2016 · 2 comments

Comments

@sycamoreone
Copy link

The CACert root certificate included in xmpp-client uses the MD5WithRSA signature algorithm. This is not only no longer thought to be secure, but is also not supported by Go. Connecting to jabber.ccc.de now gives the following error:

xmpp: failed to verify TLS certificate: x509: certificate signed by unknown authority (possibly because of "x509: cannot verify signature: insecure algorithm MD5-RSA" while trying to verify candidate authority certificate "CA Cert Signing Authority")

(This issue comes originally from Coy: coyim/coyim/issues/41)

@agl
Copy link
Owner

agl commented Jan 10, 2016

The hash algorithm used in the self-signature of a root CA is irrelevant for security. However it also shouldn't trigger a verification error. Rather it looks like that error is arising because the CACert authority isn't found.

Also, I can't reproduce an error when connecting to jabber.ccc.de with Go master.

@agl
Copy link
Owner

agl commented Jan 10, 2016

I think this was caused by a bug in xmpp-client which should be fixed in 525bd26.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants