From cd09faa2ac40736f41cf9eab5bbe23eed0e01c0f Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Tue, 1 Nov 2022 14:21:43 +0100 Subject: [PATCH] Bugfix: create .pgp directory --- snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Pgp.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Pgp.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Pgp.php index 5045528f5..bc3a026b0 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Pgp.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Pgp.php @@ -277,7 +277,8 @@ trait Pgp $keyId = $keyId ? "0x{$keyId}" : \sha1($key); $dir = $this->StorageProvider()->GenerateFilePath( $oAccount, - \RainLoop\Providers\Storage\Enumerations\StorageType::PGP + \RainLoop\Providers\Storage\Enumerations\StorageType::PGP, + true ); if (\str_contains($key, 'PGP PRIVATE KEY')) { $hash = $oAccount->CryptKey();