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
x/crypto/ssh: inaccurate doc on ServerConfig.PublicKeyCallback method #21325
Labels
Milestone
Comments
Change https://golang.org/cl/53472 mentions this issue: |
bored-engineer
pushed a commit
to bored-engineer/ssh
that referenced
this issue
Oct 13, 2019
Fix leftovers from the old days to match today's method signature. Fixes golang/go#21325 Change-Id: Iac5d49bc7cf9e80d07e21148b5e6e1b9bbb59d74 Reviewed-on: https://go-review.googlesource.com/53472 Reviewed-by: Han-Wen Nienhuys <hanwen@google.com> Run-TryBot: Han-Wen Nienhuys <hanwen@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
bored-engineer
pushed a commit
to bored-engineer/ssh
that referenced
this issue
Oct 13, 2019
Fix leftovers from the old days to match today's method signature. Fixes golang/go#21325 Change-Id: Iac5d49bc7cf9e80d07e21148b5e6e1b9bbb59d74 Reviewed-on: https://go-review.googlesource.com/53472 Reviewed-by: Han-Wen Nienhuys <hanwen@google.com> Run-TryBot: Han-Wen Nienhuys <hanwen@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
c-expert-zigbee
pushed a commit
to c-expert-zigbee/crypto_go
that referenced
this issue
Mar 28, 2022
Fix leftovers from the old days to match today's method signature. Fixes golang/go#21325 Change-Id: Iac5d49bc7cf9e80d07e21148b5e6e1b9bbb59d74 Reviewed-on: https://go-review.googlesource.com/53472 Reviewed-by: Han-Wen Nienhuys <hanwen@google.com> Run-TryBot: Han-Wen Nienhuys <hanwen@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
c-expert-zigbee
pushed a commit
to c-expert-zigbee/crypto_go
that referenced
this issue
Mar 29, 2022
Fix leftovers from the old days to match today's method signature. Fixes golang/go#21325 Change-Id: Iac5d49bc7cf9e80d07e21148b5e6e1b9bbb59d74 Reviewed-on: https://go-review.googlesource.com/53472 Reviewed-by: Han-Wen Nienhuys <hanwen@google.com> Run-TryBot: Han-Wen Nienhuys <hanwen@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
LewiGoddard
pushed a commit
to LewiGoddard/crypto
that referenced
this issue
Feb 16, 2023
Fix leftovers from the old days to match today's method signature. Fixes golang/go#21325 Change-Id: Iac5d49bc7cf9e80d07e21148b5e6e1b9bbb59d74 Reviewed-on: https://go-review.googlesource.com/53472 Reviewed-by: Han-Wen Nienhuys <hanwen@google.com> Run-TryBot: Han-Wen Nienhuys <hanwen@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
BiiChris
pushed a commit
to BiiChris/crypto
that referenced
this issue
Sep 15, 2023
Fix leftovers from the old days to match today's method signature. Fixes golang/go#21325 Change-Id: Iac5d49bc7cf9e80d07e21148b5e6e1b9bbb59d74 Reviewed-on: https://go-review.googlesource.com/53472 Reviewed-by: Han-Wen Nienhuys <hanwen@google.com> Run-TryBot: Han-Wen Nienhuys <hanwen@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Documentation of
ServerConfig.PublicKeyCallback
mismatches method signature by stating that It must return true if the given public key can be used to authenticate the given user. This was true for initial method signature, that isbut not accurate anymore, since current signature looks like this:
Documentation should be re-worded to reflect new logic: key can be used to authenticate user if method returns nil error.
The text was updated successfully, but these errors were encountered: