Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-2103

Allow applications to detect crypt_shared availability

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.15.0
    • Affects Version/s: 1.14.0-beta1
    • Component/s: None
    • None

      Related to: Detecting crypt_shared Availability in the CSFLE spec.

      This depends on libmongoc providing some API to do so (see: CDRIVER-4414).

      Since only one instance of the crypt_shared library should be loaded at any given time, it should be possible to report this via phpinfo() (as we do for libmongoc and libmongocrypt versions) by querying the internal client or Manager registry. If we're concerned about objects being removed from the registry (e.g. Manager using a non-persistent client), we could implement some sort of caching to check for crypt_shared after constructing a Manager and recording that in some internal global for the duration of the process.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: