Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | Think we need pytest.ini in the sdist now if its tests are to work when ↵ | Jeff Forcier | |
distributed | |||
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 AgentKey with comment, inner_key attributes | Jeff Forcier | |
- Comment was being read-but-not-stored from the agent reply. wat? - Use newly added PKey constructor to instantiate a key subclass for the 'inner'/proxied key, this way client code can obtain stuff like bit size, fingerprint, etc. - Proxy to inner_key with __getattr__ so clients don't have to know whether they're dealing with an AgentKey or a regular one - Add `__repr__` to PKey instead of doing it in AgentKey. (wow, how did we not have this ever?) | |||
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 | Fix inaccurate PKey.__init__ docstring: data is bytes, not str | Jeff Forcier | |
This seems likely a missed spot from the Python 3 conversion or the Python 2 drop. | |||
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-05-05 | Random comment adds | Jeff Forcier | |
2023-04-16 | Tinker a bit with tasks re: doc watching, doc browsing | Jeff Forcier | |
Requires an inflight set of changes to invocations | |||
2023-04-12 | Version bump for dev | Jeff Forcier | |
2023-04-12 | Merge branch '3.0' into 3.1 | Jeff Forcier | |
2023-04-12 | Use newer circleci orb to stop using codecov's old pypi package | Jeff Forcier | |
Closes #2226 | |||
2023-03-10 | Cut 3.1.0 | Jeff Forcier | |
2023-03-10 | codespell | Jeff Forcier | |
2023-03-10 | Changelog re #2013, closes #2009 | Jeff Forcier | |
2023-03-10 | Merge branch 'main' into 2013-int | Jeff Forcier | |
2023-03-03 | flake8 re #2193 | Jeff Forcier | |
2023-03-03 | Merge pull request #2193 from AstraLuma/server-agent-docs | Jeff Forcier | |
Expand documentation on server agent handling. | |||
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-03-02 | Add timeout for opening an SSH channel | vakarisz | |
2023-02-24 | Expand documentation on server agent handling. | Jamie Bliss | |
2023-02-24 | Use releases 2.1 to hide 1.x, 2.x unreleased bits in changelog | Jeff Forcier | |
2023-02-24 | s/os.path/pathlib/ in www sphinx conf | Jeff Forcier | |
2023-02-16 | Add credit in changelog re #2173 | Jeff Forcier | |
2023-02-16 | spacing to pass style check | Alex Chavkin | |
2023-02-16 | Update tests for #2173 | Alex Chavkin | |
2023-02-16 | hostkeys: update docstring for autdodoc per #2173 | Alex Chavkin | |
2023-02-16 | Changelog for PR #2173 | Alex Chavkin | |
2023-02-16 | Double quotes to pass style check | Alex Chavkin | |
2023-02-16 | Split known_hosts fields on either a single space or tab | Alex Chavkin | |
2023-02-16 | Split known host file entries on any whitespace | Alex Chavkin | |
(Not just a single space) OpenSSH is more permissive in documentation and code | |||
2023-01-27 | Add codespell to dev-reqs, circleci | Jeff Forcier | |
2023-01-27 | Comment codespellrc again, add Messr Flage back to ignored words list | Jeff Forcier | |
Really wish codespell had inline ignores like flake/black | |||
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 | Changelog re #2178 | Jeff Forcier | |
2023-01-27 | Tweak silly test constant to be a real word | Jeff Forcier | |
2023-01-27 | Tidy up codespellrc, revert s/keypair/key pair/ | Jeff Forcier | |