Hide encrypted config elements from error/trace output #213

Closed
opened 2020-11-24 03:47:12 +00:00 by jamie · 3 comments
jamie commented 2020-11-24 03:47:12 +00:00 (Migrated from git.hazaar.io)

For debugging, when we output an error we also display the current configuration for convenience. This is a potential security issue if the developer/ops manager does not disable debugging in a production environment. We could just say "tough, just turn it off", which is kinda what I have been doing, but I had the idea to internally flag configuration elements loaded from an encrypted include file and just not output those elements, just in case debugging is left on.

For debugging, when we output an error we also display the current configuration for convenience. This is a potential security issue if the developer/ops manager does not disable debugging in a production environment. We could just say "tough, just turn it off", which is kinda what I have been doing, but I had the idea to internally flag configuration elements loaded from an encrypted include file and just not output those elements, just in case debugging is left on.
jamie commented 2021-03-13 00:47:45 +00:00 (Migrated from git.hazaar.io)

mentioned in merge request !122

mentioned in merge request !122
jamie commented 2021-03-13 00:47:45 +00:00 (Migrated from git.hazaar.io)

created merge request !122 to address this issue

created merge request !122 to address this issue
jamie commented 2021-03-13 01:35:46 +00:00 (Migrated from git.hazaar.io)

mentioned in commit 41f38de90489e31d365026e1bfaf35635b8dfdfc

mentioned in commit 41f38de90489e31d365026e1bfaf35635b8dfdfc
jamie (Migrated from git.hazaar.io) closed this issue 2021-03-13 01:35:46 +00:00
jamie self-assigned this 2025-09-04 01:15:28 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: hazaar/framework#213
No description provided.