mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-12 02:15:01 +00:00
* Set Teleport version in SSH clients. Signed-off-by: Chris Thach <[email protected]> * Add more tests. Fix lint. Signed-off-by: Chris Thach <[email protected]> * Fix import. Fix lint exclude. Signed-off-by: Chris Thach <[email protected]> * Fix lint - come on! Signed-off-by: Chris Thach <[email protected]> * Fix race by making a defensive copy. Signed-off-by: Chris Thach <[email protected]> * Use ErrorIs. Signed-off-by: Chris Thach <[email protected]> * Deep clone client conf. Early return for err. Make consistent. Signed-off-by: Chris Thach <[email protected]> * Return new conf if nil. Add trace.Wrap to missing. Signed-off-by: Chris Thach <[email protected]> * Add IsSSHFeatureSupported. Switch from api to api_test for test pack. Make prefix exported const. Signed-off-by: Chris Thach <[email protected]> * Revert accidental commit. Signed-off-by: Chris Thach <[email protected]> * Return sentinel error for older clients or non-teleport clients to improve downstream handling. Signed-off-by: Chris Thach <[email protected]> * Clean up. Co-authored-by: Chris Thach <[email protected]> * Apply suggestions from code review Co-authored-by: Edoardo Spadolini <[email protected]> * Remove defensive check. Signed-off-by: Chris Thach <[email protected]> * Change from trace.BadParam to reg error. Signed-off-by: Chris Thach <[email protected]> * Use strings.Cut and improve readability. Signed-off-by: Chris Thach <[email protected]> * Use error struct. Signed-off-by: Chris Thach <[email protected]> * Add test that errors if ssh.ClientConfig changes. Signed-off-by: Chris Thach <[email protected]> * Move to subpackage. Signed-off-by: Chris Thach <[email protected]> * Use static assertion instead. Signed-off-by: Chris Thach <[email protected]> * Return error if config is nil. Signed-off-by: Chris Thach <[email protected]> * Allow clients to override client version via config. Signed-off-by: Chris Thach <[email protected]> * Fix test because I forgot to update it. Signed-off-by: Chris Thach <[email protected]> * Move assert to test file. Signed-off-by: Chris Thach <[email protected]> * Remove error return val. Signed-off-by: Chris Thach <[email protected]> * Relax parser to allow for more. Signed-off-by: Chris Thach <[email protected]> * Fix lint. Signed-off-by: Chris Thach <[email protected]> * WIP take on a tracessh wrapper. Will fail CI. Signed-off-by: Chris Thach <[email protected]> * Add tests and polish new package. Signed-off-by: Chris Thach <[email protected]> * Revert changes to tracessh. Add lint config. Signed-off-by: Chris Thach <[email protected]> * Revert changes to use tracessh. Signed-off-by: Chris Thach <[email protected]> * Delete extra s. Co-authored-by: Chris Thach <[email protected]> * Apply suggestions from code review. Signed-off-by: Chris Thach <[email protected]> * Add IsEmpty helper methods. Signed-off-by: Chris Thach <[email protected]> * First pass of refactoring. Signed-off-by: Chris Thach <[email protected]> * Second pass refactor. Signed-off-by: Chris Thach <[email protected]> * Third pass refactor. Signed-off-by: Chris Thach <[email protected]> * Fix nil panic. Signed-off-by: Chris Thach <[email protected]> * Fix missing user value. Signed-off-by: Chris Thach <[email protected]> * Fix missing User value. Signed-off-by: Chris Thach <[email protected]> * Remove Get from name. Polish. Signed-off-by: Chris Thach <[email protected]> * Fix incorrect signers for clients. Make changes consistent. Signed-off-by: Chris Thach <[email protected]> * Allow ClientConfig to be empty in proxy config. Signed-off-by: Chris Thach <[email protected]> * Fix eager signers regression in generateClientConfig. Signed-off-by: Chris Thach <[email protected]> * Add edge case for space after prefix. Signed-off-by: Chris Thach <[email protected]> * Fix issues from code review. Signed-off-by: Chris Thach <[email protected]> * Drop suffix. Update comments. Signed-off-by: Chris Thach <[email protected]> * Update ClientConfig docs. Signed-off-by: Chris Thach <[email protected]> * Add warning about using the Teleport version. Signed-off-by: Chris Thach <[email protected]> * Teleport version is mandatory. Signed-off-by: Chris Thach <[email protected]> * Revert timeout to make Claude/Codex happy. Signed-off-by: Chris Thach <[email protected]> * Remove alias in places that didn't need it. Revert lib/cloud/gcp/alloydb.go. Signed-off-by: Chris Thach <[email protected]> * Add wrapper for tracessh.Client. Signed-off-by: Chris Thach <[email protected]> * Add tests for generate client config. Signed-off-by: Chris Thach <[email protected]> * Drop config from field name to shorten. Signed-off-by: Chris Thach <[email protected]> * Fix lint issues. Signed-off-by: Chris Thach <[email protected]> --------- Signed-off-by: Chris Thach <[email protected]> Co-authored-by: Edoardo Spadolini <[email protected]>