You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Janek Hiis (JIRA)" <ji...@apache.org> on 2008/07/31 22:38:32 UTC

[jira] Updated: (SHINDIG-486) openssl_pkey_get_private() values cannot be cached

     [ https://issues.apache.org/jira/browse/SHINDIG-486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Janek Hiis updated SHINDIG-486:
-------------------------------

    Attachment: patch.txt

Do not store #Resource into cache but only private key file contents.
Also openssl_pkey_get_private was ran twice so this can be eliminated aswell.

> openssl_pkey_get_private() values cannot be cached
> --------------------------------------------------
>
>                 Key: SHINDIG-486
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-486
>             Project: Shindig
>          Issue Type: Bug
>          Components: Common Components (PHP)
>         Environment: affects all configurations when using some sort of cache
>            Reporter: Janek Hiis
>            Priority: Minor
>         Attachments: patch.txt
>
>
> in php/src/gadgets/SigningFetcherFactory.php the private key file is loaded from file and then converted with openssl_pkey_get_private(). But the result of this is of type #Resource and thus cannot be serialized and stored into cache.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.