Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-05-18 | Test more of recent AgentKey additions | Jeff Forcier | |
Migrate rest of existing agent tests to new module Also make them better. Also fix AttributeError raising to not be py3.10 specific | |||
2023-05-18 | Implement _fields on AgentKey so __eq__ works correctly | Jeff Forcier | |
2023-05-18 | Made PKey.from_path cert-aware & tilde-friendly | Jeff Forcier | |
This was previously only done in SSHClient. It's not relevant for from_type_string which is aimed at ssh-agents, which tend to do their own cert loading where necessary | |||
2023-05-18 | Migrate cert related tests to newer pkey module | Jeff Forcier | |
- Merge them but also break them up. It's complicated. - Move cert files into _support - Related comments in the source as some of this is non-intuitive | |||
2023-05-18 | Twiddle RSA signature algorithm fallback behavior in AuthOnlyHandler | Jeff Forcier | |
Also includes more rearranging of AuthHandler related tests | |||
2023-05-18 | Modernize auth tests to use shared server manager | Jeff Forcier | |
Also move auth tests to be new style filename, obj naming Also allow test task module selector to see new-style test modules | |||
2023-05-05 | Start consolidating test server nonsense | Jeff Forcier | |
2023-05-05 | Allow transport tests' server to specify which class to use | Jeff Forcier | |
2023-05-05 | Test proving the issue driving most use of disabled_algorithms | Jeff Forcier | |
Phrased in a it-passes-now fashion, but once fixed in main code path, will need changing of course. | |||
2023-05-05 | Comment updates | Jeff Forcier | |
2023-05-05 | Enhance PKey.from_path and test it better | Jeff Forcier | |
2023-05-05 | Migrate rest of main keys and update suite to be more pytest-relaxed compat | Jeff Forcier | |
Main branch as of today: 350 passed, 21 skipped, 52 deselected, 3 warnings in 11.10s This branch as of this commit: 361 passed, 21 skipped, 52 deselected, 3 warnings in 10.51s Of those 11 "new" tests, 8 are ones I wrote (tests/pkey.py). Hard to figure out what the other 3 are given pytest-relaxed's output is very different from regular verbose pytest. oops. | |||
2023-05-05 | Start moving key fixtures into support folder | Jeff Forcier | |
2023-05-05 | Opt-in overhaul to how MSG_SERVICE_REQUEST is done | Jeff Forcier | |
- New subclass(es) for opt-in use. Most below messages refer to them, not parent classes. - In parent classes, make handler tables instance attributes for easier subclass twiddling. - Refactor Transport-level session check - Refactor Transport-level auth handler instantiation (but keep behavior the same, for now) - Add service-request handler to Transport subclass, and remove from AuthHandler subclass - Remove manual event injection from the handful of Transport auth methods which supported it. Suspect unused, don't need the extra complexity, and wasn't consistent anyways - can add back smarter later if anyone needs it. - Not bothering with gssapi at all for now as I cannot easily test it - Primarily tested against the new AuthStrategy architecture | |||
2023-05-05 | Enhance PKey a bunch | Jeff Forcier | |
- add .name to eventually replace .get_name - use that in a bunch of spots to avoid some duplication - add .identifiers classmethod to extend existing idea from ECDSAKey - add from_type_string alt constructor which uses .identifiers - use that in HostKeys (includes hopefully-minor refactoring) - no longer giving outdated init kwarg to ECDSA host key loading | |||
2023-05-05 | Remove outdated/bad test fixture | Jeff Forcier | |
This was added for #2173 but seemingly in its initial pass, before the submitter realized two spaces is _not_ a valid separator. It accidentally passed the tests due to how HostKeys.from_line was implemented at the time (two spaces -> 'key type' was misread and an empty string -> empty string not a valid key type -> returns None). An impending rewrite of that method turned this up. | |||
2023-05-05 | Add ed25519 and ecdsa key types to hostkeys test fixtures | Jeff Forcier | |
2023-05-05 | Add algorithm_name property to PKey | Jeff Forcier | |
2023-05-05 | Add new PKey.fingerprint property at long last | Jeff Forcier | |
2023-05-05 | Fix now-broken-on-py3 AgentKey.__str__, by deleting it | Jeff Forcier | |
2023-03-10 | Merge branch 'main' into 2013-int | Jeff Forcier | |
2023-03-02 | Add missing comma to pass style checks | Mike Salvatore | |
2023-03-02 | Use a lambda for _mock_set_remote_channel() | Mike Salvatore | |
2023-03-02 | Wrap test_channel_timeout() to 79 characters | Mike Salvatore | |
2023-03-02 | Test configurable channel timeout | Ilija Lazoroski | |
2023-02-16 | spacing to pass style check | Alex Chavkin | |
2023-02-16 | Update tests for #2173 | Alex Chavkin | |
2023-01-27 | Just change a faux-misspelt surname in an example text snippet | Jeff Forcier | |
2023-01-27 | Twiddle File test to lack faux-misspellings in its cut-up strings | Jeff Forcier | |
2023-01-27 | Twiddle ProxyCommand read test to not have faux misspellings, and to be way ↵ | Jeff Forcier | |
more understandable | |||
2023-01-27 | Tweak silly test constant to be a real word | Jeff Forcier | |
2023-01-27 | Revert "RF test to use "12345" and "to" instead of misspelling components" | Jeff Forcier | |
This reverts commit 5efa354ce9fff1217d22e52493d1442866821a7b. | |||
2023-01-24 | [DATALAD RUNCMD] Run codespell -w | Yaroslav Halchenko | |
=== Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ | |||
2023-01-24 | RF test to use "12345" and "to" instead of misspelling components | Yaroslav Halchenko | |
to not upset codespell | |||
2023-01-16 | Nuke retry_on_signal, pointless on modern Py3 | Jeff Forcier | |
Additionally, other bits of code that retry EINTR can similarly just go away. | |||
2023-01-16 | Stop stripping ProxyCommand none, make it None | Jeff Forcier | |
Also apparently the old, old test for this had the wrong issue number in it :( | |||
2023-01-16 | flake8 | Jeff Forcier | |
2023-01-16 | Nuke now extraneous chmod | Jeff Forcier | |
2023-01-16 | blacken | Jeff Forcier | |
2023-01-16 | well that's just super()! | Jeff Forcier | |
2023-01-16 | No more (object)ions | Jeff Forcier | |
2023-01-16 | s/%/fstrings/g | Jeff Forcier | |
Except in one spot where it was too complicated to bother for now XD | |||
2023-01-16 | Twiddle a test to not shadow hex builtin (and nuke %) | Jeff Forcier | |
2023-01-12 | Swap around __bytes__/__str__ for some classes | Jeff Forcier | |
Plus related updates to tests, docstrings, changelog | |||
2023-01-12 | We live in the future now | Jeff Forcier | |
2023-01-12 | Update a bunch of no/low impact python2/3 references/comments | Jeff Forcier | |
2023-01-11 | flake8 | Jeff Forcier | |
2023-01-11 | blacken | Jeff Forcier | |
2023-01-11 | Missed a spot re: b,u helpers now in util | Jeff Forcier | |
2023-01-11 | No idea when self.fail worked or didn't. old code is old? | Jeff Forcier | |