summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcranix <cranix@hackerspace.pl>2017-02-28 17:38:20 +0100
committercranix <cranix@hackerspace.pl>2017-02-28 17:38:20 +0100
commit994dbdfaa49bbe173e47c5a839c8ecf6f2489746 (patch)
treea04a1259ad4ddbb323f97bfb1bd6f7476a1c936e
parent398af5c4a88cbc57c7ab1663ba903ea95e39a209 (diff)
downloadkuvert-994dbdfaa49bbe173e47c5a839c8ecf6f2489746.tar.gz
kuvert-994dbdfaa49bbe173e47c5a839c8ecf6f2489746.tar.bz2
kuvert-994dbdfaa49bbe173e47c5a839c8ecf6f2489746.zip
Added possibility to explicity specify key for action encrypt.
-rwxr-xr-xkuvert2
1 files changed, 2 insertions, 0 deletions
diff --git a/kuvert b/kuvert
index fc62934..2f6e660 100755
--- a/kuvert
+++ b/kuvert
@@ -651,6 +651,8 @@ sub findaction
#Encrypt or drop everything
if ($actions{$addr}=~/^encrypt/)
{
+ my $thisaction=$1;
+ $actions{$addr}=$thisaction;
$actions{$addr}=$specialkeys{$addr}||$email2key{$addr}||"drop";
}