mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Bugfix: create .pgp directory
This commit is contained in:
parent
2cdadf3a6c
commit
cd09faa2ac
1 changed files with 2 additions and 1 deletions
|
|
@ -277,7 +277,8 @@ trait Pgp
|
||||||
$keyId = $keyId ? "0x{$keyId}" : \sha1($key);
|
$keyId = $keyId ? "0x{$keyId}" : \sha1($key);
|
||||||
$dir = $this->StorageProvider()->GenerateFilePath(
|
$dir = $this->StorageProvider()->GenerateFilePath(
|
||||||
$oAccount,
|
$oAccount,
|
||||||
\RainLoop\Providers\Storage\Enumerations\StorageType::PGP
|
\RainLoop\Providers\Storage\Enumerations\StorageType::PGP,
|
||||||
|
true
|
||||||
);
|
);
|
||||||
if (\str_contains($key, 'PGP PRIVATE KEY')) {
|
if (\str_contains($key, 'PGP PRIVATE KEY')) {
|
||||||
$hash = $oAccount->CryptKey();
|
$hash = $oAccount->CryptKey();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue