citadel-tech/coinswap

Password handler remove I/O operation

クローズ

#956 opened on 2026/07/27

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (132 件のフォーク)auto 404
enhancementgood first issue

Repository metrics

Stars
 (159 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Description

In load_sensitive_struct, in the case of a None password, if parsing fails we ask the user to enter the password utill::prompt_password("Enter encryption passphrase: ".to_string())?, which is irrelevant to this API — it's a terminal I/O operation that doesn't belong in a decrypt helper and should be handled by the caller if the parse fails.

コントリビューターガイド