boxdot / gurk-rs

Signal Messenger client for terminal
GNU Affero General Public License v3.0
471 stars 34 forks source link

silent failure to deliver message with "untrusted identity" #124

Open chaseadam opened 2 years ago

chaseadam commented 2 years ago

Appears in chat: image

Shows in gurk.log:

[2022-01-18T09:42:01.870092819-05:00 INFO libsignal_service::sender] establishing new session with ProtocolAddress { name: "2f6dbbf5-1f15-43a4-XXX", device_id: 1 }
[2022-01-18T09:42:02.040619854-05:00 ERROR gurk::signal] Failed to send message to 2f6dbbf5-1f15-43a4-8ffe-XXX: libsignal-service sending error: protocol error: untrusted identity for address 2f6dbbf5-1f15-43a4-XXX.1

I see likely related message in official android client: "Your safety number with X has changed."

I would expect a clear failure indication.

Bonus: A method to manage safety number changes.

chaseadam commented 2 years ago

similar experience with another contact, but possibly different underlying failure. The user is no longer on signal? I also get a "Send failed" from the Android Signal app.

[2022-05-09T16:02:07.771547831-04:00 INFO presage::config::sled] get_sub_device_sessions: session_prefix=session-fa915180-a181-4e1d-a5d0-a307fd7136f6.
[2022-05-09T16:02:07.911077763-04:00 ERROR gurk::signal] Failed to send message to fa915180-a181-4e1d-a5d0-a307fd7136f6: libsignal-service sending error: Unexpected response: HTTP 404