citadel-tech/coinswap

Password handler remove I/O operation

Geschlossen

#956 geöffnet am 27.07.2026

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (132 Forks)auto 404
enhancementgood first issue

Repository-Metriken

Stars
 (159 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide