eonpatapon / gnome-shell-extension-transmission-daemon

gnome-shell indicator for transmission-daemon
40 stars 23 forks source link

SSL Verification #18

Closed Faless closed 2 years ago

Faless commented 11 years ago

Hi, Hi! I use transmission via https (it's behind proxy), sadly this extension does not provide SSL verification. There are two ways of supporting it (but I didn't dig very much so excuse me if I'm wrong). Simply adding: _httpSession.ssl_ca_file = "/PATH/TO/MY/CERT.pem"; after _httpSession = new Soup.SessionAsync();

Does the trick!

You can also use system-wide CAs https://developer.gnome.org/libsoup/stable/SoupSession.html#SoupSession--ssl-use-system-ca-file but the easier way should be adding an option in the extension preferences: "Verify SSL?" if left empty all certs are accepted, otherwise the path to certificate should be provided.

What do you think? I don't have lot of knowledge about shell extensions but I might have a look at how to implement the prefs thing if you don't have time for that.

Let me know, Faless

eonpatapon commented 11 years ago

I think we could add a gsetting option for that but not necessarily show it in the pref panel. Since it is a very advanced setting people that want to use it can still set it from the command line

TheKevJames commented 6 years ago

@Faless I've just taken over maintenance of this project on my GitHub fork as well as the extensions.gnome.org project.

As far as I understand, this feature has been added since you opened this issue. I verified myself with the latest deployed version against Gnome Shell 3.26 and found it was able to connect though SSL -- if you still experience this issue, I'd love to hear more; feel free to open an issue on my fork