Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow munge_key_content to be provided as Binary type data
Munge key is binary data, and should be serialised into the catalog as such. Passing the key content in as a string may cause catalog serialisation to fall back to PSON instead of JSON. When the catalog is serialised in PSON, binary data may be converted to base64, which leads to the encoded form of the secret being written to the key file on disk. If this happens, cluster authentication will fail due to nodes having different key file contents. This change allows the key content to be passed in as Binary in addition to the previous allowed String.
- Loading branch information