Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99494 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23875 invoked from network); 11 Jun 2017 17:45:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jun 2017 17:45:23 -0000 Authentication-Results: pb1.pair.com header.from=jakub.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=jakub.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.173 as permitted sender) X-PHP-List-Original-Sender: jakub.php@gmail.com X-Host-Fingerprint: 209.85.213.173 mail-yb0-f173.google.com Received: from [209.85.213.173] ([209.85.213.173:36308] helo=mail-yb0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id ED/FD-01593-1B18D395 for ; Sun, 11 Jun 2017 13:45:22 -0400 Received: by mail-yb0-f173.google.com with SMTP id o9so23142090yba.3 for ; Sun, 11 Jun 2017 10:45:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=GSceuG+XTgd5d+3edpPpq55dN3fPqlOuaZZw5OYlgwI=; b=nDHOw9BVEglu43DPE4g9sis2y18c6RSOGiVy2tVdKTBxagr1meBWRj4KXmsNPsTmVs MW8lFAqUH9/PQ6LJQPInoEr4+9istXBPFcNYc4wkiK1Kwq9VNlIlce4EM2xB0jLprglA 3nGzUfPo34jP0nJ2LvZfRIw+WWDmgw6lfm7rKjjcc+3i5bsHkeF9VnauMJ9U6W2TO2ca 0/4CBOeZ1y4aud5t+il+hImFsXZUvXmuNGd9d0cL7SR1gpoqKk83mbSX9QbRqAmNPcU0 gG/LgNB0fd7EE8o/LpqXY4yPR+aU20NSvGSk1ivbhAvyyD3w8BrO9naKrVCq6uGwCNlN 7gag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=GSceuG+XTgd5d+3edpPpq55dN3fPqlOuaZZw5OYlgwI=; b=gPkJeLoX0urZdhEl8CKyjYEFwpjmsGRZyosZ2fhJhHvJCbnu7v0XeQC02G9ic47jcr q5tgI7965K+nVWKyGtWaagzoieOznplOOBUA5IKgqU0WnOwUd9hROPtjejHk8hFhdoz0 aIHgoGzj1M1o8EhfwaS8i9mPgRfHbxXOzoWLuU34hDl9htZes5cQbCxpX4dj0zbAt5gR LRH+DWn2i4gr60yOhj9cL3Q1il60VhAjBPPPNqSMoR2qdnI7MGYUQoSH8Z8vzOYcoOkI ANBFOadSff6crxOYBIEExRE873ksFVR1iG6sFD4N3EnyYATxiTUx7B96NJLcwWStwxtT WohQ== X-Gm-Message-State: AODbwcBq+hyX8hh4zGScF19jwF+V9sDvhHcfHgq55e2bigQgJMIrIcNe qyki1+9JXw81BzHFJVuTHvCs/OcAxGfP X-Received: by 10.37.231.203 with SMTP id e194mr20612379ybh.166.1497203118575; Sun, 11 Jun 2017 10:45:18 -0700 (PDT) MIME-Version: 1.0 Sender: jakub.php@gmail.com Received: by 10.129.85.151 with HTTP; Sun, 11 Jun 2017 10:45:18 -0700 (PDT) In-Reply-To: <20170607125449.GA9868@gmail.com> References: <20170531101952.GB26690@gmail.com> <20170604182219.GA6723@gmail.com> <20170607125449.GA9868@gmail.com> Date: Sun, 11 Jun 2017 18:45:18 +0100 X-Google-Sender-Auth: 1S8OZMrAUhyANWFtsVdLojowXKw Message-ID: To: Jelle van der Waa Cc: php-internals Content-Type: multipart/alternative; boundary="94eb2c0b20580a179c0551b2c461" Subject: Re: [PHP-DEV] [RFC] Add openssl_pkcs7_read and extend openssl_pkcs7_verify From: bukka@php.net (Jakub Zelenka) --94eb2c0b20580a179c0551b2c461 Content-Type: text/plain; charset="UTF-8" Hi, On Wed, Jun 7, 2017 at 1:54 PM, Jelle van der Waa wrote: > > > Another thing I would want to work on is making the openssl_pkcs7_* > functions in memory instead of file based. This would increase the > security concerns since that means it won't save plaintext temporarily to > file. > > An attempt for that has been made in a PR, but was closed. Is the PR on > the right 'track' or can the current functions change to accept either a > string or a filename? (I'm not 100% if PHP internals allow that) or if > it's really wanted. [1] > > [1] https://github.com/php/php-src/pull/560 > > I think that it makes sense to add it. Just one correction to my comment in that PR. It seems probably more consistent with reference as it like that in *_export_to_file functions. Probably best to create a PR and then send a new email (new thread) and just wait a little bit ;) Cheers Jakub --94eb2c0b20580a179c0551b2c461--