Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-1122

Broken x509 authentication connecting to Atlas Proxy

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.2.5, 2.1.0
    • Affects Version/s: None
    • Component/s: None
    • None

      The Rust driver currently checks the response format to the authenticate command to verify the presence of "dbname": "$external"; however, that's not present in the response from the Atlas proxy.

      As a secondary issue, the x509 cert provided by Atlas includes the key in PKCS8 format; the Rust driver only looks for RSA-format keys, and provides a very unhelpful error message (unwrap failure) when none are found.

            Assignee:
            abraham.egnor@mongodb.com Abraham Egnor
            Reporter:
            abraham.egnor@mongodb.com Abraham Egnor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: