[SERVER-33549] Create ASN.1 parser for MongoDBAuthorizationGrants Created: 28/Feb/18  Updated: 29/Oct/23  Resolved: 15/Mar/18

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.7.4

Type: Bug Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 2018-03-26
Participants:

 Description   

The MongoDBAuthorizationGrants X509 certificate extension (OID 1.3.6.1.4.1.34601.2.1.1") is defined as ASN.1:

MongoDBAuthorizationGrants ::= SET OF MongoDBAuthorizationGrant
 
MongoDBAuthorizationGrant ::= CHOICE {
 MongoDBRole,
 ...!UTF8String:"Unrecognized entity in MongoDBAuthorizationGrant"
}
 
MongoDBRole ::= SEQUENCE {
 role     UTF8String,
 database UTF8String
}

Since Windows lacks a good way to parse arbitrary ASN.1, a parser for the above ASN.1 needs to be written. Since we need it on Windows, we also can reuse the same code on other platforms.



 Comments   
Comment by Githook User [ 15/Mar/18 ]

Author:

{'email': 'mark.benvenuto@mongodb.com', 'name': 'Mark Benvenuto', 'username': 'markbenvenuto'}

Message: SERVER-33549 Refactor OpenSSL to use common ASN.1 code and add test
Branch: master
https://github.com/mongodb/mongo/commit/af4a205d76af2f9ae366e723db47e671cb951ab2

Comment by Githook User [ 08/Mar/18 ]

Author:

{'email': 'mark.benvenuto@mongodb.com', 'name': 'Mark Benvenuto', 'username': 'markbenvenuto'}

Message: SERVER-33549 Create ASN.1 parser for MongoDBAuthorizationGrants
Branch: master
https://github.com/mongodb/mongo/commit/b0b654ad5cc88687abfbdfd0b63b94e52ca36c59

Generated at Thu Feb 08 04:33:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.