It occurred that some of the JSON values were merged into a single string instead of multiple values. As a result it wasn't properly calculating the entropy level as well as reporting findings back to the user.
Reproduction
SHOULD NOT return all emails and selectors in a single line. Therefore, it should not be detected as secrets, but it is.
Nested JSON objects should be parsed properly, and not concatenated Object values should be returned. Each object key and value should be a separate string.
Description
It occurred that some of the JSON values were merged into a single string instead of multiple values. As a result it wasn't properly calculating the entropy level as well as reporting findings back to the user.
Reproduction
SHOULD NOT return all emails and selectors in a single line. Therefore, it should not be detected as secrets, but it is.
Expected output
Nested JSON objects should be parsed properly, and not concatenated Object values should be returned. Each object key and value should be a separate string.
References
https://gitter.im/repo-supervisor/Lobby
Environment