Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-3077

Driver fails to load libmongocrypt 1.5.2 which misidentifies itself as development build

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Blocker - P1 Blocker - P1
    • 2.18.1
    • Affects Version/s: 2.18.0
    • Component/s: None
    • None
    • Fully Compatible

      Latest version of libmongocrypt (1.5.2) reports its version as "1.5.3-dev+20220730git8f8675fa11". This string cannot be parsed as a version by Ruby Gem version parser.

      The driver has a version check for the minimum required libmongocrypt version; this check fails with the above development version advertised by lmc 1.5.2. Therefore, libmongocrypt cannot be loaded, and FLE won't work.

      We need to manually parse libmongocrypt version to handle these development version numbers.

            Assignee:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Reporter:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: