-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
t.c.checkers.UNIXAuthorizedKeysFiles passes bytes to getpwnam #10286
Comments
ticket:10335 was a duplicate of this, and I made a branch there to fix it as well |
Just saw this on 22.8.0.rc1, with the equivalent of
|
I guess that since this was reopened, we need to auto revert the merge for the associated PR That is revert commit 14f36c2 And do the same revert in the release branch. Is that correct? |
Are the changes in the patch incorrect, or merely incomplete? |
@glyph This doesn’t look like what I was trying to fix here:
Here is the offending line: twisted/src/twisted/conch/unix.py Line 57 in 26c3c04
I didn't touch this file. I only fixed Incidentally this may have worked before in PyPy (only PyPy) but as part of this project I reported the behavioral discrepancy upstream: https://foss.heptapod.net/pypy/pypy/-/issues/3624 So... you're welcome and please forgive me? As it doesn't appear that there's evidence that |
Per chat
twisted.conch.checkers.UNIXAuthorizedKeysFiles
passesbytes
to getpwnam, which only acceptsstr
. Appears to be a Python 3 porting/mocking error.twisted/src/twisted/conch/checkers.py
Line 452 in dee676b
Similar to #9130
Searchable metadata
The text was updated successfully, but these errors were encountered: