From a876748d841c1fd855af27d334154ddd4aee32e3 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sat, 30 Jul 2016 16:23:30 +0200 Subject: [PATCH] Fix regression where password was continuously prompted on signing (an no enrypting) --- plugins/enigma/lib/enigma_engine.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/enigma/lib/enigma_engine.php b/plugins/enigma/lib/enigma_engine.php index 00f584f84..dda71732b 100644 --- a/plugins/enigma/lib/enigma_engine.php +++ b/plugins/enigma/lib/enigma_engine.php @@ -161,6 +161,8 @@ class enigma_engine return new enigma_error(enigma_error::BADPASS, '', $error); } + $key->password = $pass; + // select mode switch ($mode) { case self::SIGN_MODE_BODY: