Skip to content

Conversation

Synchro
Copy link
Contributor

@Synchro Synchro commented Jan 3, 2017

@krakjoe krakjoe added the RFC label Jan 4, 2017
@Synchro
Copy link
Contributor Author

Synchro commented Jan 4, 2017

I'm stuck progressing this - the subscriptions page is broken, so I can't subscribe to internals@ in order to move this on. Do you know who can fix that?

screen shot 2017-01-04 at 11 46 59

@krakjoe
Copy link
Member

krakjoe commented Jan 4, 2017

We are aware of issues, I would assume they are in the process of being fixed ... don't worry, nobody is going to close the PR :)

/cc @Tyrael @dsp @johannes @bjori any input on these issues, can I do anything to help ?

@johannes
Copy link
Member

johannes commented Jan 5, 2017

(sidenote: you should be able to subscribe by sending a mail to php-internals-subscribe@lists....)

@Synchro
Copy link
Contributor Author

Synchro commented Jan 5, 2017

Looks like subscriptions are working now, thanks for the tips.

@Synchro
Copy link
Contributor Author

Synchro commented Jan 5, 2017

I spoke too soon - though the subscriptions page doesn't give an error any more, it doesn't send me a confirmation message. Sending to php-internals-subscribe@lists.php.net bounces; mail to internals-subscribe@lists.php.net worked, but I've not received anything back at all, from any of these mechanisms, no delivery attempts in my mail server logs.

@krakjoe
Copy link
Member

krakjoe commented Jan 5, 2017

Tried the subscribe page again, it looks up to me now ?

@Synchro
Copy link
Contributor Author

Synchro commented Jan 5, 2017

The page is up, and says it is ok if you submit a request, but nothing is actually sent. listserv addresses don't respond either.

@krakjoe
Copy link
Member

krakjoe commented Jan 7, 2017

@Synchro our systems seem to be working (re internals), have you had any luck yet ?

@Synchro
Copy link
Contributor Author

Synchro commented Jan 7, 2017

It's giving the same error I posted above again now. Tried both my normal and gmail addresses.

@krakjoe
Copy link
Member

krakjoe commented Jan 7, 2017

/cc @Tyrael @dsp @johannes @bjori sorry to ping you all again, but I feel pretty useless here, and this is obviously frustrating for @Synchro

@krakjoe
Copy link
Member

krakjoe commented Jan 11, 2017

@Synchro the spam filters are temporarily disabled, it may be worth having another go ?

@Synchro
Copy link
Contributor Author

Synchro commented Jan 11, 2017

Had another go - still giving that error. It would be odd for this to be affected by spam filters - it's an outbound, system-generated message, not normally the kind of thing you'd filter.

@krakjoe
Copy link
Member

krakjoe commented Jan 11, 2017

Everything seemed to be broken, thought it was worth another shot ... sorry you are still waiting ...

/cc @johannes @Tyrael @dsp @bjori (sorry for pinging again ...)

@Synchro
Copy link
Contributor Author

Synchro commented Jan 18, 2017

Still down 😢

@nikic
Copy link
Member

nikic commented Jan 18, 2017

While the ML issue still needs to be fixed ... I don't think this change requires an RFC or even internals discussion. This is just adding support for a standardized DNS record type we did not previously handle.

Someone just needs to review and test this and it should be good to go.

@Synchro
Copy link
Contributor Author

Synchro commented Jan 18, 2017

Well that's good to hear, @nikic! While it works for me, and the tests run OK, it could definitely use a review as I know very little about PHP internals. It would also be better to get it to run the tests against a PHP domain rather than google, but that obviously requires that the domain have a reliable CAA record, though it could just be made up of course. I can write docs to go with it too.

@krakjoe
Copy link
Member

krakjoe commented Jan 18, 2017

I'm not entirely convinced it is a standard record at all, I don't see a way to create one in google domains. In addition this says it is ignored by some CA's, including very popular ones.

Since we obviously don't know why it's not widely used, I think a discussion is in order: If this is destined to be ignored, or superseded by something else, we might be wasting time adding support for it.

Opinions are incoming ... I seem to be wrong ;)

@DaveRandom
Copy link
Contributor

DaveRandom commented Jan 18, 2017

Summarising a discussion from elsewhere:

  • This is a standard record, albeit a fairly recent one
  • Most CAs currently do not implement this, meaning it's not currently as useful as it could be (according to comments in this thread it may be that only Let's Encrypt currently respect it)
  • This is not, in my opinion, a valid reason reject an implementation in PHP at this time, it still potentially has real-world uses right now:
    • SSL client applications could use this record as an extra SSL verification step in userland, potentially allowing for a higher level of security in applications where that is required.
    • It would be useful if someone decided to implement a CA web interface, or certificate generation scripts, in PHP.

@krakjoe
Copy link
Member

krakjoe commented Jan 18, 2017

Very happy to be wrong about that ... I wanted a discussion and got one, of sorts ... so 👍 from me ...

Can someone do some testing, possibly design a test, possibly poke someone at systems to add a record to a machine we control ... would feel better about merging if it has a test in our suite, but someone saying they have tested it on their own network will suffice.

@Synchro
Copy link
Contributor Author

Synchro commented Jan 18, 2017

(thanks @DaveRandom - I was busy writing this when you posted, but I'll post anyway...)

It's been around for 3 years and it's definitely a standard - RFC6844. It's one of those things that you can't start using until your tools support it, and given the number of control-panel type apps written in PHP, it would be useful in PHP.

It's designed specifically to avoid certificate mis-issuance problems like this and this. It provides a partial alternative to HPKP, which is difficult, risky, and limited to HTTP - CAA also applies to email and many other protocols that can use TLS.

Support for it is growing - it was just added to Qualys' SSL Labs test suite, letsencrypt added it, most major DNS servers have added support. Major CAs have announced support for it (they were part of the standards body that defined it) including Actalis, ANF, Buypass, Chunghwa Telecom, Comodo, DigiCert, Disig, Entrust, GlobalSign, GoDaddy, Google, Logius PKIoverheid, Microsoft, Mozilla, Opentrust, Opera, SECOM Trust Systems, SSC, Symantec, Thawte, Trend Micro, Trustis, TWCA, WoSign, etc.

@Synchro
Copy link
Contributor Author

Synchro commented Jan 18, 2017

While working on this, I found that Pear's Net_DNS2 package had support for CAA, though I was apparently the first to ever use it, since it was broken!

@krakjoe krakjoe self-assigned this Jan 18, 2017
@krakjoe krakjoe added Feature and removed RFC labels Jan 18, 2017
@krakjoe
Copy link
Member

krakjoe commented Jan 18, 2017

Since there is a test, although using external servers, and since I've tested, and since CI passed, and since you've been waiting two weeks for action that could have taken a day, I've merged.

280e9cb

Thanks, sorry about the wait ;)

@krakjoe krakjoe closed this Jan 18, 2017
@Synchro
Copy link
Contributor Author

Synchro commented Jan 18, 2017

Thank you! My first php-src contrib! I'll see about docs to go with it now.

@krakjoe
Copy link
Member

krakjoe commented Jan 18, 2017

If you do the docs change on edit.php.net and ping me on this thread, I'll merge that for you

@Synchro
Copy link
Contributor Author

Synchro commented Jan 18, 2017

@krakjoe Thanks - I'm not quite sure if I did it right, but it's here. Fixed one other mistake in there too.

@krakjoe
Copy link
Member

krakjoe commented Jan 18, 2017

@Synchro found it, merged, thanks ;)

@nikic
Copy link
Member

nikic commented Jan 18, 2017

@Synchro Please also add an entry to the changelog lower on the page.

@Synchro
Copy link
Contributor Author

Synchro commented Jan 18, 2017

It looks like my earlier edit was accepted, thanks. I've added a changelog entry - I don't know what version this will go into, so I took a guess at 7.2.0 - or would it be rolled into 7.1.x?

@krakjoe
Copy link
Member

krakjoe commented Jan 18, 2017

It will be in 7.0.16+

@Synchro
Copy link
Contributor Author

Synchro commented Jan 18, 2017

OK, that's done. Thanks everyone for helping out on this.

@krakjoe
Copy link
Member

krakjoe commented Jan 19, 2017

Committed changelog, thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants