Req #68575 [NEW]: Upgrade cURL to at least 7.39.0 for pinnedpubkey support
From: scott at arciszewski dot me
Operating system: All
PHP version: Irrelevant
Package: cURL related
Bug Type: Feature/Change Request
Bug description:Upgrade cURL to at least 7.39.0 for pinnedpubkey support
Description:
------------
Curl 7.39.00 supports a --pinnedpubkey flag which allows you to pin the
public key used by the connection, and abort otherwise.
http://curl.haxx.se/docs/manpage.html
Test script:
---------------
<?php
// Desired usage:
$ch = curl_init("https://example.com");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_PINNED_PUBKEY, $pem_public_key);
$result = curl_exec($ch);
if ($result !== false) {
var_dump($result);
}
--
Edit bug report at https://bugs.php.net/bug.php?id=68575&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68575&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68575&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68575&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=68575&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=68575&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=68575&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=68575&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=68575&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=68575&r=support
Expected behavior: https://bugs.php.net/fix.php?id=68575&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=68575&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=68575&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=68575&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68575&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=68575&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=68575&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=68575&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=68575&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=68575&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=68575&r=mysqlcfg
Thread (12 messages)
- scott at arciszewski dot me
- ebc82ab1 at opayq dot comReq #68575 [Com]: Upgrade cURL to at least 7.39.0 for pinnedpubkey support
- scott at arciszewski dot meReq #68575 [Com]: Upgrade cURL to at least 7.39.0 for pinnedpubkey support
- cmb@php.netReq #68575 [Opn->Csd]: Upgrade cURL to at least 7.39.0 for pinnedpubkey support
- rugk at posteo dot deReq #68575 [Com]: Upgrade cURL to at least 7.39.0 for pinnedpubkey support
- cmb@php.netReq #68575 [Csd->ReO]: Upgrade cURL to at least 7.39.0 for pinnedpubkey support
- cmb@php.netReq #68575 [ReO]: Upgrade cURL to at least 7.39.0 for pinnedpubkey support
- rugk at posteo dot deReq #68575 [Com]: Upgrade cURL to at least 7.39.0 for pinnedpubkey support
- rugk at posteo dot deReq #68575 [Com]: Upgrade cURL to at least 7.39.0 for pinnedpubkey support
- rugk at posteo dot deReq #68575 [Com]: Upgrade cURL to at least 7.39.0 for pinnedpubkey support
- cmb@php.netReq #68575 [ReO]: Upgrade cURL to at least 7.39.0 for pinnedpubkey support
- cmb@php.netReq #68575 [ReO->Csd]: Upgrade cURL to at least 7.39.0 for pinnedpubkey support