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

Problem with Online Accounts (and fix) #12

Open
montagdude opened this issue Aug 1, 2017 · 15 comments
Open

Problem with Online Accounts (and fix) #12

montagdude opened this issue Aug 1, 2017 · 15 comments
Assignees
Labels

Comments

@montagdude
Copy link

Hi,

Whenever I try to add any online accounts (through Settings -> Online Accounts), e.g. Google or Facebook, I get an error like the following:

"Unable to confirm identity: Unacceptable TLS certificate"

The first part of the error message changes depending on which account I try to add, but the second part is always the same. I was able to track down the problem with journalctl -f, which indicated that a file /etc/ssl/ca-bundle.crt did not exist. I was eventually able to get it to work by doing the following:

`for FILE in $(ls /usr/share/ca-certificates/mozilla/*.crt); do

cat $FILE >> /etc/ssl/ca-bundle.crt

done`

I don't know if GNOME Online Accounts can be configured to look up the correct certificate in /usr/share/ca-certificates/mozilla instead of reading the ca-bundle.crt file, which by default is not present on Slackware. If not, maybe some Dlackware package should create this file so that Online Accounts works out of the box.

@belka-ew
Copy link
Member

belka-ew commented Aug 1, 2017

Thanks for the report and a workaround description! I have the same problem with GOA. Even if the configuration cannot be changed, it should be possible to patch GOA. I have to look into it.

@belka-ew belka-ew added the bug label Aug 1, 2017
@belka-ew belka-ew self-assigned this Aug 1, 2017
@belka-ew belka-ew modified the milestone: 3.14 Aug 1, 2017
@belka-ew
Copy link
Member

belka-ew commented Aug 12, 2017

The error comes from libsoup: https://git.gnome.org/browse/libsoup/tree/libsoup/soup-session.c?h=gnome-3-22#n565
set_ssl_ca_file is called when PROP_SSL_CA_FILE is set. But I wasn't able to find who sets the property. Anyway the problem can be deeper, it may be that webkit or gnutls or gnome-control-center or glib (GIO has an API for handling TLS) or whatever tries to use a wrong path.

Interesting that PROP_SSL_CA_FILE is deprecated (and was already deprecated in 3.22). So there is some chance it will be fixed.
By the way slackware ships the bundled certificates aswell but the file is /etc/ssl/certs/ca-certificates.crt and not /etc/ssl/certs/ca-bundle.crt.
An ugly solution would be to patch libsoup to look into /etc/ssl/certs/ca-certificates.crt if it can't find ca-bundle.crt

The suggested workaround works here for Google but not for Facebook, I get a slightly different error even if ca-bundle.crt exists. @montagdude, does Facebook work for you?

@montagdude
Copy link
Author

montagdude commented Aug 14, 2017

Thanks for the extra information. Sounds like it would be fairly complicated to fix it from the GNOME side. I can confirm that the workaround doesn't work for Facebook here, either. I've tried Google, Facebook, and Flickr, and it works for Google and Flickr, but not Facebook.

@lil-armstrong
Copy link

I just installed gir1.2-goa on my kali linux and since then, once I attempt to add an account on GOA, the window simply disappears. Whats the issue?

@belka-ew
Copy link
Member

@lil-armstrong Can you start the control center in terminal:

/usr/bin/gnome-control-center

open online accounts and look if you get some output to the console.

@lil-armstrong
Copy link

Yes I can

@lil-armstrong
Copy link

Her's the output on Terminal:

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:137:54: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:159:56: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:165:71: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:169:56: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:174:58: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:182:56: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:187:58: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:195:56: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:200:58: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:211:74: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:218:58: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:221:75: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:1036:66: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:1050:71: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:1059:56: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:1065:73: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:1076:73: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:1079:58: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:1086:73: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:1089:58: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:1312:71: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:1319:56: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:1323:73: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:1440:56: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:1444:58: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:1447:56: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:1839:9: Not using units is deprecated. Assuming 'px'.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:1839:9: Expected a string.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:2630:53: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:2660:51: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:2663:53: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:2668:53: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:2668:87: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:2913:8: not a number

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:2913:17: Using Pango syntax for the font: style property is deprecated; please use CSS syntax

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3185:54: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3499:71: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3506:56: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3509:73: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3517:52: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3589:56: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3597:71: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3601:54: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3612:54: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3805:8: not a number

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3805:20: Using Pango syntax for the font: style property is deprecated; please use CSS syntax

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3825:54: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3836:8: not a number

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3836:22: Using Pango syntax for the font: style property is deprecated; please use CSS syntax

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3839:8: not a number

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3839:28: Using Pango syntax for the font: style property is deprecated; please use CSS syntax

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3842:8: not a number

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3842:22: Using Pango syntax for the font: style property is deprecated; please use CSS syntax

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3859:12: not a number

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3859:12: Expected a string.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3865:14: not a number

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3865:14: Expected a string.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3871:16: not a number

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3871:16: Expected a string.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3876:14: not a number

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3876:14: Expected a string.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3943:12: Expected a string.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3945:16: not a number

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3945:16: Expected a string.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3991:12: not a number

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3991:12: Expected a string.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3994:66: Using one color stop with linear-gradient() is deprecated.

(gnome-control-center:9076): Gtk-WARNING **: Theme parsing error: gtk.css:3997:66: Using one color stop with linear-gradient() is deprecated.


@belka-ew
Copy link
Member

Hm. I don't get any output. Post please the installed packages aswell:

ls /var/log/packages/*dlack

I can compare then with my setup. But not sure if I can help.

@lil-armstrong
Copy link

Ehm.. The directory /var/log/packages does not exist. Here are the dirs in mine:

ls /var/log/
alternatives.log     exim4/               ntpstats/
alternatives.log.1   faillog              postgresql/
apache2/             firebird/            samba/
apt/                 fontconfig.log       speech-dispatcher/
auth.log             gdm3/                stunnel4/
auth.log.1           guymager.log         syslog
auth.log.2.gz        inetsim/             syslog.1
auth.log.3.gz        installer/           syslog.2.gz
bootstrap.log        kern.log             syslog.3.gz
btmp                 kern.log.1           syslog.4.gz
btmp.1               kern.log.2.gz        syslog.5.gz
chkrootkit/          kern.log.3.gz        syslog.6.gz
couchdb/             lastlog              syslog.7.gz
daemon.log           lynis.log            sysstat/
daemon.log.1         lynis-report.dat     unattended-upgrades/
daemon.log.2.gz      macchanger.log       user.log
daemon.log.3.gz      macchanger.log.1.gz  user.log.1
debug                macchanger.log.2.gz  user.log.2.gz
debug.1              macchanger.log.3.gz  user.log.3.gz
debug.2.gz           messages             wtmp
debug.3.gz           messages.1           wtmp.1
dpkg.log             messages.2.gz        wvdialconf.log
dpkg.log.1           messages.3.gz        Xorg.0.log
dradis/              mysql/               Xorg.0.log.old

@belka-ew
Copy link
Member

Is it slackware? /var/log/packages is the standard directory in any slackware installation where all installed packages are listed.

@lil-armstrong
Copy link

No Its Kali...

@lil-armstrong
Copy link

I am pretty sure I mentioned that when I posted my complaint...

@belka-ew
Copy link
Member

Oh I see it now. Sorry I've overlooked it first. I don't know what can be the problem, gnome-control-center reports only warnings, no errors. And dlackware itself is a gnome distribution for Slackware Linux only.

@belka-ew
Copy link
Member

Maybe try to report it to the kali maintainers.

@montagdude
Copy link
Author

Back to Dlackware. I had been away from it for several months, but I just rebuilt and reinstalled everything yesterday (3.22/14.2 branch). This problem is still present, and now my workaround isn't working either. It's not really a big deal to me, but I thought I would let you know.

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

No branches or pull requests

3 participants