6.0.0-beta1
7/6/25

[#12290] PHP Fatal error when trying to import SMIME key
Summary PHP Fatal error when trying to import SMIME key
Queue IMP
Queue Version 6.1.0RC1
Type Bug
State Resolved
Priority 2. Medium
Owners slusarz (at) horde (dot) org
Requester software-horde (at) interfasys (dot) ch
Created 06/01/2013 (4418 days ago)
Due
Updated 06/04/2013 (4415 days ago)
Assigned
Resolved 06/01/2013 (4418 days ago)
Github Issue Link
Github Pull Request
Milestone 6.1
Patch No

History
06/04/2013 01:03:10 PM Git Commit Comment #6 Reply to this comment
Changes have been made in Git (master):

commit 79f529538615e4348b5e5c9eef20ac9bf8439dee
Author: Jan Schneider <jan@horde.org>
Date:   Tue Jun 4 15:02:31 2013 +0200

     Fix more fatal errors (Bug #12290).

  imp/lib/Basic/Smime.php |    6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)

http://git.horde.org/horde-git/-/commit/79f529538615e4348b5e5c9eef20ac9bf8439dee
06/04/2013 12:42:09 PM software-horde (at) interfasys (dot) ch Comment #5 Reply to this comment
On line 42
$this->_smime->importKeyDialog
should be
$this->_importKeyDialog

On line 94
$this->_smime->_getImportKey
should be
$this->_getImportKey

but if trying to import a personal certificate, I now get:
  PHP Fatal error:  Call to a member function push() on a non-object 
in /imp/lib/Basic/Smime.php on line 101
06/04/2013 12:34:16 PM software-horde (at) interfasys (dot) ch Comment #4 Reply to this comment

[Show Quoted Text - 14 lines]
This patch doesn't seem to fix it
  PHP Fatal error:  Call to undefined method 
IMP_Crypt_Smime::_getImportKey() in 
/var/www/html/webmail/imp/lib/Basic/Smime.php on line 94

Also, when trying to import a public key, the popup crashes with
PHP Fatal error:  Call to undefined method 
IMP_Crypt_Smime::importKeyDialog() in 
/var/www/html/webmail/imp/lib/Basic/Smime.php on line 42

06/01/2013 03:23:40 AM Michael Slusarz Comment #3
Assigned to Michael Slusarz
State ⇒ Resolved
Milestone ⇒ 6.1
Reply to this comment
IMP 6.1.0.
06/01/2013 03:23:19 AM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit e400849ef08b37b8a01de2299e22b8f340870b01
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Fri May 31 21:22:40 2013 -0600

     [mms] Fix fatal error when importing a S/MIME key (Bug #12290).

  imp/docs/CHANGES        |    1 +
  imp/lib/Basic/Smime.php |    4 ++--
  imp/package.xml         |    2 ++
  3 files changed, 5 insertions(+), 2 deletions(-)

http://git.horde.org/horde-git/-/commit/e400849ef08b37b8a01de2299e22b8f340870b01
06/01/2013 02:19:51 AM software-horde (at) interfasys (dot) ch Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ PHP Fatal error when trying to import SMIME key
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
When trying to import a SMIME key, I get an error 500 and this in the logs:
PHP Fatal error:  Call to undefined method IMP_Crypt_Smime::getImportKey()

Saved Queries