aboutsummaryrefslogtreecommitdiffstats
path: root/src/pinentry.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/pinentry.rs')
-rw-r--r--src/pinentry.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pinentry.rs b/src/pinentry.rs
index 769b8d0..a8d607b 100644
--- a/src/pinentry.rs
+++ b/src/pinentry.rs
@@ -71,7 +71,7 @@ async fn read_password<
break;
} else {
return Err(Error::FailedToParsePinentry {
- out: data.to_vec(),
+ out: String::from_utf8_lossy(data).to_string(),
});
}
} else {