summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2023-05-25Forgot to mark a 3.2 bug majorJeff Forcier
2023-05-25No more GPG on PyPIJeff Forcier
2023-05-25Cut 3.2.0Jeff Forcier
2023-05-25blackenJeff Forcier
2023-05-25Re-run regular Transport test suite with new experimental subclass tooJeff Forcier
2023-05-25Test rest of new/modified PKey membersJeff Forcier
Includes more migrations from test_pkey to pkey
2023-05-24TODOs for laterJeff Forcier
2023-05-24Changelog enhancements for recent workJeff Forcier
2023-05-24Test PKey.from_path's use of expanduserJeff Forcier
This blows up poorly when expanduser is not in use, but eh.
2023-05-24Docstring tweakJeff Forcier
2023-05-24test-related TODOJeff Forcier
2023-05-24TODO/tweak to PKey.__repr__Jeff Forcier
2023-05-24More spelingJeff Forcier
2023-05-24AuthStrategy get_sources doesn't need transport arg anymoreJeff Forcier
2023-05-24Fix a couple minor-but-critical Agent issues wrt SHA2 + certsJeff Forcier
2023-05-22py37 todoJeff Forcier
2023-05-22Test AuthStrategy itselfJeff Forcier
2023-05-22Test AuthFailureJeff Forcier
2023-05-22Test AuthResultJeff Forcier
2023-05-22SpelingJeff Forcier
2023-05-22Test existing AuthSource class treeJeff Forcier
Includes relevant tweaks to assorted classes
2023-05-22Start testing AuthStrategyJeff Forcier
Plus! - Document AuthStrategy and AuthHandler modules (latter never had docs? lol) - Minor tweaks to these modules' docstrings etc - Stop comparing to __all__ in __init__.py, ugh
2023-05-22Docstring tweak, import sortJeff Forcier
2023-05-22Fix up dangling refs to aborted new docJeff Forcier
2023-05-22AuthStrategy TODOs for next feature updateJeff Forcier
2023-05-18Overhaul README rfc links footnote to refer to opensshJeff Forcier
2023-05-18Changelog entry for signature algorithm fallback change re #2012, re #1961Jeff Forcier
2023-05-18Test AgentKey.asbytesJeff Forcier
Plus related twiddling of test key files
2023-05-18Test more of recent AgentKey additionsJeff 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-18Implement _fields on AgentKey so __eq__ works correctlyJeff Forcier
2023-05-18Sick of the warnings about this and don't use it myselfJeff Forcier
2023-05-18Use new Invocations combo check taskJeff Forcier
2023-05-18Partial implementation of new AuthStrategy mechanism re #387Jeff Forcier
2023-05-18Made PKey.from_path cert-aware & tilde-friendlyJeff 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-18Migrate cert related tests to newer pkey moduleJeff 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-18Twiddle RSA signature algorithm fallback behavior in AuthOnlyHandlerJeff Forcier
Also includes more rearranging of AuthHandler related tests
2023-05-18Modernize auth tests to use shared server managerJeff 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-05Start consolidating test server nonsenseJeff Forcier
2023-05-05Start using git-blame-ignore-revsJeff Forcier
This file location/name is a GitHub-honored convention, and I've set up my local clone with `git config blame.ignoreRevsFile .git-blame-ignore-revs` to match.
2023-05-05Allow transport tests' server to specify which class to useJeff Forcier
2023-05-05Refactor pubkey algo fallbackJeff Forcier
2023-05-05Test proving the issue driving most use of disabled_algorithmsJeff Forcier
Phrased in a it-passes-now fashion, but once fixed in main code path, will need changing of course.
2023-05-05Comment updatesJeff Forcier
2023-05-05Think we need pytest.ini in the sdist now if its tests are to work when ↵Jeff Forcier
distributed
2023-05-05Enhance PKey.from_path and test it betterJeff Forcier
2023-05-05Migrate rest of main keys and update suite to be more pytest-relaxed compatJeff 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-05Start moving key fixtures into support folderJeff Forcier
2023-05-05Opt-in overhaul to how MSG_SERVICE_REQUEST is doneJeff 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-05Enhance AgentKey with comment, inner_key attributesJeff 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-05Enhance PKey a bunchJeff 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