You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
On MacOS/M3, the command pygmy status prints a special character at the front of the SSH keys check:
That special character makes the whole output not text-only and may cause errors if pipelined to other commands such as tr:
$ pygmy status | tr -d '\000'
[*] amazeeio-mailhog: Running as container amazeeio-mailhog
[*] amazeeio-haproxy: Running as container amazeeio-haproxy
[*] amazeeio-dnsmasq: Running as container amazeeio-dnsmasq
[*] amazeeio-ssh-agent: Running as container amazeeio-ssh-agent
[*] Resolv MacOS Resolver is properly connected
tr: Illegal byte sequence
The hexa code for that special character is \x01000000000000.
If I run the command ssh-add -l directly in the amazeeio-ssh-agent container, there is no special character in the output.
…and (#506)
* Update the status reporting mechanism to support json output
Signed-off-by: Karl Hepworth <karl.hepworth@gmail.com>
* goimports
Signed-off-by: Karl Hepworth <karl.hepworth@gmail.com>
* Fix linting
Signed-off-by: Karl Hepworth <karl.hepworth@gmail.com>
* Re-work the structure a little to allow for more precise jq work, and add tests
Signed-off-by: Karl Hepworth <karl.hepworth@gmail.com>
* adjust json tests
Signed-off-by: Karl Hepworth <karl.hepworth@gmail.com>
* url list building fixes - catch more
Signed-off-by: Karl Hepworth <karl.hepworth@gmail.com>
* linting
Signed-off-by: Karl Hepworth <karl.hepworth@gmail.com>
* grep -v not running to get correct test error codes
Signed-off-by: Karl Hepworth <karl.hepworth@gmail.com>
* more structural refinements
Signed-off-by: Karl Hepworth <karl.hepworth@gmail.com>
---------
Signed-off-by: Karl Hepworth <karl.hepworth@gmail.com>
Describe the bug
On MacOS/M3, the command
pygmy status
prints a special character at the front of the SSH keys check:That special character makes the whole output not text-only and may cause errors if pipelined to other commands such as
tr
:The hexa code for that special character is
\x01000000000000
.If I run the command
ssh-add -l
directly in theamazeeio-ssh-agent
container, there is no special character in the output.Exported configuration
The text was updated successfully, but these errors were encountered: