Php GNUPG和Crypt_GPG Crypt_GPG_KeyNotFoundException

Php GNUPG和Crypt_GPG Crypt_GPG_KeyNotFoundException,php,encryption,cryptography,pear,gnupg,Php,Encryption,Cryptography,Pear,Gnupg,我试图在一个在线apache服务器上工作,一个在本地Ubuntu虚拟机上工作的项目。我已经通过composer在laravel 5.4项目中安装了PEAR包PEAR\Crypt\u GPG。问题是,在联机服务器中,我使用带有密码短语的gpg--gen key通过CLI生成密钥之后。运行php代码后,我只得到加密消息,在解密消息(未显示)之前,它显示一个错误: Crypt_GPG_KeyNotFoundException - Cannot decrypt data. No suitable pri

我试图在一个在线apache服务器上工作,一个在本地Ubuntu虚拟机上工作的项目。我已经通过composer在laravel 5.4项目中安装了PEAR包PEAR\Crypt\u GPG。问题是,在联机服务器中,我使用带有密码短语的
gpg--gen key
通过CLI生成密钥之后。运行php代码后,我只得到加密消息,在解密消息(未显示)之前,它显示一个错误:

Crypt_GPG_KeyNotFoundException - Cannot decrypt data. No suitable private key is in the keyring. Import a suitable private key before trying to decrypt this data.
相同的php代码没有在本地VM中显示任何错误

我的代码:

gpg_init = new Crypt_GPG(array('homedir' => '~/.gnupg', "debug"=>true));
$data = 'Hello Krisid';
$gpg->addEncryptKey('my@email.com');
//encrypt data
$encrypted = $gpg->encrypt($data);
//show it
echo "Encrypted message: \n".'<b><pre>'.$encrypted.'</pre></b>';
echo '<br><br><br>';
//select decrypt key
$gpg->addDecryptKey('my@email.com','passphrase');
//decrypt msg
$decrypted = $gpg->decrypt($encrypted);
//show it
echo "Decrypted message: \n".'<b><pre>'.$decrypted.'</pre></b>';
echo '<br><br><br>';
错误的屏幕截图:

服务器之间的唯一区别是,在我的虚拟机中有GNUPGV1.4,而在我的在线服务器中是v2

我试图将.gnupg/文件夹中的密钥从我的工作VM复制到在线服务器,但没有成功。在此之前,此错误显示错误的\u密码短语\u异常-缺少密码短语(这是库的早期版本中的一个错误)。。。并且密码短语已在代码中指定为
$gpg->addDecryptKey('my@email.com“,”密码短语“)

供应商文件夹与我的本地VM中的文件夹相同。 Crypt_GPG是v1.6,phpseclib是v2.0 在线服务器是GentooLinux,本地虚拟机是Ubuntu 16.4

如果需要,我可以提供其他信息

    Crypt_GPG DEBUG: OPENING GPG SUBPROCESS WITH THE FOLLOWING COMMAND:
Crypt_GPG DEBUG: /usr/bin/gpg --status-fd '3' --command-fd '4' --no-secmem-warning --no-tty --no-default-keyring --no-options --always-trust --ignore-time-conflict --ignore-valid-from --homedir '~/.gnupg' --version
Crypt_GPG DEBUG: BEGIN PROCESSING
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 1
Crypt_GPG DEBUG: GPG output stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG output
Crypt_GPG DEBUG: => read 560 bytes
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 3
Crypt_GPG DEBUG: GPG output stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG output
Crypt_GPG DEBUG: => read 0 bytes
Crypt_GPG DEBUG: GPG error stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG error
Crypt_GPG DEBUG: => read 0 bytes
Crypt_GPG DEBUG: GPG status stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG status
Crypt_GPG DEBUG: => read 0 bytes
Crypt_GPG DEBUG: END PROCESSING
Crypt_GPG DEBUG: CLOSING GPG SUBPROCESS
Crypt_GPG DEBUG: USING GPG 2.0.26 with PHP 7.0.6
Crypt_GPG DEBUG: OPENING GPG-AGENT SUBPROCESS WITH THE FOLLOWING COMMAND:
Crypt_GPG DEBUG: /usr/bin/gpg-agent --daemon --options /dev/null --csh --keep-display --no-grab --ignore-cache-for-signing --pinentry-touch-file /dev/null --disable-scdaemon --no-use-standard-socket --pinentry-program '/kunden/U563883/kunden/laravel-project/vendor/pear/crypt_gpg/Crypt/GPG/../../scripts/crypt-gpg-pinentry' --homedir '~/.gnupg'
Crypt_GPG DEBUG: GPG-AGENT-INFO: /tmp/gpg-3Kby79/S.gpg-agent:24461:1
Crypt_GPG DEBUG: CLOSING GPG-AGENT LAUNCH PROCESS
Crypt_GPG DEBUG: GPG-AGENT LAUNCH PROCESS CLOSED
Crypt_GPG DEBUG: OPENING GPG SUBPROCESS WITH THE FOLLOWING COMMAND:
Crypt_GPG DEBUG: /usr/bin/gpg --status-fd '3' --command-fd '4' --no-secmem-warning --no-tty --no-default-keyring --no-options --no-permission-warning --exit-on-status-write-error --trust-model always --ignore-time-conflict --ignore-valid-from --with-colons --with-fingerprint --with-fingerprint --fixed-list-mode --homedir '~/.gnupg' --utf8-strings --list-secret-keys 'my@mail.com'
Crypt_GPG DEBUG: BEGIN PROCESSING
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 1
Crypt_GPG DEBUG: GPG output stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG output
Crypt_GPG DEBUG: => read 321 bytes
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 3
Crypt_GPG DEBUG: GPG output stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG output
Crypt_GPG DEBUG: => read 0 bytes
Crypt_GPG DEBUG: GPG error stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG error
Crypt_GPG DEBUG: => read 0 bytes
Crypt_GPG DEBUG: GPG status stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG status
Crypt_GPG DEBUG: => read 0 bytes
Crypt_GPG DEBUG: END PROCESSING
Crypt_GPG DEBUG: CLOSING GPG SUBPROCESS
Crypt_GPG DEBUG: STOPPING GPG-AGENT DAEMON
Crypt_GPG DEBUG: GPG-AGENT DAEMON STOPPED
Crypt_GPG DEBUG: USING GPG 2.0.26 with PHP 7.0.6
Crypt_GPG DEBUG: OPENING GPG-AGENT SUBPROCESS WITH THE FOLLOWING COMMAND:
Crypt_GPG DEBUG: /usr/bin/gpg-agent --daemon --options /dev/null --csh --keep-display --no-grab --ignore-cache-for-signing --pinentry-touch-file /dev/null --disable-scdaemon --no-use-standard-socket --pinentry-program '/kunden/U563883/kunden/laravel-project/vendor/pear/crypt_gpg/Crypt/GPG/../../scripts/crypt-gpg-pinentry' --homedir '~/.gnupg'
Crypt_GPG DEBUG: GPG-AGENT-INFO: /tmp/gpg-bQqbxc/S.gpg-agent:24464:1
Crypt_GPG DEBUG: CLOSING GPG-AGENT LAUNCH PROCESS
Crypt_GPG DEBUG: GPG-AGENT LAUNCH PROCESS CLOSED
Crypt_GPG DEBUG: OPENING GPG SUBPROCESS WITH THE FOLLOWING COMMAND:
Crypt_GPG DEBUG: /usr/bin/gpg --status-fd '3' --command-fd '4' --no-secmem-warning --no-tty --no-default-keyring --no-options --no-permission-warning --exit-on-status-write-error --trust-model always --ignore-time-conflict --ignore-valid-from --with-colons --with-fingerprint --with-fingerprint --fixed-list-mode --homedir '~/.gnupg' --utf8-strings --list-public-keys 'my@mail.com'
Crypt_GPG DEBUG: BEGIN PROCESSING
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 1
Crypt_GPG DEBUG: GPG output stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG output
Crypt_GPG DEBUG: => read 541 bytes
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 3
Crypt_GPG DEBUG: GPG output stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG output
Crypt_GPG DEBUG: => read 0 bytes
Crypt_GPG DEBUG: GPG error stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG error
Crypt_GPG DEBUG: => read 0 bytes
Crypt_GPG DEBUG: GPG status stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG status
Crypt_GPG DEBUG: => read 0 bytes
Crypt_GPG DEBUG: END PROCESSING
Crypt_GPG DEBUG: CLOSING GPG SUBPROCESS
Crypt_GPG DEBUG: STOPPING GPG-AGENT DAEMON
Crypt_GPG DEBUG: GPG-AGENT DAEMON STOPPED
Crypt_GPG DEBUG: USING GPG 2.0.26 with PHP 7.0.6
Crypt_GPG DEBUG: OPENING GPG-AGENT SUBPROCESS WITH THE FOLLOWING COMMAND:
Crypt_GPG DEBUG: /usr/bin/gpg-agent --daemon --options /dev/null --csh --keep-display --no-grab --ignore-cache-for-signing --pinentry-touch-file /dev/null --disable-scdaemon --no-use-standard-socket --pinentry-program '/kunden/U563883/kunden/laravel-project/vendor/pear/crypt_gpg/Crypt/GPG/../../scripts/crypt-gpg-pinentry' --homedir '~/.gnupg'
Crypt_GPG DEBUG: GPG-AGENT-INFO: /tmp/gpg-8YKlWe/S.gpg-agent:24467:1
Crypt_GPG DEBUG: CLOSING GPG-AGENT LAUNCH PROCESS
Crypt_GPG DEBUG: GPG-AGENT LAUNCH PROCESS CLOSED
Crypt_GPG DEBUG: OPENING GPG SUBPROCESS WITH THE FOLLOWING COMMAND:
Crypt_GPG DEBUG: /usr/bin/gpg --status-fd '3' --command-fd '4' --no-secmem-warning --no-tty --no-default-keyring --no-options --no-permission-warning --exit-on-status-write-error --trust-model always --ignore-time-conflict --ignore-valid-from --armor --recipient '51892BACB455CD701393324727D951E5EADB65DC' --homedir '~/.gnupg' --encrypt
Crypt_GPG DEBUG: BEGIN PROCESSING
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 1
Crypt_GPG DEBUG: GPG is ready for input
Crypt_GPG DEBUG: => about to write 12 bytes to GPG input
Crypt_GPG DEBUG: => wrote 12 bytes
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 1
Crypt_GPG DEBUG: GPG is ready for input
Crypt_GPG DEBUG: => about to write 0 bytes to GPG input
Crypt_GPG DEBUG: => broken pipe on GPG input
Crypt_GPG DEBUG: => closing pipe GPG input
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 1
Crypt_GPG DEBUG: GPG status stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG status
Crypt_GPG DEBUG: => read 30 bytes
Crypt_GPG DEBUG: STATUS: BEGIN_ENCRYPTION 0 2
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 1
Crypt_GPG DEBUG: GPG output stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG output
Crypt_GPG DEBUG: => read 498 bytes
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 1
Crypt_GPG DEBUG: GPG status stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG status
Crypt_GPG DEBUG: => read 24 bytes
Crypt_GPG DEBUG: STATUS: END_ENCRYPTION
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 3
Crypt_GPG DEBUG: GPG output stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG output
Crypt_GPG DEBUG: => read 0 bytes
Crypt_GPG DEBUG: GPG error stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG error
Crypt_GPG DEBUG: => read 0 bytes
Crypt_GPG DEBUG: GPG status stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG status
Crypt_GPG DEBUG: => read 0 bytes
Crypt_GPG DEBUG: END PROCESSING
Crypt_GPG DEBUG: CLOSING GPG SUBPROCESS
Crypt_GPG DEBUG: STOPPING GPG-AGENT DAEMON
Crypt_GPG DEBUG: GPG-AGENT DAEMON STOPPED
Encrypted message:
-----BEGIN PGP MESSAGE-----
Version: GnuPG v2

hQEMAyfZUeXq22XcAQgApZX3zXXArY0tom1lKOCByBVX19hrR1w4icswHUoKg+8C
eEuaidRF+wPYwf7DotBiBd5Ade8Y9qHewPwueaj51uwfcs5H3b0teRtm2kQIP9lM
ikFChMqz1aqOHd2bMnkL7YV0V3igCcJI0FOvEFQxnuGbd9nZOzqYlhIq3GLilmHt
z0SSzGwmfSZIoXwLxgsQecV+OOcfwlinztl9f/BLYlEDi/WGJVph9LEytyxgz2kk
o2Q9OPC2d1DG9ig31aYdgUxDi05bNYg5EdVKwb+8FetdSEm/1YLLYLwXWFip0Vpv
MqhQA3m+dh8kxEI+ui9Ul6bzxPE3c5P4xiykps5AIMkiF60hbZYWBsg73UFhr4wZ
LHejagXxc7O1z0jGLOVEVAqq0A==
=RSZV
-----END PGP MESSAGE-----



Crypt_GPG DEBUG: USING GPG 2.0.26 with PHP 7.0.6
Crypt_GPG DEBUG: OPENING GPG-AGENT SUBPROCESS WITH THE FOLLOWING COMMAND:
Crypt_GPG DEBUG: /usr/bin/gpg-agent --daemon --options /dev/null --csh --keep-display --no-grab --ignore-cache-for-signing --pinentry-touch-file /dev/null --disable-scdaemon --no-use-standard-socket --pinentry-program '/kunden/U563883/kunden/laravel-project/vendor/pear/crypt_gpg/Crypt/GPG/../../scripts/crypt-gpg-pinentry' --homedir '~/.gnupg'
Crypt_GPG DEBUG: GPG-AGENT-INFO: /tmp/gpg-aePfqh/S.gpg-agent:24470:1
Crypt_GPG DEBUG: CLOSING GPG-AGENT LAUNCH PROCESS
Crypt_GPG DEBUG: GPG-AGENT LAUNCH PROCESS CLOSED
Crypt_GPG DEBUG: OPENING GPG SUBPROCESS WITH THE FOLLOWING COMMAND:
Crypt_GPG DEBUG: /usr/bin/gpg --status-fd '3' --command-fd '4' --no-secmem-warning --no-tty --no-default-keyring --no-options --no-permission-warning --exit-on-status-write-error --trust-model always --ignore-time-conflict --ignore-valid-from --with-colons --with-fingerprint --with-fingerprint --fixed-list-mode --homedir '~/.gnupg' --utf8-strings --list-secret-keys 'my@mail.com'
Crypt_GPG DEBUG: BEGIN PROCESSING
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 1
Crypt_GPG DEBUG: GPG output stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG output
Crypt_GPG DEBUG: => read 321 bytes
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 3
Crypt_GPG DEBUG: GPG output stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG output
Crypt_GPG DEBUG: => read 0 bytes
Crypt_GPG DEBUG: GPG error stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG error
Crypt_GPG DEBUG: => read 0 bytes
Crypt_GPG DEBUG: GPG status stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG status
Crypt_GPG DEBUG: => read 0 bytes
Crypt_GPG DEBUG: END PROCESSING
Crypt_GPG DEBUG: CLOSING GPG SUBPROCESS
Crypt_GPG DEBUG: STOPPING GPG-AGENT DAEMON
Crypt_GPG DEBUG: GPG-AGENT DAEMON STOPPED
Crypt_GPG DEBUG: USING GPG 2.0.26 with PHP 7.0.6
Crypt_GPG DEBUG: OPENING GPG-AGENT SUBPROCESS WITH THE FOLLOWING COMMAND:
Crypt_GPG DEBUG: /usr/bin/gpg-agent --daemon --options /dev/null --csh --keep-display --no-grab --ignore-cache-for-signing --pinentry-touch-file /dev/null --disable-scdaemon --no-use-standard-socket --pinentry-program '/kunden/U563883/kunden/laravel-project/vendor/pear/crypt_gpg/Crypt/GPG/../../scripts/crypt-gpg-pinentry' --homedir '~/.gnupg'
Crypt_GPG DEBUG: GPG-AGENT-INFO: /tmp/gpg-pTUv5j/S.gpg-agent:24473:1
Crypt_GPG DEBUG: CLOSING GPG-AGENT LAUNCH PROCESS
Crypt_GPG DEBUG: GPG-AGENT LAUNCH PROCESS CLOSED
Crypt_GPG DEBUG: OPENING GPG SUBPROCESS WITH THE FOLLOWING COMMAND:
Crypt_GPG DEBUG: /usr/bin/gpg --status-fd '3' --command-fd '4' --no-secmem-warning --no-tty --no-default-keyring --no-options --no-permission-warning --exit-on-status-write-error --trust-model always --ignore-time-conflict --ignore-valid-from --with-colons --with-fingerprint --with-fingerprint --fixed-list-mode --homedir '~/.gnupg' --utf8-strings --list-public-keys 'my@mail.com'
Crypt_GPG DEBUG: BEGIN PROCESSING
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 1
Crypt_GPG DEBUG: GPG output stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG output
Crypt_GPG DEBUG: => read 541 bytes
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 3
Crypt_GPG DEBUG: GPG output stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG output
Crypt_GPG DEBUG: => read 0 bytes
Crypt_GPG DEBUG: GPG error stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG error
Crypt_GPG DEBUG: => read 0 bytes
Crypt_GPG DEBUG: GPG status stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG status
Crypt_GPG DEBUG: => read 0 bytes
Crypt_GPG DEBUG: END PROCESSING
Crypt_GPG DEBUG: CLOSING GPG SUBPROCESS
Crypt_GPG DEBUG: STOPPING GPG-AGENT DAEMON
Crypt_GPG DEBUG: GPG-AGENT DAEMON STOPPED
Crypt_GPG DEBUG: USING GPG 2.0.26 with PHP 7.0.6
Crypt_GPG DEBUG: OPENING GPG-AGENT SUBPROCESS WITH THE FOLLOWING COMMAND:
Crypt_GPG DEBUG: /usr/bin/gpg-agent --daemon --options /dev/null --csh --keep-display --no-grab --ignore-cache-for-signing --pinentry-touch-file /dev/null --disable-scdaemon --no-use-standard-socket --pinentry-program '/kunden/U563883/kunden/laravel-project/vendor/pear/crypt_gpg/Crypt/GPG/../../scripts/crypt-gpg-pinentry' --homedir '~/.gnupg'
Crypt_GPG DEBUG: GPG-AGENT-INFO: /tmp/gpg-HAlerm/S.gpg-agent:24476:1
Crypt_GPG DEBUG: CLOSING GPG-AGENT LAUNCH PROCESS
Crypt_GPG DEBUG: GPG-AGENT LAUNCH PROCESS CLOSED
Crypt_GPG DEBUG: OPENING GPG SUBPROCESS WITH THE FOLLOWING COMMAND:
Crypt_GPG DEBUG: /usr/bin/gpg --status-fd '3' --command-fd '4' --no-secmem-warning --no-tty --no-default-keyring --no-options --no-permission-warning --exit-on-status-write-error --trust-model always --ignore-time-conflict --ignore-valid-from --homedir '~/.gnupg' --decrypt
Crypt_GPG DEBUG: BEGIN PROCESSING
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 1
Crypt_GPG DEBUG: GPG is ready for input
Crypt_GPG DEBUG: => about to write 498 bytes to GPG input
Crypt_GPG DEBUG: => wrote 498 bytes
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 1
Crypt_GPG DEBUG: GPG is ready for input
Crypt_GPG DEBUG: => about to write 0 bytes to GPG input
Crypt_GPG DEBUG: => broken pipe on GPG input
Crypt_GPG DEBUG: => closing pipe GPG input
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 1
Crypt_GPG DEBUG: GPG status stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG status
Crypt_GPG DEBUG: => read 37 bytes
Crypt_GPG DEBUG: STATUS: ENC_TO 27D951E5EADB65DC 1 0
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 1
Crypt_GPG DEBUG: GPG error stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG error
Crypt_GPG DEBUG: => read 98 bytes
Crypt_GPG DEBUG: ERROR: gpg: encrypted with 2048-bit RSA key, ID EADB65DC, created 2017-04-25
Crypt_GPG DEBUG: ERROR: "my@mail.com"
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 2
Crypt_GPG DEBUG: GPG error stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG error
Crypt_GPG DEBUG: => read 38 bytes
Crypt_GPG DEBUG: ERROR: gpg: decryption failed: No secret key
Crypt_GPG DEBUG: GPG status stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG status
Crypt_GPG DEBUG: => read 113 bytes
Crypt_GPG DEBUG: STATUS: NO_SECKEY 27D951E5EADB65DC
Crypt_GPG DEBUG: STATUS: BEGIN_DECRYPTION
Crypt_GPG DEBUG: STATUS: DECRYPTION_FAILED
Crypt_GPG DEBUG: STATUS: END_DECRYPTION
Crypt_GPG DEBUG: selecting streams
Crypt_GPG DEBUG: => got 3
Crypt_GPG DEBUG: GPG output stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG output
Crypt_GPG DEBUG: => read 0 bytes
Crypt_GPG DEBUG: GPG error stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG error
Crypt_GPG DEBUG: => read 0 bytes
Crypt_GPG DEBUG: GPG status stream ready for reading
Crypt_GPG DEBUG: => about to read 65536 bytes from GPG status
Crypt_GPG DEBUG: => read 0 bytes
Crypt_GPG DEBUG: END PROCESSING
Crypt_GPG DEBUG: CLOSING GPG SUBPROCESS
Crypt_GPG DEBUG: => subprocess returned an unexpected exit code: 2
Whoops, looks like something went wrong.
(1/1) Crypt_GPG_KeyNotFoundException
Cannot decrypt data. No suitable private key is in the keyring. Import a suitable private key before trying to decrypt this data.
in ProcessHandler.php (line 724)
at Crypt_GPG_ProcessHandler->throwException(2)
in Engine.php (line 1789)
at Crypt_GPG_Engine->_closeSubprocess()
in Engine.php (line 837)
at Crypt_GPG_Engine->run()
in GPG.php (line 1748)
at Crypt_GPG->_decrypt('-----BEGIN PGP MESSAGE-----Version: GnuPG v2hQEMAyfZUeXq22XcAQgApZX3zXXArY0tom1lKOCByBVX19hrR1w4icswHUoKg+8CeEuaidRF+wPYwf7DotBiBd5Ade8Y9qHewPwueaj51uwfcs5H3b0teRtm2kQIP9lMikFChMqz1aqOHd2bMnkL7YV0V3igCcJI0FOvEFQxnuGbd9nZOzqYlhIq3GLilmHtz0SSzGwmfSZIoXwLxgsQecV+OOcfwlinztl9f/BLYlEDi/WGJVph9LEytyxgz2kko2Q9OPC2d1DG9ig31aYdgUxDi05bNYg5EdVKwb+8FetdSEm/1YLLYLwXWFip0VpvMqhQA3m+dh8kxEI+ui9Ul6bzxPE3c5P4xiykps5AIMkiF60hbZYWBsg73UFhr4wZLHejagXxc7O1z0jGLOVEVAqq0A===RSZV-----END PGP MESSAGE-----', false, null)
in GPG.php (line 833)
at Crypt_GPG->decrypt('-----BEGIN PGP MESSAGE-----Version: GnuPG v2hQEMAyfZUeXq22XcAQgApZX3zXXArY0tom1lKOCByBVX19hrR1w4icswHUoKg+8CeEuaidRF+wPYwf7DotBiBd5Ade8Y9qHewPwueaj51uwfcs5H3b0teRtm2kQIP9lMikFChMqz1aqOHd2bMnkL7YV0V3igCcJI0FOvEFQxnuGbd9nZOzqYlhIq3GLilmHtz0SSzGwmfSZIoXwLxgsQecV+OOcfwlinztl9f/BLYlEDi/WGJVph9LEytyxgz2kko2Q9OPC2d1DG9ig31aYdgUxDi05bNYg5EdVKwb+8FetdSEm/1YLLYLwXWFip0VpvMqhQA3m+dh8kxEI+ui9Ul6bzxPE3c5P4xiykps5AIMkiF60hbZYWBsg73UFhr4wZLHejagXxc7O1z0jGLOVEVAqq0A===RSZV-----END PGP MESSAGE-----')
in EncryptController.php (line 48)
at EncryptController->index()
at call_user_func_array(array(object(EncryptController), 'index'), array())
in Controller.php (line 55)
at Controller->callAction('index', array())
in ControllerDispatcher.php (line 44)
at ControllerDispatcher->dispatch(object(Route), object(EncryptController), 'index')
in Route.php (line 203)
at Route->runController()
in Route.php (line 160)
at Route->run()
in Router.php (line 574)
at Router->Illuminate\Routing\{closure}(object(Request))
in Pipeline.php (line 30)
at Pipeline->Illuminate\Routing\{closure}(object(Request))
in SubstituteBindings.php (line 41)
at SubstituteBindings->handle(object(Request), object(Closure))
in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing\{closure}(object(Request))
in VerifyCsrfToken.php (line 65)
at VerifyCsrfToken->handle(object(Request), object(Closure))
in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing\{closure}(object(Request))
in ShareErrorsFromSession.php (line 49)
at ShareErrorsFromSession->handle(object(Request), object(Closure))
in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing\{closure}(object(Request))
in StartSession.php (line 64)
at StartSession->handle(object(Request), object(Closure))
in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing\{closure}(object(Request))
in AddQueuedCookiesToResponse.php (line 37)
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing\{closure}(object(Request))
in EncryptCookies.php (line 59)
at EncryptCookies->handle(object(Request), object(Closure))
in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing\{closure}(object(Request))
in Pipeline.php (line 102)
at Pipeline->then(object(Closure))
in Router.php (line 576)
at Router->runRouteWithinStack(object(Route), object(Request))
in Router.php (line 535)
at Router->dispatchToRoute(object(Request))
in Router.php (line 513)
at Router->dispatch(object(Request))
in Kernel.php (line 174)
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
in Pipeline.php (line 30)
at Pipeline->Illuminate\Routing\{closure}(object(Request))
in CheckForMaintenanceMode.php (line 46)
at CheckForMaintenanceMode->handle(object(Request), object(Closure))
in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing\{closure}(object(Request))
in Pipeline.php (line 102)
at Pipeline->then(object(Closure))
in Kernel.php (line 149)
at Kernel->sendRequestThroughRouter(object(Request))
in Kernel.php (line 116)
at Kernel->handle(object(Request))
in index.php (line 55)
Crypt_GPG DEBUG: STOPPING GPG-AGENT DAEMON
Crypt_GPG DEBUG: GPG-AGENT DAEMON STOPPED