# before
$ tctl status
ERROR: your credentials have expired, please login using `tsh login`
# after
$ go run ./tool/tctl status
ERROR: it appears tsh v17 or newer was used to log in, make sure to use tsh and tctl on the same major version
no credentials: user TLS certificate was found at unsupported v17+ path (expected path: /Users/nic/.tsh/keys/one.private/nic-x509.pem, found path: /Users/nic/.tsh/keys/one.private/nic.crt)
exit status 1
This is almost a backport of https://github.com/gravitational/teleport/pull/49305 but it inverts the comparison so that v16 tctl (versions after this merges) has a better error message when trying to read a profile created by tsh v17
This is almost a backport of https://github.com/gravitational/teleport/pull/49305 but it inverts the comparison so that v16 tctl (versions after this merges) has a better error message when trying to read a profile created by tsh v17