Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
- 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
|
|
- 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?)
|
|
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
=== Do not change lines below ===
{
"chain": [],
"cmd": "codespell -w",
"exit": 0,
"extra_inputs": [],
"inputs": [],
"outputs": [],
"pwd": "."
}
^^^ Do not change lines above ^^^
|
|
|
|
|
|
|
|
|
|
|
|
Also make 'em f-strings, which AFAIK should be comparable
Closes #2110
|
|
|
|
Additionally, other bits of code that retry EINTR can similarly just go
away.
|
|
Also apparently the old, old test for this had the wrong issue number in
it :(
|
|
|
|
|
|
Plus related updates to tests, docstrings, changelog
|
|
|
|
I feel like we should be able to just nuke byte_chr and friends at this
point, but it's not entirely obvious, so let's rock that boat later.
|
|
and bump top end test matrix cell to 40ish
|
|
- Realized at this date that _moving_ Ed25519 deps behind an entrypoint
is going the wrong direction, that key type should be used _more_ now,
not _less_. I no longer even remember why folks were pissy about
pynacl/bcrypt exactly.
- We can in fact just use ed25519 from cryptography itself now, so no
more pynacl anyways (but still bcrypt)
- Twiddle install language a bit re: invoke used in more places, and
again removing the notes about ed25519 being special
|
|
NOTE: imports not fixed yet so this will break CI!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|