Files
teleport/lib
Gus LuxtonandZac Bergquist a4b3248a45 puttyconfig: Switch to string-based Validity format and deprecate MatchHosts (#32598)
* puttyconfig: Switch to string-based Validity format and deprecate MatchHosts

* Switch to more restrictive, reliable parsing

* Add validity string errors to docs

* Remove invalid test case

* Add test case

* Remove any spaces from user-provided input and use sanitized hostname

* Apply fixes from code review

* Tidy up errors, provide consistent detail about which field contains an error

* Disable docs lint for dots in heading

This is needed here, as there are 5 error messages which all start the same way but end differently.

* Catch a few more error cases

* Only delete old MatchHosts key after new Validity key has been written successfully

* Apply suggestions from code review

Co-authored-by: Zac Bergquist <[email protected]>

* Address Zac's comments from code review

---------

Co-authored-by: Zac Bergquist <[email protected]>
2023-10-02 16:09:12 +00:00
..
2023-09-28 22:26:21 +00:00
2023-09-28 22:26:21 +00:00
2023-09-28 22:26:21 +00:00
2023-09-28 22:26:21 +00:00
2023-09-28 22:26:21 +00:00
2023-09-28 22:26:21 +00:00
2022-10-28 20:20:28 +00:00
2022-10-28 20:20:28 +00:00
2022-10-28 20:20:28 +00:00
2017-10-20 10:20:26 +02:00