[SERVER-38900] Implement JSON Schema parsing for "encrypt" Created: 08/Jan/19 Updated: 29/Oct/23 Resolved: 25/Jan/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.8 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Nicholas Zolnierz | Assignee: | Vlad Rachev (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Sprint: | Query 2019-01-14, Query 2019-01-28, Query 2019-02-11 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Description |
|
| Comments |
| Comment by David Storch [ 10/Jul/19 ] |
|
ravind.kumar, sorry about the confusion, and happy to field any further questions you may have! +1 to making sure that encryptMetadata is documented in the manual.
Hopefully I cleared this up in our discussion on another ticket. Let me know if you see any other discrepancies like this. |
| Comment by Nicholas Zolnierz [ 09/Jul/19 ] |
|
Sorry about that, I've marked |
| Comment by Ravind Kumar (Inactive) [ 09/Jul/19 ] |
|
That's what I was looking for - since The link I think covers the full spec, including both auto encryption and explicit encryption. It is indeed a little awkward to depend wholly on the manual for defining encrypt/encryptMetadata, as there are discrepancies between the various available documents (eg.. bsonType is marked as a string|array of strings in one doc, but afaik it only supports a single bsonType). Happy to discuss offline. Can someone set |
| Comment by Nicholas Zolnierz [ 09/Jul/19 ] |
|
ravind.kumar I haven't gone through the driver spec in detail, but I suspect the link you gave is for explicit encryption? In that case, encryptMetadata is not relevant as there's no JSON Schema involved. It appears as though the JSON Schema section does only mention encrypt, which is a little awkward but OK because it then references the manual for more details? As for the commit, this ticket was specifically for encrypt and |
| Comment by Githook User [ 25/Jan/19 ] |
|
Author: {'email': 'vlad.rachev@mongodb.com', 'name': 'vrachev'}Message: |