Error thrown when 'table' attribute missing from 'encrypt' config attribute. #74

Closed
opened 2021-04-15 03:59:11 +00:00 by jamie · 3 comments
jamie commented 2021-04-15 03:59:11 +00:00 (Migrated from git.hazaar.io)

If there's a bad DBI encryption config, such as:

{
  "encrypt": {
    "tables": {
      "whatever": true
    }
  }
}

an error will be thrown and nothing will work because the attribute should be named table and we have incorrectly assumed that if encrypt is there, then table will be there too.

If there's a bad DBI encryption config, such as: ```json { "encrypt": { "tables": { "whatever": true } } } ``` an error will be thrown and nothing will work because the attribute should be named `table` and we have incorrectly assumed that if `encrypt` is there, then `table` will be there too.
jamie commented 2022-06-08 03:36:05 +00:00 (Migrated from git.hazaar.io)
created branch [`74-error-thrown-when-table-attribute-missing-from-encrypt-config-attribute`](/hazaar/hazaar-dbi/-/compare/master...74-error-thrown-when-table-attribute-missing-from-encrypt-config-attribute) to address this issue
jamie commented 2022-06-08 03:36:10 +00:00 (Migrated from git.hazaar.io)

mentioned in merge request !50

mentioned in merge request !50
jamie commented 2022-06-08 04:00:21 +00:00 (Migrated from git.hazaar.io)

mentioned in commit d01ed9e479

mentioned in commit d01ed9e4799724badb9c28d600f1648016ce4dcf
jamie (Migrated from git.hazaar.io) closed this issue 2022-06-08 04:00:21 +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/hazaar-dbi#74
No description provided.