Skip to content
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

RUST-569 Client Side Field Level Encryption Support #520

Closed
usefulalgorithm opened this issue Nov 12, 2021 · 8 comments
Closed

RUST-569 Client Side Field Level Encryption Support #520

usefulalgorithm opened this issue Nov 12, 2021 · 8 comments
Labels
tracked-in-jira Ticket filed in Mongo's Jira system

Comments

@usefulalgorithm
Copy link

Hi, is the encryption feature present in the driver? Looked at the docs and it seemed the Rust driver does not support encryption (both automatic and explicit) for the time being...

Thanks!

@kmahar
Copy link
Contributor

kmahar commented Nov 12, 2021

Hi @usefulalgorithm, you are correct that we don't currently support this in the driver. The Jira ticket to track this work is: https://jira.mongodb.org/browse/RUST-119

@bajanam bajanam added the tracked-in-jira Ticket filed in Mongo's Jira system label Nov 15, 2021
@bajanam bajanam changed the title encryption support Client Side Field Level Encryption Support Nov 15, 2021
@patrickfreed patrickfreed changed the title Client Side Field Level Encryption Support RUST-119 Client Side Field Level Encryption Support Feb 8, 2022
@LuisOsta
Copy link
Contributor

LuisOsta commented Aug 9, 2022

@kmahar The ticket you posted there is closed https://jira.mongodb.org/browse/RUST-119. But it doesn't seem that Client FLE support has been added - https://www.mongodb.com/docs/manual/core/csfle/reference/compatibility/#std-label-csfle-compatibility-reference. Is this going to be released yet?

@kmahar
Copy link
Contributor

kmahar commented Aug 10, 2022

Hi @LuisOsta, sorry for the unclear Jira trail. We closed RUST-119 as a duplicate in favor of an epic with more granular tickets tracking all of the pieces of work involved, RUST-569. I'll update the issue title here to reflect the new ticket number.

We're actively working through implementing CSFLE and queryable encryption support right now (#717 is the latest PR). It's quite a large effort and so I can't provide an exact ETA at this time, but it should be released sometime in the coming months.

@kmahar kmahar changed the title RUST-119 Client Side Field Level Encryption Support RUST-569 Client Side Field Level Encryption Support Aug 10, 2022
@LuisOsta
Copy link
Contributor

Thank you for the update! I completely understand that CSFLE is a really large endeavor and I really appreciate the updates. I'll be excited for whenever the features are available in a future release.

@LuisOsta
Copy link
Contributor

LuisOsta commented Mar 8, 2023

@kmahar Congrats on the 2.4 release!! I saw that in the release notes https://github.com/mongodb/mongo-rust-driver/releases, it says that the encryption functionality is released and will be unstable for the time being. So y'all have a sense of when it'd be stabilized?

And would you want to close this issue now since its released or wait until its stable and generally usable?

@JamesKovacs
Copy link

Hi, @LuisOsta,

Thank you for reaching out to clarify. The API for Field-Level Encryption (FLE) is stable and has been present in our other drivers for years. The API for Queryable Encryption (QE) is new and the server functionality is in public technical preview. Based on feedback during the public technical preview, we may decide to make backward-breaking changes to improve security, usability, or performance that could necessitate API changes in our drivers. If this occurs, we will open one or more new RUST tickets to address the changes.

In summary the FLE API is stable, but the QE API is not due to possible changes in the server before its general availability (GA) release. I've closed this GH Issue since RUST-569 has been closed as fixed. If you have additional questions, please don't hesitate to continue the discussion here.

Sincerely,
James

@LuisOsta
Copy link
Contributor

LuisOsta commented Mar 9, 2023

@JamesKovacs Thanks for the clarification! Since the FLE one is stable, would it be possible to not put that in the unstable feature? In https://mongodb.github.io/mongo-rust-driver/manual/encryption.html it mentions that in order to use either you have to enable the unstable in-use encryption feature

@masterbater
Copy link

Hi, @LuisOsta,

Thank you for reaching out to clarify. The API for Field-Level Encryption (FLE) is stable and has been present in our other drivers for years. The API for Queryable Encryption (QE) is new and the server functionality is in public technical preview. Based on feedback during the public technical preview, we may decide to make backward-breaking changes to improve security, usability, or performance that could necessitate API changes in our drivers. If this occurs, we will open one or more new RUST tickets to address the changes.

In summary the FLE API is stable, but the QE API is not due to possible changes in the server before its general availability (GA) release. I've closed this GH Issue since RUST-569 has been closed as fixed. If you have additional questions, please don't hesitate to continue the discussion here.

Sincerely, James

If this already GA, is it possible if you work with prisma to support this feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tracked-in-jira Ticket filed in Mongo's Jira system
Projects
None yet
Development

No branches or pull requests

6 participants