tomb

the crypto undertaker
git clone git://parazyd.org/tomb.git
Log | Files | Refs | README | LICENSE

commit e6075d08ce05432bb3a99dc43c077c92a3dff284
parent fb686db8ebd53f13cdd421b809b9500421ce78f8
Author: Jaromil <jaromil@dyne.org>
Date:   Mon, 24 Nov 2014 20:06:23 +0100

really fail to not overwrite keys when forging

Diffstat:
Mtomb | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tomb b/tomb @@ -1370,8 +1370,8 @@ forge_key() { # Do not overwrite any files accidentally [[ -r "$destkey" ]] && { - _warning "Forging this key would overwrite an existing file. Operation aborted." - ls -lh $destkey } + ls -lh $destkey + _failure "Forging this key would overwrite an existing file. Operation aborted." } # Update algorithm if it was passed on the command line with -o { option_is_set -o } && { algopt="$(option_value -o)" }