I have downloaded the libmongocrypt (for Client-Side field level encryption) zip file for windows using the link given on the Link page. I am trying to figure out what to do after the download. How to install it on the system?
Can anyone help me?
Yes doc does not give any steps for Windows.It must be a simple install of that dll
Did you try to unzip/extract that downloaded file?
I think it creates a directory and extracts the file under whichever path you saved it
After install you have to update your path and run test as per steps in the doc
I did unzip the file. It contains 2 folders - bin and includes. The content of these folders are uploaded in the links below:
It is still not clear to me how do I install the library using these contents.
Nothing, in the case of installation in windows, is given in the docs as well.
Can you give me step by step instructions to do so?
Thanks.
Sorry I don’t have detailed steps
May be you have to write c program to call this include file?
Welcome to the MongoDB Community @Kartik_Saini1 !
Can you provide more details on what you are trying to do:
- version of MongoDB server
- version of MongoDB driver
Based on the documentation link you referenced, I assume you may be trying to use the preview of Queryable Encryption. If so, you will need to meet all of the Queryable Encryption Installation Requirements.
Regards,
Stennie
I am trying to implement client-side field level encryption using a windows OS. I have already downloaded libmongocrypt zip file for windows 11 (from the Link) and unzipped it. I do not know how to install the libmongocrypt package from that extracted folder.
I have same questions for the libmongocrypt usage on the windows. The MongoDB document and support doesn’t help me at all. However, in the source code, I found the usage at: mongo-go-driver/x/mongo/driver/mongocrypt/mongocrypt.go at master · mongodb/mongo-go-driver · GitHub.
From the code description, you need to copy mongocrypt.dll to the path C:\libmongocrypt\bin and copy *.h files to path C:\libmongocrypt\include. You could run your code with golang. If you use other languages, you could include it directly. It is two years after your questions, maybe you didn’t need it. Hope the answer could help others.
New & Unread Topics
Topic | Replies | Views | Activity |
---|---|---|---|
how to mitigate vulnerability in MongoDB community version | 1 | 570 | May 2024 |
Installation Error while installing on WIndows 10 | 1 | 633 | Aug 2024 |
Cannot activate ssl/tls in community server | 1 | 154 | Aug 2024 |
the home-brew Formula mongodb-database-tools.rb needs to be updated to 100.10.0 | 0 | 26 | Nov 2024 |
What’s the recommended MongoDB version among v5, v6 and v7? | 1 | 229 | Dec 2024 |