[Pkg-rust-maintainers] Bug#1030915: rust-sequoia-keyring-linter: FTBFS with new rust-rpassword.

Peter Green plugwash at debian.org
Thu Feb 9 04:41:51 GMT 2023


Package: rust-sequoia-keyring-linter
Version: 1.0.0-1
Severity: serious

rust-rpassword was recently updated to version 6.x, but sequoia-keyring-linter
still depends on version 5.x. I have checked crates.io and upstream git, and
there does not appear to be an upstream patch available.

on bumping the dependency it fails to build with.

> error[E0425]: cannot find function `read_password_from_tty` in crate `rpassword`
>    --> src/keyring-linter.rs:57:38
>     |
> 57  |                     match rpassword::read_password_from_tty(
>     |                                      ^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `read_password_from_bufread`

sequoia-sq fixed a similar issue by replacing read_password_from_tty
with prompt_password, as can be seen at
https://gitlab.com/sequoia-pgp/sequoia/-/commit/7936e3513ee339650a7ac2eff11edd2fac3f037d
but I am not in a position to determine if this is also appropriate
for sequoia-keyring-linter.



More information about the Pkg-rust-maintainers mailing list