connectwise-manage-v0.1.7
·
16 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Fixed
- Credentials supplied through the environment were written to disk in cleartext. This CLI
authenticates with a composite HTTP Basic credential -CW_COMPANY_IDplusCW_PUBLIC_KEY
as the username,CW_PRIVATE_KEYas the password,CW_CLIENT_IDas a header - and every one
of those is also a persisted config field, with the composedAuthorization: Basic ...
header persisted too. Any command that saved the config wrote whatever it had picked up from
those variables into the config file in cleartext, and wrote the private key a second time
base64-encoded under[headers] Authorization.auth logoutwas the worst case: it saves
unconditionally, so logging out could CREATE a plaintext credential file where none had
existed. The save path now restores the config file's own value for any credential that came
from the environment. If you have ever run this CLI with those variables set, a cleartext
copy may already be on disk. Upgrading does not remove it, and neither doesauth logout-
it clearsclient_idand the token fields and reportsConfig cleared., but leaves
company_id,public_key,private_keyand the[headers] Authorizationline untouched.
Delete the file and rotate the API member's keys.
Changed
- Install and remote-agent documentation corrected against the shipped binaries. The remote
section namedmcp-remote, which bridges the opposite direction and cannot publish a local
stdio server at all; connectors that parse--transport httpnow point at the native flag
and the rest atsupergateway. The HTTP endpoint is/mcp, not the bare root the docs gave.
The Windows install path and a fallback paragraph describing annpxinstall that is not
offered were both wrong and are gone. A newcheck_install_docsgate holds these claims
against the binaries and installers so they cannot drift again.