Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110130 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 24793 invoked from network); 11 May 2020 12:09:01 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 11 May 2020 12:09:01 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 79206180088 for ; Mon, 11 May 2020 03:45:23 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS8560 212.227.0.0/16 X-Spam-Virus: No X-Envelope-From: Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 11 May 2020 03:45:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1589193918; bh=T9zoUEmpsWldh1aDaot5dDDDuK6FYl+6TgUUCGcp3uU=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=B8EWme/tO2VSvuQmjGpw/lRXYGZRlMueiZ73MRSu7vQrCInyhBWu81XkXLjIQVaUb fnJcqgjt230DeRdnkRuWZ6sMplo/m7xRA9eaPmPPad1vObtadodPiC1hKHw2n9cQ+o h20j/PxOWR23UEnPWsQ1tdEph3zReVa7lTfi8xIM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.2.130] ([91.8.164.71]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MwwZX-1jAOAw3SQt-00yN0e; Mon, 11 May 2020 12:45:17 +0200 To: Eliot Lear , internals@lists.php.net References: Message-ID: <8c7f1f4d-e12f-7bd6-73e8-a491937e46b2@gmx.de> Date: Mon, 11 May 2020 12:45:14 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:sYfOKbMMtY1Xnd6YWxGnvCcqnpfwahPoZCexHg/EFnf46YJypYM mTVtiB8kLNQ2itJBfrARBAt8qZAAdXpzn8OFdIvZ2n47ivogTAt0D75B07Y8pjW5vEag6kd IM/xNK8SqelLP/i5wPeKfiDwjCQNdJXNxMmgxLAebIIhjtbB8ASwPz4PeUjxnzNkZ1w9jlF DuaT65PLbhXQ2NHtTcGiw== X-UI-Out-Filterresults: notjunk:1;V03:K0:lSEcrGvrU88=:/E2XtG8gaWHUlLJ+Q+lQ01 euBBjovGfnlHhpbRosgTC5QVzNXiB9nsftVnQTf1EL68sE1jnx8pMADRqGrNqUkdC+gl4gWTH LJFBZNjJVlwJL7skZUdI+676vdVCpXfl6Xe/ZQarJJS/UEcKGJZAqYtPBd4OO4GBKZX2b15Gp oHSD/NkyWTuj87dsi/cgeShrp1bgILPJ6TghWPpsqpgbTE9gMtycQ6tOhHqVkGYRVrLg8awBU EevlyI/X3FSq2XzxMimcfzKSr8HSGyCz3HMeIHxYidgJxwcY/N/QvrsjGIPbt1m5Zr7QWTFJM YkzLv5FxjuaSDZ+/JReIg0120C8Sf3W01tXO0kauVwaSF7emcpdT74JBaoutgdijYoCjqu6bP nE+fLBKUsJ/wS/cw5MVpLyZYGXSkWDPCWpuQP+0xa2cTlrVH8q8pV7iOB64UwK4xhR6CaJZbm ab9zH4vmbmgssAgjgbI32Ncfr4WcHH43Hz6gf7GdlmHDFA5ZnOyL4o9rqL/RL3EZfCFgjvJFY 8H4LVarxni9Aqy31/RfOXxILvEF0fi8o40FyhNAyZFHypxkpVYpvLRRYv6DxLw/ytnDkbEnLC EZT4jW84GkHidaGJBjSVbGJYKkkdENJakYVo75KOAWl+1CItGQ3biVMnxJI0C7XtyuAqjww7Q +WF8TPxojSlNtVadkD3eWJwGBDv9SQsf3PIkwT5azx1v702srVS0JCvdcLcUm+u/yqVWLHRip LWhivJfwP/5J+D7po2WzkpHQ+1DuOFLS3wsWHeD32ehqWZYTfcWgm83RtCzZZcuaGlIwH9bZp /XB7f8wrvmae2TCSsZP8TC9WPQWmNtemj7K55wLMRz8QEKpB3da7xpfQlOhQa2PUe6ov+el6m byPA41dxc0SsktsxIHBoGvONMAqB5bO2L1cnqlMG3v3DqVPS4ICvsOmnRy4P1jZAGmKD/pHBC zcoLPAwrvPrT83uKKrxLU5nq32fVtQARgYrHNRyS155ry5o4w6b2k8IO8IHBqQ8UTOmAeTb/f zvgxhyURU5Ogxi3lAh/UfewBCoVSSWb8WedVLOckIjdeVasqRH17eyKZ5EqD4N339OEy/ROdQ AAqvhyxws76SQifin3mWbAZqV9FB9ddpWOFmkmCiiZwxY7wSEcnKmHAMiK3WAXkLRec55DMB+ D9N9ys22wRAfOhTo7sCjZ7fK09sDNBMHciIOfA7GtNrAiGMzAEXPtsFtk+VK1c6pg076b9I1n u131pHz3TD9w+8zwd Subject: Re: PR #5251 adds support for CMS (RFC5662) From: cmbecker69@gmx.de ("Christoph M. Becker") On 11.05.2020 at 11:59, Eliot Lear wrote: > Hi everyone, > > I am new to the PHP development process, so please forgive me if I have > this wrong. > > In PR #5251[1] I=E2=80=99ve created OpenSSL CMS functions that are nearl= y direct > analogues to the openssl PKCS#7 functions.=C2=A0 Cryptographic Message S= yntax > is defined in RFC 5652[2], and is a follow-on to PKCS#7.=C2=A0 These > functions are useful to developers who are creating or verifying > PKI-based signatures (this is the case for me or anyone else who is > implementing or deploying RFC 8520[3]), and there are other IoT services > that are using CMS as well (not to mention certain modern mailing system= s). > > There are one or two changes- one can specify the encoding format as an > argument, for instance, and error out out the use of DETACHED with > S/MIME encoding, as nobody seems to know what that would mean. > > I=E2=80=99ve been working with Jakub and others who have been very gener= ous with > their time on code reviews.=C2=A0 I would be grateful for any additional > feedback you would have, with an eye toward merging this PR.=C2=A0 The P= R is > already marked as RFC I have not yet formalized that.(*) > > Best regards, > > Eliot > > (*) I tried adding an RFC page on the wiki, but sensibly, as I just > created the account, the system did not permit me to do so. > > [1] https://github.com/php/php-src/pull/5251 > [2] https://www.rfc-editor.org/rfc/rfc5652.html > [3] https://www.rfc-editor.org/rfc/rfc8520.html Thanks for working on CMS support! I have granted you RFC karma. Best of luck with the RFC. :) =2D- Christoph M. Becker