mirror of
https://github.com/veeso/termscp.git
synced 2026-06-08 14:18:41 +02:00
fix: Use uzers instead of the dead package users which has several vulnerabilities (#295)
This commit is contained in:
committed by
GitHub
parent
aab266a661
commit
79c31c2d84
@@ -48,6 +48,7 @@ Released on
|
|||||||
- For more details read this issue <https://github.com/veeso/termscp/issues/285>.
|
- For more details read this issue <https://github.com/veeso/termscp/issues/285>.
|
||||||
- Change between auth forms with `<BACKTAB>`
|
- Change between auth forms with `<BACKTAB>`
|
||||||
- Bookmarks are automatically loaded into the last auth form.
|
- Bookmarks are automatically loaded into the last auth form.
|
||||||
|
- [Issue 289](https://github.com/veeso/termscp/issues/289): Use `uzers` instead of the dead package `users` which has several vulnerabilities
|
||||||
- [Issue 290](https://github.com/veeso/termscp/issues/290): Password prompt was broken
|
- [Issue 290](https://github.com/veeso/termscp/issues/290): Password prompt was broken
|
||||||
|
|
||||||
## 0.15.0
|
## 0.15.0
|
||||||
|
|||||||
12
Cargo.lock
generated
12
Cargo.lock
generated
@@ -3582,7 +3582,7 @@ dependencies = [
|
|||||||
"tui-realm-stdlib",
|
"tui-realm-stdlib",
|
||||||
"tuirealm",
|
"tuirealm",
|
||||||
"unicode-width 0.2.0",
|
"unicode-width 0.2.0",
|
||||||
"users",
|
"uzers",
|
||||||
"version-compare",
|
"version-compare",
|
||||||
"whoami",
|
"whoami",
|
||||||
"wildmatch",
|
"wildmatch",
|
||||||
@@ -4062,6 +4062,16 @@ version = "0.7.6"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
|
checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "uzers"
|
||||||
|
version = "0.12.1"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "4df81ff504e7d82ad53e95ed1ad5b72103c11253f39238bcc0235b90768a97dd"
|
||||||
|
dependencies = [
|
||||||
|
"libc",
|
||||||
|
"log",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "vcpkg"
|
name = "vcpkg"
|
||||||
version = "0.2.15"
|
version = "0.2.15"
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ remotefs-ssh = "^0.4"
|
|||||||
[target."cfg(target_family = \"unix\")".dependencies]
|
[target."cfg(target_family = \"unix\")".dependencies]
|
||||||
remotefs-ftp = { version = "^0.2", features = ["vendored", "native-tls"] }
|
remotefs-ftp = { version = "^0.2", features = ["vendored", "native-tls"] }
|
||||||
remotefs-ssh = { version = "^0.4", features = ["ssh2-vendored"] }
|
remotefs-ssh = { version = "^0.4", features = ["ssh2-vendored"] }
|
||||||
users = "0.11.0"
|
uzers = "0.12"
|
||||||
|
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
incremental = true
|
incremental = true
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ use lazy_regex::{Lazy, Regex};
|
|||||||
use remotefs::File;
|
use remotefs::File;
|
||||||
use unicode_width::UnicodeWidthStr;
|
use unicode_width::UnicodeWidthStr;
|
||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
use users::{get_group_by_gid, get_user_by_uid};
|
use uzers::{get_group_by_gid, get_user_by_uid};
|
||||||
|
|
||||||
use crate::utils::fmt::{fmt_path_elide, fmt_pex, fmt_time};
|
use crate::utils::fmt::{fmt_path_elide, fmt_pex, fmt_time};
|
||||||
use crate::utils::path::diff_paths;
|
use crate::utils::path::diff_paths;
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ use tuirealm::props::{
|
|||||||
};
|
};
|
||||||
use tuirealm::{Component, Event, MockComponent, NoUserEvent, State, StateValue};
|
use tuirealm::{Component, Event, MockComponent, NoUserEvent, State, StateValue};
|
||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
use users::{get_group_by_gid, get_user_by_uid};
|
use uzers::{get_group_by_gid, get_user_by_uid};
|
||||||
|
|
||||||
pub use self::chmod::ChmodPopup;
|
pub use self::chmod::ChmodPopup;
|
||||||
pub use self::goto::{GotoPopup, ATTR_FILES};
|
pub use self::goto::{GotoPopup, ATTR_FILES};
|
||||||
|
|||||||
Reference in New Issue
Block a user