aboutsummaryrefslogtreecommitdiff
path: root/cc/README.md
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2018-12-23 01:18:50 +0100
committerDaniel Mueller <deso@posteo.net>2018-12-23 12:33:07 -0800
commite1147d2f2eb98ef5a39a37fd63d98dae9a301ee2 (patch)
treea3160f07f7cc957404035d268633c701533c2057 /cc/README.md
parent048c97adcedab552e8c5b33567a06de4cb5c0f81 (diff)
downloadnitrocli-e1147d2f2eb98ef5a39a37fd63d98dae9a301ee2.tar.gz
nitrocli-e1147d2f2eb98ef5a39a37fd63d98dae9a301ee2.tar.bz2
Return UTF-8 error when handling the passphrase
Currently, invalid UTF-8 code points in the passphrase returned by pinentry are replaced with replacement characters by `String::from_utf8_lossy`. This patch changes the code to use `String::from_utf8` and returns an UTF-8 error if encountered.
Diffstat (limited to 'cc/README.md')
0 files changed, 0 insertions, 0 deletions