Skip to content

feat(crypto): Add new encrypt_and_send_custom_to_device to the client #4998

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 19, 2025

Conversation

BillCarsonFr
Copy link
Member

@BillCarsonFr BillCarsonFr commented May 2, 2025

Created a follow-up PR to extract the mock helpers with the other mock helpers, see #5005

  • Public API changes documented in changelogs (optional)

Signed-off-by:

Copy link

codecov bot commented May 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.85%. Comparing base (e3bcd4d) to head (230c958).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4998   +/-   ##
=======================================
  Coverage   85.85%   85.85%           
=======================================
  Files         325      325           
  Lines       35937    35937           
=======================================
+ Hits        30852    30853    +1     
+ Misses       5085     5084    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@BillCarsonFr BillCarsonFr force-pushed the valere/crypto/to_device_encrypt_helper branch from d4c0e90 to c27cdd2 Compare May 2, 2025 15:00
@BillCarsonFr BillCarsonFr force-pushed the valere/crypto/to_device_encrypt_helper branch from c27cdd2 to 2e746c0 Compare May 2, 2025 15:50
@BillCarsonFr BillCarsonFr marked this pull request as ready for review May 6, 2025 08:57
@BillCarsonFr BillCarsonFr requested review from a team as code owners May 6, 2025 08:57
@BillCarsonFr BillCarsonFr requested review from stefanceriu and richvdh and removed request for a team May 6, 2025 08:57
@poljar poljar requested review from poljar and removed request for stefanceriu May 7, 2025 15:05
Copy link
Contributor

@poljar poljar left a comment

Choose a reason for hiding this comment

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

Not reviewed in fully yet, but there's a bit to discuss.

@richvdh richvdh removed their request for review May 8, 2025 15:17
#[cfg(feature = "e2e-encryption")]
pub async fn encrypt_and_send_custom_to_device(
&self,
targets: Vec<&Device>,
Copy link
Contributor

Choose a reason for hiding this comment

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

We call it targets here but devices and , recipient_devices` in other places. Is there potential to make it more consistent or are there other reasons why its different?

Copy link
Contributor

@poljar poljar left a comment

Choose a reason for hiding this comment

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

Alright, did a fuller review, there are some docs that are wrong and I left some nits, but I think this can soon go in as an experimental feature.

@BillCarsonFr
Copy link
Member Author

Alright, did a fuller review, there are some docs that are wrong and I left some nits, but I think this can soon go in as an experimental feature.

Thx for the reviews and comments. I have updated the PR to adress the comments. I also added a changelog entry

@BillCarsonFr BillCarsonFr requested a review from poljar May 19, 2025 09:19
Copy link
Contributor

@poljar poljar left a comment

Choose a reason for hiding this comment

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

One last thing and I think it's good to merge.

@poljar poljar enabled auto-merge (squash) May 19, 2025 11:13
@poljar poljar merged commit 21de891 into main May 19, 2025
43 checks passed
@poljar poljar deleted the valere/crypto/to_device_encrypt_helper branch May 19, 2025 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants