id

334

publisher

tbart@tickets.goffi.org/e53012ef-c20a-427e-890f-6df9172d40ce

title
Cannot deactivate certificate checks in jp/primitivus
author
Tbart
created
01/10/2019, 15:27
updated
01/10/2019, 15:35
labels
ssl certificate self-signed jp primitivus
type
bug
status
queued
priority
normal
milestone
0.7
severity
normal
body

echo "testmessage" | jp message send -c -p selfsigned_server recipient@jabberfr.org
Can't connect profile: InvalidCertificate: Your server certificate is not valid (its identity can't be checked).

This should never happen and may indicate that somebody is trying to spy on you.
Please contact your server administrator.

Try to deactivate certificate checking in primitivus:
Choose profile.
Get sat.core.exceptions.InvalidCertificate error.
Select OK.
Click General - Parameters:

Traceback (most recent call last): File "/usr/bin/primitivus", line 833, in <module> primitivus.start() File "/usr/bin/primitivus", line 364, in start self.loop.run() File "/usr/lib/python2.7/dist-packages/urwid/main_loop.py", line 286, in run self._run() File "/usr/lib/python2.7/dist-packages/urwid/main_loop.py", line 384, in _run self.event_loop.run() File "/usr/lib/python2.7/dist-packages/urwid/main_loop.py", line 1005, in run reraise(*exc_info) File "/usr/lib/python2.7/dist-packages/urwid/main_loop.py", line 1018, in wrapper return f(*args,**kargs) File "/usr/lib/python2.7/dist-packages/urwid/main_loop.py", line 938, in io_callback callback() File "/usr/lib/python2.7/dist-packages/urwid/raw_display.py", line 404, in <lambda> event_loop, callback, self.get_available_raw_input()) File "/usr/lib/python2.7/dist-packages/urwid/raw_display.py", line 502, in parse_input callback(processed, processed_codes) File "/usr/lib/python2.7/dist-packages/urwid/main_loop.py", line 411, in _update self.process_input(keys) File "/usr/lib/python2.7/dist-packages/urwid/main_loop.py", line 508, in process_input event, button, col, row, focus=True ): File "/usr/lib/python2.7/dist-packages/urwid/container.py", line 1690, in mouse_event focus) File "/usr/lib/python2.7/dist-packages/urwid/container.py", line 2203, in mouse_event col - x, row, focus) File "/usr/lib/python2.7/dist-packages/urwid/container.py", line 1671, in mouse_event item_rows = self.get_item_rows(size, focus) File "/usr/lib/python2.7/dist-packages/urwid/container.py", line 1498, in get_item_rows raise PileError("No weighted widgets found for Pile treated as a box widget") urwid.container.PileError: No weighted widgets found for Pile treated as a box widget

Changing the parameter in sat.db by issuing:
update param_ind set profile_id=2 where name='check_certificate';
has no effect. But maybe this is the wrong place ;-)

I found no way to deactivate it via jp.

comments_uri
xmpp:pubsub.goffi.org?;node=urn%3Axmpp%3Amicroblog%3A0%3Acomments%2Forg.salut-a-toi.tickets%3A0_Ck3yWEAANTm4ohbGAGvyak

You are not logged. You need to log in to comment.