EionRobb / purple-rocketchat

Rocket.Chat Plugin for libpurple
GNU General Public License v3.0
21 stars 2 forks source link

Purple-Rocket Chat behind SSL-ClientAuthentication #30

Open Thaodan opened 2 years ago

Thaodan commented 2 years ago

Does this work? The desktop apps works fine so far however I can't get plugin to work. The reference server works thou.

EionRobb commented 2 years ago

Works for me :) Do you mean that the reference server works ok with the plugin, but not a different rocket.chat server? Would you be able to share the server address so I can look into why it might not be able to connect?

Thaodan commented 2 years ago

Works for me :) Do you mean that the reference server works ok with the plugin, but not a different rocket.chat server?

The reference server works yes, the different server requires me to use a client certificate to connect.

Would you be able to share the server address so I can look into why it might not be able to connect?

Sorry I can't.

EionRobb commented 2 years ago

Oh, client certificate? Not come across a rocket.chat server needing one of them before.

Hmm.... At the moment there's no way in Pidgin to attach a client certificate to connections for an account - I was looking at how to do that for IRC to work with the "SASL EXTERNAL" auth, but that never eventuated into a plugin.

As a workaround you could connect through a proxy which attaches the client certificate for you?

Thaodan commented 2 years ago

Hmm.... At the moment there's no way in Pidgin to attach a client certificate to connections for an account - I was looking at how to do that for IRC to work with the "SASL EXTERNAL" auth, but that never eventuated into a plugin.

Hm yeah I hoped for simple http/socket connections it would work hm. I tried to rebase the branch branch that adds this to the 2.x branch however it doesn't work right now.

As a workaround you could connect through a proxy which attaches the client certificate for you?

That would work however the plugin expects first https and then ssl sockets.

Thaodan commented 2 years ago

Hmm.... At the moment there's no way in Pidgin to attach a client certificate to connections for an account - I was looking at how to do that for IRC to work with the "SASL EXTERNAL" auth, but that never eventuated into a plugin.

Hm yeah I hoped for simple http/socket connections it would work hm. I tried to rebase the branch branch that adds this to the 2.x branch however it doesn't work right now.

As a workaround you could connect through a proxy which attaches the client certificate for you?

That would work however the plugin expects first https and then ssl sockets.