[MONGOCRYPT-352] Add default ports to endpoints Created: 25/Oct/21  Updated: 28/Oct/23  Resolved: 28/Oct/21

Status: Closed
Project: Libmongocrypt
Component/s: None
Affects Version/s: None
Fix Version/s: 1.3.0

Type: Improvement Priority: Major - P3
Reporter: Kevin Albertson Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

If the port is not included in the KMS providers kmip.endpoint and masterKey.endpoint, apply a defaults in libmongocrypt.

For HTTPS endpoints, use "443" as the default port. This consists of all endpoints for AWS, Azure, and GCP.

For KMIP endpoints, use "5696" as the default port. 5696 is the IANA Port Number for KMIP services.



 Comments   
Comment by Githook User [ 02/Nov/21 ]

Author:

{'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}

Message: MONGOCRYPT-352 Update TestMongoCrypt to expect AWS KMS hostname with port. (#786)
Branch: release/1.7
https://github.com/mongodb/mongo-go-driver/commit/27280bd49320279ff24a2f54a8af135e304b1826

Comment by Githook User [ 01/Nov/21 ]

Author:

{'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}

Message: MONGOCRYPT-352 Update TestMongoCrypt to expect AWS KMS hostname with port. (#786)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/28ac11a3a20b56aff2b8bd54d72e70f5e694616b

Comment by Githook User [ 28/Oct/21 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: MONGOCRYPT-352 apply default ports in KMS contexts. (#208)
Branch: master
https://github.com/mongodb/libmongocrypt/commit/07655598b8478f457a252ab955a6a8299fe17575

Comment by Kevin Albertson [ 27/Oct/21 ]

PR: https://github.com/mongodb/libmongocrypt/pull/208

Generated at Thu Feb 08 09:08:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.