Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2023-01-27 | Revert "RF test to use "12345" and "to" instead of misspelling components" | Jeff Forcier | |
This reverts commit 5efa354ce9fff1217d22e52493d1442866821a7b. | |||
2023-01-25 | From the code review - fix wording in .codespellrc comment | Yaroslav Halchenko | |
Co-authored-by: Brian Skinn <brian.skinn@gmail.com> | |||
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-24 | Basic codespell config file to skip common culprits | Yaroslav Halchenko | |
2023-01-24 | Harmonize into *args from *larg, *largs | Yaroslav Halchenko | |
Initially spotted since 'larg' was picked up by codespell as something possibly to fix to become 'large'. But realized that it is just an inconsistency. Had various uses: ❯ git grep '\*arg\>' | nl 1 paramiko/sftp_client.py: def _request(self, t, *arg): 2 paramiko/sftp_client.py: num = self._async_request(type(None), t, *arg) 3 paramiko/sftp_client.py: def _async_request(self, fileobj, t, *arg): 4 paramiko/sftp_server.py: def _response(self, request_number, t, *arg): ❯ git grep '\*largs\>' | nl 1 paramiko/sftp_server.py: *largs, 2 paramiko/sftp_server.py: self.server = sftp_si(server, *largs, **kwargs) 3 paramiko/sftp_si.py: def __init__(self, server, *largs, **kwargs): 4 paramiko/sftp_si.py: super().__init__(*largs, **kwargs) ❯ git grep '\*larg\>' | nl 1 paramiko/server.py: handler = handler_class(channel, name, self, *larg, **kwarg) 2 paramiko/transport.py: def set_subsystem_handler(self, name, handler, *larg, **kwarg): in addition to more conventional ❯ git grep '\*args\>' | nl 1 paramiko/_winapi.py: super().__init__(*args) 2 paramiko/_winapi.py: def __init__(self, *args, **kwargs): 3 paramiko/_winapi.py: super().__init__(*args, **kwargs) 4 paramiko/auth_handler.py: def _log(self, *args): 5 paramiko/auth_handler.py: return self.transport._log(*args) 6 paramiko/channel.py: def _check(self, *args, **kwds): 7 paramiko/channel.py: return func(self, *args, **kwds) 8 paramiko/channel.py: def _log(self, level, msg, *args): 9 paramiko/channel.py: self.logger.log(level, "[chan " + self._name + "] " + msg, *args) 10 paramiko/sftp.py: def _log(self, level, msg, *args): 11 paramiko/sftp.py: self.logger.log(level, msg, *args) 12 paramiko/sftp_client.py: def _log(self, level, msg, *args): 13 paramiko/sftp_client.py: self._log(level, m, *args) 14 paramiko/transport.py: def _log(self, level, msg, *args): 15 paramiko/transport.py: self.logger.log(level, msg, *args) 16 tests/__init__.py: def _test_under_locale(testself, *args, **kwargs): 17 tests/__init__.py: return test_method(testself, *args, **kwargs) 18 tests/test_client.py: def __init__(self, *args, **kwargs): 19 tests/test_client.py: super().__init__(*args, **kwargs) 20 tests/test_config.py: def inner(command, *args, **kwargs): 21 tests/test_packetizer.py: def wrapper(*args, **kwargs): 22 tests/test_packetizer.py: result = func(*args, **kwargs) | |||
2023-01-20 | Massage SSHClient.connect exception-raising docstring | Jeff Forcier | |
- Sphinx Python domain can link to non-stdlib exception classes inside the `:raises:` fieldlist now! yay!! - Add explicit mention of 'can raise NoValidConnectionsError', which was never added when the latter was created. Was still technically correct (it is a subclass of socket.error) but that is not the best kind of correct, after all. |