[SERVER-60952] Make mongoauditdecrypt exit gracefully on error Created: 22/Oct/21  Updated: 29/Oct/23  Resolved: 02/Nov/21

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

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

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Security 2021-11-15
Participants:
Linked BF Score: 130

 Description   

Currently, the mongoauditdecrypt throws uncaught exceptions when provided an input that could not be decrypted. This results in unnecessary core dumps, and may even cause itself to "hang" on Windows (see BF-23085). These exceptions should be caught and handled appropriately, and the process should exit gracefully with an error code.



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

Author:

{'name': 'Erwin Pe', 'email': 'erwin.pe@mongodb.com', 'username': 'erwee'}

Message: SERVER-60952 Make mongoauditdecrypt exit gracefully on error
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/fcd43de7fca28f83cee3d8858b07eaf1b6b7c7b4

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