Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49079 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27930 invoked from network); 15 Jul 2010 09:15:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jul 2010 09:15:50 -0000 X-Host-Fingerprint: 212.123.152.214 212-123-152-214.ip.telfort.nl Received: from [212.123.152.214] ([212.123.152.214:15036] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E4/B0-22197-4C1DE3C4 for ; Thu, 15 Jul 2010 05:15:49 -0400 Message-ID: To: internals@lists.php.net Date: Thu, 15 Jul 2010 11:15:18 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Posted-By: 212.123.152.214 Subject: In memory support for openssl_pkcs7_* From: paul@vanbrouwershaven.com (Paul van Brouwershaven) Hi, The PHP functions openssl_pkcs7_(sign|encrypt|decrypt|verify) do require files to be executed. In many cases this will create the unintended requirement of temporary files. In compare with openssl_(sign|encrypt|decrypt|verify|...) which are doing almost the same thing this is a strange behavior. When we look at the purpose of openssl_pkcs7_* (working with digital signatures in mail), you would not expect to work with files instead of strings for this few data. Regards, Paul