Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
3f239ab
fix lib
diegolmello Sep 11, 2025
5c460bc
encrypt/decrypt working
diegolmello Sep 11, 2025
d1dc09d
Avoid attempting to decrypt a message when keyId is not the same
diegolmello Sep 12, 2025
18fca07
Implement request for room key when old key is not available, with a …
diegolmello Sep 12, 2025
66caa65
tmsg commented out for future me
diegolmello Sep 12, 2025
f3ff8be
Fix ts types
diegolmello Sep 12, 2025
96f9528
swift header finally working
diegolmello Sep 15, 2025
b200e94
new keyid makes sense, but v1 is not working
diegolmello Sep 18, 2025
46be7c6
Fix and simplify old key logic for v1 and v2
diegolmello Sep 18, 2025
77f25c9
comment
diegolmello Sep 18, 2025
74f4cc6
New master key generation
diegolmello Sep 18, 2025
6607369
bip39
diegolmello Sep 19, 2025
f3481d5
Improve styling
diegolmello Sep 19, 2025
e5fc185
Cleanup
diegolmello Sep 19, 2025
9eb3f33
fix lib
diegolmello Sep 11, 2025
85e2bf3
encrypt/decrypt working
diegolmello Sep 11, 2025
6c748d5
Avoid attempting to decrypt a message when keyId is not the same
diegolmello Sep 12, 2025
1e309ad
Implement request for room key when old key is not available, with a …
diegolmello Sep 12, 2025
7623ed4
tmsg commented out for future me
diegolmello Sep 12, 2025
b57b7e8
Fix ts types
diegolmello Sep 12, 2025
9b35cd7
swift header finally working
diegolmello Sep 15, 2025
78d9a07
new keyid makes sense, but v1 is not working
diegolmello Sep 18, 2025
4da4e95
Fix and simplify old key logic for v1 and v2
diegolmello Sep 18, 2025
6f8e100
comment
diegolmello Sep 18, 2025
44a552a
New master key generation
diegolmello Sep 18, 2025
0b8e406
bip39
diegolmello Sep 19, 2025
acd3dc3
Improve styling
diegolmello Sep 19, 2025
89fa448
Cleanup
diegolmello Sep 19, 2025
ffaf945
Merge branch 'feat.e2ee-v2' of github.com:RocketChat/Rocket.Chat.Reac…
diegolmello Sep 22, 2025
3bdfbbc
Content over msg
diegolmello Sep 22, 2025
1f920dd
Push android working
diegolmello Sep 22, 2025
b7e6f9e
Push iOS
diegolmello Sep 22, 2025
8ef27d3
Encrypt push iOS
diegolmello Sep 23, 2025
268fd9d
Reply from push use content instead of msg
diegolmello Sep 23, 2025
059f0ec
Make msg receive decrypted content.text
diegolmello Sep 23, 2025
4ebc75b
Update CustomPushNotification to check for content and msg; modify Re…
diegolmello Sep 24, 2025
0ad2dff
Add redundancy check on handshake
diegolmello Sep 24, 2025
036324b
Avoid decrypting last message unnecessarily
diegolmello Sep 24, 2025
1311592
Merge branch 'develop' into feat.e2ee-v2
diegolmello Sep 24, 2025
450ba88
Enhance SendMessageRequest to support both text and content for backw…
diegolmello Sep 25, 2025
8b41c8b
Stop sending msg on e2ee push reply iOS
diegolmello Sep 25, 2025
7f2c936
Fix ts on Message model
diegolmello Sep 25, 2025
31126ee
Merge branch 'develop' into feat.e2ee-v2
diegolmello Sep 25, 2025
1119be6
Adapt to rc.v2.aes-sha2
diegolmello Sep 26, 2025
6651a56
Refactor E2EE content structure to support versioned encryption algor…
diegolmello Sep 26, 2025
4690076
ugly, but ios/android push working on the new structure
diegolmello Sep 26, 2025
388d619
working on web
diegolmello Sep 26, 2025
f85ec9b
Decrypt/encrypt push iOS working on web
diegolmello Sep 29, 2025
f9f7dd1
Encrypt/decrypt refactor
diegolmello Sep 29, 2025
23d1376
version -> algorithm
diegolmello Sep 29, 2025
e320ebb
fix type
diegolmello Sep 29, 2025
890714e
Android notification fixes to match iOS implementation
diegolmello Sep 30, 2025
7752340
Merge branch 'develop' into feat.e2ee-v2
diegolmello Sep 30, 2025
faae390
Avoid decrypting sub.lastMessage too often
diegolmello Sep 30, 2025
b580fcb
Get rid of too many ready checks
diegolmello Sep 30, 2025
6eb95b7
Enhance encryption room logic to handle private key checks and error …
diegolmello Sep 30, 2025
41823d8
Refactor encryption utilities to use ArrayBuffer instead of Uint8Arra…
diegolmello Sep 30, 2025
b0f9cb0
Fix push notification when app is killed
diegolmello Sep 30, 2025
90fc90f
Cleanup
diegolmello Sep 30, 2025
04efb46
Fix in-app notification
diegolmello Oct 1, 2025
50deb65
Fix v2 room key creation
diegolmello Oct 1, 2025
9a0aa95
fix suggested keys approval/rejection
diegolmello Oct 1, 2025
1f4ae70
Add generate password to change e2ee password
diegolmello Oct 2, 2025
b0600c3
action: organized translations
diegolmello Oct 2, 2025
d116d26
cleanup
diegolmello Oct 3, 2025
1b245e3
Fix room creation and file upload
diegolmello Oct 3, 2025
b1cae4b
Refactor e2ee tests
diegolmello Oct 3, 2025
bc30582
cleanup
diegolmello Oct 3, 2025
8f96d34
Improve versioning
diegolmello Oct 3, 2025
e33580a
Avoid decrypting lastmessage too often
diegolmello Oct 3, 2025
375f4f2
Merge branch 'feat.e2ee-v2' of github.com:RocketChat/Rocket.Chat.Reac…
diegolmello Oct 3, 2025
4ae92d6
Merge branch 'develop' into feat.e2ee-v2
diegolmello Oct 3, 2025
9b2f0c7
Fix some ts issues on e2ee
diegolmello Oct 3, 2025
cdd41ce
Fix iOS header disabled items styles
diegolmello Oct 6, 2025
3a670b2
cleanup
diegolmello Oct 6, 2025
d66189c
Fix wmdb issues on decryptPendingSubscriptions
diegolmello Oct 6, 2025
67a29e7
Add state management for E2EE key visibility in RoomView
diegolmello Oct 6, 2025
dde22ff
Merge branch 'develop' into feat.e2ee-v2
diegolmello Oct 6, 2025
b34fd01
Fix comment
diegolmello Oct 6, 2025
e091692
Fix edit message
diegolmello Oct 8, 2025
320faaf
Stop trying to decrypt sub.lastMessage from unencrypted channels
diegolmello Oct 8, 2025
70bd76e
Fix room not being persisted after created
diegolmello Oct 8, 2025
06be35f
Minor fix on decryptSubscription
diegolmello Oct 8, 2025
3c7d63d
Add e2eePassword to data tests
diegolmello Oct 8, 2025
cb42ce8
Merge branch 'develop' into feat.e2ee-v2
diegolmello Oct 8, 2025
9dd0e78
Update e2e tests to use deeplink
diegolmello Oct 8, 2025
d827a0e
Fix banner and room wall flickering
diegolmello Oct 8, 2025
8d0efca
Merge branch 'develop' into feat.e2ee-v2
diegolmello Oct 13, 2025
7823aef
Point to 7.13.0
diegolmello Nov 6, 2025
cd2951e
Merge branch 'feat.e2ee-v2' of github.com:RocketChat/Rocket.Chat.Reac…
diegolmello Nov 6, 2025
23c15fa
Merge branch 'develop' into feat.e2ee-v2
diegolmello Nov 6, 2025
b5dff4a
chore: format code and fix lint issues
diegolmello Nov 6, 2025
8a3f7e5
Fix decode private key not using the salt from json and change salt g…
diegolmello Nov 7, 2025
b019fec
Make sure subscription is persisted before trying to decrypt
diegolmello Nov 7, 2025
a808de9
Fix room creation
diegolmello Nov 7, 2025
8d17033
Prevent handshake from running on non e2ee rooms
diegolmello Nov 7, 2025
bc335fb
Fix salt
diegolmello Nov 7, 2025
412d689
Fix lint
diegolmello Nov 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .maestro/helpers/login-with-deeplink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ tags:
- 'util'

---
- clearState
- stopApp: chat.rocket.reactnative
- runFlow:
when:
true: CLEAR_STATE
commands:
- clearState: chat.rocket.reactnative
- evalScript: ${output.login = output.utils.login(USERNAME, PASSWORD)}
- runFlow:
file: 'open-deeplink.yaml'
Expand Down
6 changes: 6 additions & 0 deletions .maestro/helpers/open-deeplink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@ tags:
text: Open
index: 1
optional: true
- runFlow:
when:
visible: '.*Would like to send you notifications.*'
platform: iOS
commands:
- tapOn: 'Allow'
Comment on lines +22 to +27
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Fix the regex casing for the notification prompt

iOS renders the system alert as "AppName" Would Like to Send You Notifications; the current pattern uses lowercase like, so Maestro never matches and the Allow tap never executes. Update the regex to match the actual casing, e.g. '.*Would Like to Send You Notifications.*'.

-      visible: '.*Would like to send you notifications.*'
+      visible: '.*Would Like to Send You Notifications.*'
🤖 Prompt for AI Agents
In .maestro/helpers/open-deeplink.yaml around lines 15 to 20, the regex for
matching the iOS notification alert uses lowercase "Would like" so it doesn't
match the system prompt; update the pattern to use correct casing (e.g. "Would
Like to Send You Notifications") so Maestro can match the alert and execute the
tap on "Allow".

3 changes: 2 additions & 1 deletion .maestro/scripts/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ const data = {
name: 'detox-public-protected',
joinCode: '123'
}
}
},
e2eePassword: 'Password1@abcdefghijklmnopqrst'
};

output.data = data;
Loading
Loading