Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102958 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80635 invoked from network); 22 Jul 2018 18:52:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jul 2018 18:52:43 -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.218.51 as permitted sender) X-PHP-List-Original-Sender: jakub.php@gmail.com X-Host-Fingerprint: 209.85.218.51 mail-oi0-f51.google.com Received: from [209.85.218.51] ([209.85.218.51:45877] helo=mail-oi0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 99/20-12660-672D45B5 for ; Sun, 22 Jul 2018 14:52:41 -0400 Received: by mail-oi0-f51.google.com with SMTP id q11-v6so29583833oic.12 for ; Sun, 22 Jul 2018 11:52:38 -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=8w5NH3wefbFZWRX75Rrt5qmbgkACzRPUcZy2+qf0SOM=; b=r8PJzpgx+BlMy5yVgpbvqJUy2A18kS5VY5V6+MyQAlMfQ80Bk88XvS2V1OOoosAuTs PiTPHfePy2yiyiWiaoIR+/TXgRC8gSADuFxUUeGMCGwH3gi7C+CtIpsIN6OVe7OhGWAB CjArba1VpljsCLaB7RW58d2CkNp2dgNsngPQCAis0mgR9bGtMXDpATVH2NUi88WAuIoL 30e5y9M7sCLCagU7r/mokrMYUWk+07/PiTHyQLU0bKm8czgd7JrpZbpv5AVnbK8WLltH +PPas4Voexy4ruvr8ZV7rek8XEDdWJhWxEehqIX4FJ7kwcQPmNfq3iE0rsDQX001W2i/ Ycag== 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=8w5NH3wefbFZWRX75Rrt5qmbgkACzRPUcZy2+qf0SOM=; b=uNpV2Hs7NmpanQW5d/3CqAKOgxapKjjTBwxLYUSp/jsLCPiVhu3OHdZDs0cnHtiVmO /KVqmojIguKOjq9svdPPHMG1TdXGWs8+em955lltk5Z2Tr0PW7Ai9QO1GIzTepp/o40C /6w8E6/BVbH6J8HsUDrf61oKopqwJ0SRUStq9MnStN57y8PEeD5V4FmhVUKGrTS0795B zCRmMIkSHfBFrrg7yz8Bg6iSQ8fIGaPeybGbp3vnDY2U4TRhpzZ7pnBm/Gpr5srHGYhU kltH+on83zaRbViz2prGjTeDMPPw9zn/JG8UDJVJUJBXX711yWn/yoZpZGftsPfN5NAO b6bA== X-Gm-Message-State: AOUpUlFvxTfxGje8rsbbS+3zUVYgzEU6ji6yM4Jd+qAaamSHzkUOKc6C wbcJMvvCS04FXeU5qb8P50A8Wiswb8gn1Sy843nGJUDl X-Google-Smtp-Source: AAOMgpfE8ErdgbTcGfb3nowpEMItjD22SY+LULx4i0pJstrJucmBOgXW13nRuRpb45mTPSFHSVMoegeMbjEUl3gYxVo= X-Received: by 2002:aca:5004:: with SMTP id e4-v6mr6385078oib.111.1532285556385; Sun, 22 Jul 2018 11:52:36 -0700 (PDT) MIME-Version: 1.0 Sender: jakub.php@gmail.com Received: by 2002:ac9:20c3:0:0:0:0:0 with HTTP; Sun, 22 Jul 2018 11:52:35 -0700 (PDT) In-Reply-To: References: <8bb21db9-1f64-6520-68af-23840bba77ea@snowgarden.ch> Date: Sun, 22 Jul 2018 19:52:35 +0100 X-Google-Sender-Auth: MqTzUXDGO1XlxhrVLmvrioJhaYQ Message-ID: To: Niklas Keller Cc: Dominic Luechinger , PHP Internals Content-Type: multipart/alternative; boundary="0000000000004869f105719b085b" Subject: Re: [PHP-DEV] Improvements to openssl_crs_new. Need advice From: bukka@php.net (Jakub Zelenka) --0000000000004869f105719b085b Content-Type: text/plain; charset="UTF-8" On Thu, Jul 19, 2018 at 9:36 PM, Niklas Keller wrote: > Hey, > > I'd prefer a proper OO API in case we add new features in that area. > It would be nice but it's much more work as it would require quite a bit of changes in all csr functions and to make it consistent with other bits, we should also introduce objective API for other parts like x509. So unless you volunteer to do all the work anytime soon, I don't think we can have this as a requirement. I think it's actually still ok to accept any extending of the current functions because some parts of the implementation and tests could be then useful when when moving to the objective API and until then the functionality will be at least available to users. It might be also possibly that someone will do it all in PHP once the FFI is in (basically in kind of the same way as pyca cryptography) but that might take some time too... Cheers Jakub --0000000000004869f105719b085b--