Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110147 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 99139 invoked from network); 12 May 2020 16:33:45 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 12 May 2020 16:33:45 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 78B121804D3 for ; Tue, 12 May 2020 08:10:26 -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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-il1-f181.google.com (mail-il1-f181.google.com [209.85.166.181]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 12 May 2020 08:10:26 -0700 (PDT) Received: by mail-il1-f181.google.com with SMTP id j3so278300ilk.11 for ; Tue, 12 May 2020 08:10:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=f2dsc7TlwPLyiGbhOWudaqiA0AO6eKNnvbrWJB8bAzo=; b=tBrWGn2uWG3bSWBy9qkKxL1v3xUKx+uMkArmdh4zG2N64yn7+uuzCNtXSQMVNIOGNJ ABUx+FbVnI6pJltebg0077TO7/xs+laIhmaUFltumoailis43ZrGqbQSxnzCU0sjmFiW gLcoame0CufH1bNgmoEfVJm71rcoCwyW7CoxHKZFTfrWv2s7Ucqa9u3JaTZBPCpjle/C bce7pvRLOJNic4s9kH/z8j2Cz1xIx8uk48HkdI0yrkCCsIMorinO+OMq1A4MGv3ozjzw Lum1qYZZBB0eh/DQIZZeVuoHMdU5XJskfepxHB+P99qE0f5zWLva1XpC6b02MSHV7wEQ Zslw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=f2dsc7TlwPLyiGbhOWudaqiA0AO6eKNnvbrWJB8bAzo=; b=fX4zW+6evBCYHES9UGU3ietApG7QKAVYZrXucAtIgxEC2GYdyCh3OVxrsqonA+NJmc ODHQpt+LojeN6GP6k4sh/JOHcFjKkb1l2FHl14VKsgefrlr2pOplkXTL8uIlml1ElhFE rxGQ3aODlc67raCWfm+DWY7yzYvc8nUlxzdwJlIEkzyftCGzUSRpMYzlXVOvjWLlmLsQ QGhQ2vDvqwMa+US4VH9xnUs4tXhO3fIcvfXUxeAQjiv9LXDcIxxuDtOedKy+UXKhMKwD fMKoHIfu6QpwDEErrKErzYB9caOGF34/K4NsbHi+DZ5vXtbqmG6VjpyWBHsUrt3eML7B Sgwg== X-Gm-Message-State: AGi0PuZs7X+7qY9M5hwd1Wyh+ETjhAWqUhKPulyB5mGAAtz2v2wm4KTQ FL/VJa+INfTAtCFt944r2t9ze7+tw94pZ4THc68= X-Google-Smtp-Source: APiQypLtZlwInlHj43W+zNKKTblhIrNOb0gcSdaUYBvDT1WYuOHW6+amrYUktTxh351GHcVMKXtcq63YsOPO8WYE4dM= X-Received: by 2002:a92:dac8:: with SMTP id o8mr20923076ilq.189.1589296225319; Tue, 12 May 2020 08:10:25 -0700 (PDT) MIME-Version: 1.0 References: <8c7f1f4d-e12f-7bd6-73e8-a491937e46b2@gmx.de> In-Reply-To: <8c7f1f4d-e12f-7bd6-73e8-a491937e46b2@gmx.de> Date: Tue, 12 May 2020 17:10:10 +0200 Message-ID: To: "Christoph M. Becker" Cc: Eliot Lear , PHP internals Content-Type: multipart/alternative; boundary="000000000000f4035e05a574dc75" Subject: Re: [PHP-DEV] Re: PR #5251 adds support for CMS (RFC5662) From: george.banyard@gmail.com ("G. P. B.") --000000000000f4035e05a574dc75 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 11 May 2020 at 12:45, Christoph M. Becker wrote= : > 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 near= ly direct > > analogues to the openssl PKCS#7 functions. Cryptographic Message Synta= x > > is defined in RFC 5652[2], and is a follow-on to PKCS#7. 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 service= s > > that are using CMS as well (not to mention certain modern mailing > systems). > > > > 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 gene= rous with > > their time on code reviews. I would be grateful for any additional > > feedback you would have, with an eye toward merging this PR. The PR 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. :) > > -- > Christoph M. Becker > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > Does this really require an RFC? This seems like just exposing some underlying functionality from OpenSSL to userland which I wouldn't have expected to need an RFC to be added. Best regards George P. Banyard --000000000000f4035e05a574dc75--