From 01a0e2e0eba4ac36292e8937f17cf30b3be58a9b Mon Sep 17 00:00:00 2001 From: Boris Date: Tue, 15 Nov 2022 21:00:53 +0100 Subject: [PATCH] =?UTF-8?q?Le=20r=C3=A9fectoire=20=C3=A9tait=20pas=20bon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/Keygen.class.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/Keygen.class.php b/lib/Keygen.class.php index 317eed0..441381a 100644 --- a/lib/Keygen.class.php +++ b/lib/Keygen.class.php @@ -43,6 +43,12 @@ class Keygen { $pepper = str_replace('"', '\"', $pepper); $userPubkey = $this->getG1Pub($salt, $pepper); + + if (!file_exists($this->pubsecDir)) { + + mkdir($this->pubsecDir, 0777, true); + + } $cmd = $this->keygenPath; $cmd .= ' -f pubsec';