浏览代码

Updated gnupg home

Will Browning 6 年之前
父节点
当前提交
5c15d904aa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Mail/ForwardEmail.php

+ 1 - 1
app/Mail/ForwardEmail.php

@@ -46,7 +46,7 @@ class ForwardEmail extends Mailable implements ShouldQueue
         $this->bannerLocation = $this->alias->user->banner_location;
         $this->bannerLocation = $this->alias->user->banner_location;
 
 
         $path = "~/.gnupg";
         $path = "~/.gnupg";
-        $this->openpgpsigner = OpenPGPSigner::newInstance();
+        $this->openpgpsigner = OpenPGPSigner::newInstance($signingKey = config('anonaddy.signing_key_fingerprint'), $recipientKeys = [], $gnupgHome = $path);
         $this->openpgpsigner->setGnupgHome($path);
         $this->openpgpsigner->setGnupgHome($path);
         $this->openpgpsigner->setEncrypt($shouldEncrypt);
         $this->openpgpsigner->setEncrypt($shouldEncrypt);