Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

publicsuffix library is out of date #79

Open
lgarron opened this issue Jun 7, 2016 · 5 comments
Open

publicsuffix library is out of date #79

lgarron opened this issue Jun 7, 2016 · 5 comments

Comments

@lgarron
Copy link
Collaborator

lgarron commented Jun 7, 2016

Today marks the second time I've received a submission that was rejected because the Go public suffix package was out of date.

We could:

  • Try to get the Go package to update more regularly.
  • Regenerate the local PSL data before running or deploying. (Requires regenerating Go source code? The documentation doesn't have a dynamic way to get the latest list.)
@nigeltao
Copy link

nigeltao commented Jun 9, 2016

Relevant discussion on the golang-dev mailing list: https://groups.google.com/d/topic/golang-dev/M2m31d1PUqI/discussion

@nharper
Copy link
Collaborator

nharper commented May 21, 2018

From reading that thread, we might want to consider using https://github.com/weppos/publicsuffix-go, which is updated more frequently.

@lgarron
Copy link
Collaborator Author

lgarron commented May 21, 2018

From reading that thread, we might want to consider using https://github.com/weppos/publicsuffix-go, which is updated more frequently.

Do you know the Google policy on referencing a third-party library like that, from a project like this?
Safest would be to vendor it in the repo (under /third_party, but then we still have to manually update something that is causing problems because it's not automatically updated. :-/

@bwbroersma
Copy link

Checking gov.nl on hstspreload.com currently gives an "Error: Cannot connect using TLS" instead of the expected "Error: Domain is a TLD or public suffix".

gov.nl was added in May 2022 to the Public Suffix List (PSL).

However it seems this package references:

require golang.org/x/net v0.0.0-20220805013720-a33c5aa5df48

And that has the PSL:
https://github.com/golang/net/blob/a33c5aa5df48/publicsuffix/table.go#L5

publicsuffix.org's public_suffix_list.dat, git revision 3c213aab32b3c014f171b1673d4ce9b5cd72bf1c (2021-11-26T23:05:53Z)

@lgarron
Copy link
Collaborator Author

lgarron commented Feb 14, 2023

Indeed, it would be worth updating that package. However, if you're responsible for gov.nl and want to preload, you'll have to send an email to be manually added, even if the PSL package is updated: https://hstspreload.org/?domain=gov.nl#tld

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

No branches or pull requests

4 participants