citadel-tech/coinswap

Password handler remove I/O operation

Fermée

#956 ouverte le 27 juil. 2026

 (0 commentaire) (0 réaction) (0 personne assignée)Rust (132 forks)auto 404
enhancementgood first issue

Métriques du dépôt

Stars
 (159 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur