From 7dc2d92302ecaf94984416a772ca36fc44e09688 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Tue, 6 Oct 2015 12:32:19 -0500 Subject: [PATCH] * usr/bin/vigpg: - specify stdin for input file --- debian/changelog | 3 ++- usr/bin/vigpg | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 14d760c4..16c73588 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ byobu (5.98) unreleased; urgency=medium - * UNRELEASED + * usr/bin/vigpg: + - specify stdin for input file -- Dustin Kirkland Mon, 31 Aug 2015 13:32:38 -0500 diff --git a/usr/bin/vigpg b/usr/bin/vigpg index 904a4837..9742139d 100755 --- a/usr/bin/vigpg +++ b/usr/bin/vigpg @@ -48,7 +48,7 @@ fi # Try to decrypt the target file if [ -e "$encrypted_file" ]; then - (cat "$encrypted_file" | gpg -d > "$cleartext_file") || error "Unable to decrypt target" + (cat "$encrypted_file" | gpg -d - > "$cleartext_file") || error "Unable to decrypt target" fi # Grab a checksum of the cleartext data before modification