NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP and keystores

CED consult at covenantedesign.com
Thu Nov 29 12:04:01 EST 2012


Yeah, that's why I was looking for a module, do you have one that you
prefer?

On 11/29/2012 8:28 AM, Rob Marscher wrote:
> I have used these functions before for encrypting/decrypting with
> public/private key pairs:
>
> openssl_get_privatekey()
> openssl_get_publickey()
> openssl_public_encrypt()
> openssl_private_decrypt()
>
> You need to have the openssl module enabled though (compile php using
> --with-openssl in the configure arguments).
>
> If this is something you are doing a lot, using a module is going to
> be more efficient than php-based functions.
>
> On Thu, Nov 29, 2012 at 11:13 AM, CED <consult at covenantedesign.com
> <mailto:consult at covenantedesign.com>> wrote:
>
>     Just encryption and decryption of credentials.
>
>
>     On 11/28/2012 6:25 PM, Rob Marscher wrote:
>     > On Nov 28, 2012, at 7:23 PM, CED <consult at covenantedesign.com
>     <mailto:consult at covenantedesign.com>> wrote:
>     >
>     >> I have a need to use a private key within PHP... does anyone
>     have any
>     >> recommendations on this?
>     >> I looked at http://phpkeystore.com/ but I'm not sure... any
>     thoughts?
>     > Can you give a little more context on what you need to do with
>     the private key?
>     >
>     > Is it for securely connecting to a remote site via ssh/sftp?
>     >
>     > Or is it to sign or encrypt some data!
>     >
>     > Or some other use?
>     > _______________________________________________
>     > New York PHP User Group Community Talk Mailing List
>     > http://lists.nyphp.org/mailman/listinfo/talk
>     >
>     > http://www.nyphp.org/show-participation
>     >
>     >
>     >
>
>
>     --
>     <img src="http://covenantedesign.com/logo.jpg" border ="0">
>     995 Maple Hill Road
>     Castleton, New York 12033
>     518-331-5061 <tel:518-331-5061>
>     Consult at CovenanteDesign.com
>
>     _______________________________________________
>     New York PHP User Group Community Talk Mailing List
>     http://lists.nyphp.org/mailman/listinfo/talk
>
>     http://www.nyphp.org/show-participation
>
>
>
>
> _______________________________________________
> New York PHP User Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/show-participation


-- 
<img src="http://covenantedesign.com/logo.jpg" border ="0">
995 Maple Hill Road
Castleton, New York 12033
518-331-5061
Consult at CovenanteDesign.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20121129/1a46630a/attachment.html>


More information about the talk mailing list