Summary | Fatal error when saving S/MIME key |
Queue | IMP |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | jan (at) horde (dot) org |
Created | 01/14/2011 (5245 days ago) |
Due | |
Updated | 02/18/2011 (5210 days ago) |
Assigned | 01/15/2011 (5244 days ago) |
Resolved | 01/18/2011 (5241 days ago) |
Milestone | |
Patch | No |
Bug #9514: Fix variable nameshttp://git.horde.org/horde-git/-/commit/c18d115199170e5d3794e2c2e086641ad096c05b
in smime.php.
These coding is working for me. Please take as initial input:
/**
* Add a public key to an address book.
*
* @param string $cert A public certificate to add.
*
* @throws Horde_Crypt_Exception
*/
public function addPublicKey($cert)
{
$cert_a = $this->publicKeyInfo($cert);
$name = $cert_a[0]['subject']['CN'];
$email = $cert_a[0]['subject']['emailAddress'];
$GLOBALS['registry']->call('contacts/addField', array($email,
$name, self::PUBKEY_FIELD, $cert,
$GLOBALS['prefs']->getValue('add_source')));
}
Bug #9514: Don't allow adding public key if already existshttp://git.horde.org/horde-git/-/commit/a9e594706022287b78911885352cfb91f4b697d7
Bug #9514: Fix importing S/MIME keyhttp://git.horde.org/horde-git/-/commit/2d06be19a609b70731e38d08e2cb4a3d71223d3b
State ⇒ Assigned
Certificate found" is pushed on the notification stack (visible at the
next page load).
State ⇒ Feedback
Bug #9514: Pass the mailbox name, not the certificate itselfhttp://git.horde.org/horde-git/-/commit/dab4c36b1e1012ffc7908b49592c8a684091417f
Priority ⇒ 1. Low
State ⇒ Assigned
Patch ⇒ No
Milestone ⇒
Assigned to Michael Slusarz
Queue ⇒ IMP
Summary ⇒ Fatal error when saving S/MIME key
Type ⇒ Bug
address book, I get the following fatal error in the popup:
A fatal error has occurred
Error displaying message.
1. IMP_Injector_Factory_Contents->create()
/home/jan/horde-git/imp/smime.php:105
2. IMP_Contents->__construct()
/home/jan/horde-git/imp/lib/Injector/Factory/Contents.php:50