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

Set a default trust store for GnuTLS #16

Merged
merged 1 commit into from Feb 17, 2018
Merged

Set a default trust store for GnuTLS #16

merged 1 commit into from Feb 17, 2018

Conversation

mcatanzaro
Copy link
Contributor

Otherwise, the changes I am planning in
https://bugzilla.gnome.org/show_bug.cgi?id=753260 are going to break
glib-networking for Flatpak.

Warning: I failed to successfully compile the freedesktop SDK, so this is untested. I haven't worked with Yocto before and don't know if appending to EXTRA_OECONF in the bbappend file will actually work. But if it's still possible to load HTTPS pages with Epiphany using the updated runtime, then the change at least did not break anything.

It would be desirable to check the build log of GnuTLS and see, at the very bottom of the configure output, if the trust store file was indeed set.

It might be better to try building with --with-default-trust-store-pkcs11="pkcs11:" instead, which is what Fedora does, but I don't know much about PKCS#11 and wouldn't know how to verify if that's working as expected.

Otherwise, the changes I am planning in
https://bugzilla.gnome.org/show_bug.cgi?id=753260 are going to break
glib-networking for Flatpak.
@alexlarsson
Copy link
Member

I tried building it and the log said:

-  Trust store file:     
+  Trust store file:     /etc/ssl/certs/ca-certificates.crt

@alexlarsson alexlarsson merged commit 0f966a6 into flatpak:1.6 Feb 17, 2018
@mcatanzaro
Copy link
Contributor Author

Perfect, thanks Alex!

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

Successfully merging this pull request may close these issues.

None yet

2 participants