Skip to content

Feature Queryable Encryption #2779

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

Open
wants to merge 6 commits into
base: 2.12.x
Choose a base branch
from
Open

Conversation

GromNaN
Copy link
Member

@GromNaN GromNaN commented Jun 12, 2025

* Add test document classes from tutorial

https://github.com/mongodb/docs/blob/master/source/includes/qe-tutorials/node/queryable-encryption-tutorial.js

* Create encryption field map

* Create encrypted collection

* Use promoted properties for encrypted document tests

* Revert changes in BaseTestCase

* Rename EncryptionFieldMapTest

* Create Configuration::getDriverOptions() to create the client

* Support class-level #[Encrypt] attribute

* Skip QE tests on non-supported server configuration

* Add documentation on #[Encrypt] attribute

* Add XML mapping for "encrypt" tag

* Create specific xsd type for embedded documents to enable <encrypt> tag

* Fix import class Throwable

* Fix access to $version property before initialization

* Use an enum for query type

* Make getClientEncryption internal

* Improve type of min/max bounds for range queries

* Use getWriteOptions with createEncryptedCollection

* Use random local master key

* Add assertion on non-decrypted data

* Ignore all DOCTRINE_MONGODB_DATABASE phpstan errors

* Baseline phpstan

* Fix CS and skip phpstan issues
@GromNaN GromNaN changed the base branch from 2.11.x to 2.12.x June 12, 2025 13:18
@GromNaN GromNaN marked this pull request as ready for review June 30, 2025 16:39
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.

2 participants