diff options
author | Brian Mattern <rephorm@rephorm.com> | 2012-09-12 22:24:20 -0700 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-09-13 07:51:40 +0200 |
commit | 3955cb4678948013fc7e871574f7eef7cc556c99 (patch) | |
tree | ee34ac46dcd318c18b123edf2abfff258770d616 /tests/gnupg/private-keys-v1.d/C93F70CA322D4F42E7FC7D54F6367E65C23E5CA3.key | |
parent | 9fe3cb21e1193ede695bc790a5c476b009aef895 (diff) |
prevent <ctrl-c> on password entry from wiping out file
Currently, if you hit ctrl-c at the standard 'Enter password' prompt,
since it is piped directly to gpg, the entry gets cleared. Trying to
read from that entry results in:
gpg: [don't know]: 1st length byte missing
This patch fixes this.
Tweaked by Jason A. Donenfeld <Jason@zx2c4.com> to add GNU readline
features by using -e in read.
Diffstat (limited to 'tests/gnupg/private-keys-v1.d/C93F70CA322D4F42E7FC7D54F6367E65C23E5CA3.key')
0 files changed, 0 insertions, 0 deletions