Skip to content

cfgit 0.6.7

Latest

Choose a tag to compare

@AusafMo AusafMo released this 30 Nov 09:23
9025713

cfgit 0.6.7

A fix for secrets inside lists.

  • secret_fields and ignore_paths reach into lists of sub-documents. endpoints[].auth.api_key is auth.api_key in every element of endpoints, and a trailing [] names the list itself. These are the paths the secret refusal and cfg doctor already printed. Before, such a path stripped nothing, so pasting it left the record refused.
  • Writes stay whole. On commit, restore, import and promote, the live value comes back in each element wherever the payload has none. A list element is never invented.
  • Paths without [] behave as before.

Nothing to change when upgrading.