Article View: linux.debian.bugs.rc
Article #1748Bug#1152005: Not as simple as increasing the version
From: Margarita Manterola
Date: Sun, 25 Oct 2026 22:00
Date: Sun, 25 Oct 2026 22:00
56 lines
4159 bytes
4159 bytes
I gave it a quick spin today (after rust-sftp moved to the new version as well),
and unfortunately it wasn't as easy as increasing the version. The build failed
with these errors:
----
error[E0053]: method `check_server_key` has an incompatible type for trait
--> _transport_rs/src/ssh/russh_vendor.rs:68:28
|
68 | server_public_key: &russh::keys::ssh_key::PublicKey,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `PublicKeyOrCertificate`, found `russh::keys::PublicKey`
|
= note: expected signature `fn(&mut VerifyingHandler, &PublicKeyOrCertificate) -> _`
found signature `fn(&mut VerifyingHandler, &russh::keys::PublicKey) -> _`
help: change the parameter type to match the trait
|
68 - server_public_key: &russh::keys::ssh_key::PublicKey,
68 + server_public_key: &PublicKeyOrCertificate,
|
error[E0599]: no method named `fingerprint` found for enum `AgentIdentity` in the current scope
--> _transport_rs/src/ssh/russh_vendor.rs:616:17
|
616 | key.fingerprint(Default::default()),
| ^^^^^^^^^^^ method not found in `AgentIdentity`
error[E0599]: no method named `algorithm` found for enum `AgentIdentity` in the current scope
--> _transport_rs/src/ssh/russh_vendor.rs:617:17
|
617 | key.algorithm()
| ^^^^^^^^^ method not found in `AgentIdentity`
error[E0308]: mismatched types
--> _transport_rs/src/ssh/russh_vendor.rs:620:60
|
620 | .authenticate_publickey_with(user.to_string(), key, None, &mut agent)
| --------------------------- ^^^ expected `PublicKey`, found `AgentIdentity`
| |
| arguments to this method are incorrect
|
note: method defined here
--> /usr/share/cargo/registry/russh-0.64.1/src/client/mod.rs:503:18
|
503 | pub async fn authenticate_publickey_with<U: Into<String>, S: auth::Signer>(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Some errors have detailed explanations: E0053, E0308, E0599.
For more information about an error, try `rustc --explain E0053`.
error: could not compile `dromedary-transport-rs` (lib) due to 4 previous errors
----
So, I guess the code needs some adapting.
--
Regards,
Marga
Technical Details
Message-ID:
<NSepY-7Rt1-13@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NSaZ7-7PIx-181@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Margarita Manterola <marga@marga.com.ar> Newsgroups: linux.debian.bugs.rc Subject: Bug#1152005: Not as simple as increasing the version Date: Sun, 25 Oct 2026 23:00:02 +0100 Message-ID: <NSepY-7Rt1-13@gated-at.bofh.it> References: <NSaZ7-7PIx-181@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Sun Oct 25 21:59:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.65 Reply-To: Margarita Manterola <marga@marga.com.ar>, 1152005@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+python@tracker.debian.org X-Debian-Pr-Message: followup 1152005 X-Debian-Pr-Package: src:dromedary X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: dromedary Authentication-Results: nefele.gnuservers.com.ar; dmarc=fail (p=quarantine dis=none) header.from=marga.com.ar Authentication-Results: nefele.gnuservers.com.ar; dkim=none; dkim-atps=neutral MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/836131 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 56 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 25 Oct 2026 22:56:50 +0100 X-Original-Message-ID: <at57ItV0euSeRIan@localhost> X-Original-References: <at3jxIfKv1IGUqfP@localhost>