Explorar el Código

Updated gnupg home

Will Browning hace 6 años
padre
commit
5c15d904aa
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
 
         $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->setEncrypt($shouldEncrypt);