x/website: talks.godoc.org's present server still relies on defunct RawGit service #46469
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
website
Milestone
One can (and the likes of Dave Cheney do) point
talks.godoc.org
to one'spresent
slideshow hosted on GitHub. The slideshow then runs on the server, which obviates the need for installing and running thepresent
command on one's local machine. For instance, see https://talks.godoc.org/github.com/jub0bs/poc_present/main.slide.However, I noticed that SVG assets hosted
raw.githubusercontent.com
see their URL's host rewritten torawgithub.com
. https://rawgithub.com permanently redirects to https://rawgit.com, which states that the RawGit project is reaching the end of its life:(my emphasis)
As a result of this URL rewrite and the RawGit project's status, such SVG assets fail to load (with a
403
response status) inpresent
slides run ontalks.godoc.org
; for instance, see https://talks.godoc.org/github.com/jub0bs/poc_present/main.slide#2:Note: a WHOIS lookup confirms that
godoc.org
is owned by Google;talks.godoc.org
is maintained by @dmitshur.I tracked down the offending URL rewrite to the
golang/gddo
project, but that project is marked as archived and no longer accepts issues or pull requests. I privately reached out to @julieqiu for guidance on Gophers Slack, who suggested I open an issue about this here.Relying on RawGit despite its sunset status may have security implications: when RawGit becomes truly defunct, its domain names may be acquired by a malevolent actor who could serve arbitrary SVGs in place of the slideshow's authors'. I've privately reached out to Ryan Grove (RawGit's author) on Twitter, who indicated he has no plans to let domain names
rawgithub.com
andrawgit.com
lapse any time soon, but his plans may change, especially if the cost of ownership becomes prohibitive.Moreover, the ability to run a slideshow on https://talks.godoc.org is valuable to the community, and isn't yet (AFAIK) supported on https://pkg.go.dev. Fixing this issue (by no longer relying on RawGit) would be a good thing.
The text was updated successfully, but these errors were encountered: