You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Chris Chabot (JIRA)" <ji...@apache.org> on 2008/08/04 19:16:44 UTC

[jira] Commented: (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:comment-tabpanel&focusedCommentId=12619588#action_12619588 ] 

Chris Chabot commented on SHINDIG-486:
--------------------------------------

Hey Janek,

Thanks for reporting that, sorry i didn't see it in time; Caching a resource was indeed quite the wrong thing to do

> 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.