- 密钥凭据的私钥分「本机文件 / 粘贴 / 生成新密钥」三种来源,仍是一个对话框; 生成支持 Ed25519 与 RSA 4096,可用口令加密,对话框里显示并可复制公钥 - 粘贴和生成的私钥写成数据目录 keys/ 下的 0600 文件,凭据引用其路径; 再次粘贴或生成时原地覆盖,换掉或删除凭据时随之删除,用户自己的私钥文件从不改动 - 空列表和空白处右键新增「生成密钥…」,密钥凭据右键新增「复制公钥」 - 窗口状态栏右侧由写死的光标位置改为当前终端的尺寸(列×行), SFTP 标签、开始页和设置页不显示 - UI 测试的基础夹具关闭动画,修正对话框滑入导致的偶发失败
11 lines
456 B
Rust
11 lines
456 B
Rust
//! 凭据: saved logins hosts share. The list the left dock shows and the
|
|
//! dialog that edits one, which also takes pasted keys and generates new
|
|
//! ones; the credentials themselves, the keys ShellRS keeps, and how a host
|
|
//! logs in with one live in `session`.
|
|
|
|
mod credential_dialog;
|
|
mod credential_panel;
|
|
|
|
pub use credential_dialog::{CredentialDialog, CredentialForm, open_credential_dialog};
|
|
pub use credential_panel::{CredentialPanel, kind_icon};
|