7320 Commits
Author SHA1 Message Date
Erwan Leboucher 9688c696c4 fix(crypto): report to-device events the engine could not read 2026-09-02 11:05:27 +02:00
Erwan Leboucher 80ed52c21f fix(console): stop the paste-scam warning firing on every mobile keyboard 2026-09-02 10:52:27 +02:00
Erwan Leboucher 501088c244 fix(crypto): recover device verification and quieten resume disconnects (#2023)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).

<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-09-02 09:30:33 +02:00
Erwan Leboucher 0460b128f3 fix(crypto): recover device verification and quieten resume disconnects 2026-09-02 09:22:56 +02:00
Erwan Leboucher a1791dde4e fix(crypto): show a verification request that arrived before the prompt mounted (#2018)
…

<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).

<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-09-01 23:06:42 +02:00
Erwan Leboucher c7c7b3f2dd fix(crypto): show a verification request that arrived before the prompt mounted 2026-09-01 23:04:04 +02:00
Erwan Leboucher d773863c8c fix(crypto): send verification diagnostics to Sentry instead of the opt-in debug logger (#2017)
…

<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).

<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-09-01 22:06:11 +02:00
Erwan Leboucher 49397486b2 fix(crypto): send verification diagnostics to Sentry instead of the opt-in debug logger 2026-09-01 22:02:37 +02:00
Erwan Leboucher 6b265401a7 Fix/verification flow stalls (#2016)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).

<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-09-01 20:55:15 +02:00
Erwan Leboucher e5865ac83d fix(crypto): recover verification requests the sync path missed and surface failures 2026-09-01 20:33:33 +02:00
Erwan Leboucher 1768ce1c12 fix(mobile): stabilize share target delivery 2026-09-01 20:27:45 +02:00
Erwan Leboucher a560c493ac fix(crypto): refresh device keys before verifying so a stale device list cannot hide a session 2026-09-01 20:19:04 +02:00
Erwan Leboucher e47823002b fix(crypto): trace where an incoming verification request stops 2026-09-01 20:03:19 +02:00
Erwan Leboucher de0254f855 fix(crypto): restore device verification from an unverified session (#2015)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).

<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-09-01 19:27:05 +02:00
Erwan Leboucher a901553d6b fix(crypto): cache the recovery key that secret storage setup just created 2026-09-01 19:09:56 +02:00
Erwan Leboucher 6ffb9a8eb3 fix(crypto): restore device verification from an unverified session 2026-09-01 19:00:57 +02:00
Erwan Leboucher c53b3b9740 Fix/device verified badge (#2014)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).

<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-09-01 15:13:31 +02:00
Erwan Leboucher 702bb747c4 fix(notifications): pin the plugin build that stops mobile commands deadlocking the Android main thread 2026-09-01 14:54:18 +02:00
Erwan Leboucher cb1268c7a3 fix(crypto): let an unverified device start emoji verification with another device 2026-09-01 14:50:30 +02:00
Erwan Leboucher 2ad3a92716 fix(crypto): require a trusted cross-signature before showing a device as verified (#2013)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).

<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-09-01 13:28:55 +02:00
Erwan Leboucher aec8237975 fix(crypto): require a trusted cross-signature before showing a device as verified 2026-09-01 12:04:57 +02:00
Erwan Leboucher 81a1c675e4 Fix/notification sentry observability (#2008)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).

<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-08-31 23:21:31 +02:00
Erwan Leboucher a0d363d47b fix(notifications): do not fall back to native when the chosen distributor is missing 2026-08-31 23:17:29 +02:00
Erwan Leboucher 3552bca683 fix(notifications): avoid the never-settling service worker wait in background clients 2026-08-31 23:15:19 +02:00
Erwan Leboucher 5319aafba0 fix(notifications): retry the preview when the timeline copy is still encrypted 2026-08-31 23:11:30 +02:00
Erwan Leboucher 3995aa3803 fix(sync): bound the push drain by unproductive polls and a wall-clock deadline 2026-08-31 23:10:17 +02:00
Erwan Leboucher 3a096d4478 fix(notifications): keep a saved distributor the scan did not list 2026-08-31 23:08:21 +02:00
Erwan Leboucher 7caa72be4f fix(notifications): stop replacing a chosen UnifiedPush distributor on restart 2026-08-31 23:00:20 +02:00
Erwan Leboucher 10737b1034 fix(sync): keep draining to-device until the push payload actually arrives 2026-08-31 22:58:59 +02:00
Erwan Leboucher ccf17ea407 fix(mobile): handle immersive-mode rejections in the image viewer 2026-08-31 22:43:26 +02:00
Erwan Leboucher 1c3a9705b9 Fix/notification sentry observability (#2007)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).

<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-08-31 13:27:49 +02:00
Erwan Leboucher 82f31ac921 fix(crypto): send the backup version when fetching a session key from backup 2026-08-31 11:43:56 +02:00
Erwan Leboucher 0e33c474b4 fix(notifications): de-duplicate Sentry logs and surface push decrypt failures 2026-08-31 11:23:08 +02:00
Erwan Leboucher 53fb361902 fix(toast): show failure toasts in the error style (#2005)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).

<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-08-31 09:23:33 +02:00
Erwan Leboucher 0cacac405f fix(toast): show failure toasts in the error style 2026-08-31 09:03:34 +02:00
Erwan Leboucher cfccfc3846 Fix/crypto audit hardening (#2002)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).

<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-08-30 21:40:37 +02:00
Erwan Leboucher 6c0e899826 feat(crypto): fetch missing session keys from backup and ask other devices for secrets 2026-08-30 21:21:44 +02:00
Erwan Leboucher 417c658759 fix(crypto): stop claiming the server has no fallback keys and honour the caller's trust requirement 2026-08-30 21:11:16 +02:00
Erwan Leboucher f411d96fe0 test(crypto): port upstream's request, encryption and cross-signing cases 2026-08-30 20:59:33 +02:00
Erwan Leboucher f1b531a112 fix(crypto): validate the stored backup key and settle a cancelled SAS flow 2026-08-30 19:53:54 +02:00
Erwan Leboucher a9eaf55840 fix(crypto): retry outgoing requests and serialize key claims and room encryption 2026-08-30 19:48:18 +02:00
Erwan Leboucher 4fb7eeb0e6 fix(crypto): keep room key requests disabled and report real restore progress 2026-08-30 19:40:45 +02:00
Erwan Leboucher 0391e50db2 fix(crypto): match upstream on backup completion, secret storage writes and gossip errors 2026-08-30 19:38:43 +02:00
Erwan Leboucher 4097e090be fix(crypto): match upstream on to-device drops, room-key forwarding and unknown devices 2026-08-30 19:38:43 +02:00
Erwan Leboucher 6f6154dc7e fix(crypto): make opening and releasing the engine atomic across the push and webview paths 2026-08-30 19:38:42 +02:00
Erwan Leboucher c79163e5c2 fix(crypto): tolerate unparseable member ids and reject unusable timeouts 2026-08-30 19:38:42 +02:00
Erwan Leboucher 8503c21477 Fix/backup import skips bad keys (#2001)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).

<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-08-30 19:26:52 +02:00
Erwan Leboucher b442ce4969 fix(notifications): stop the cold-push path blocking the Android main thread 2026-08-30 19:18:21 +02:00
Erwan Leboucher c76782e47a fix(crypto): skip unreadable backed-up keys instead of failing the import 2026-08-30 19:17:56 +02:00
Erwan Leboucher 192bf6a541 feat(notifications): report why cold pushes could not show content (#2000)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).

<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-08-30 16:28:42 +02:00