Re:Gogs: a self-hosted Git Service written in Go
by Alupis on Saturday August 23, 2014 @11:23PM
(#8217582)
you can bundle the jre into your executable to remove all foreign deps
[ Parent
| on HN ]
Re:Gogs: a self-hosted Git Service written in Go
by adrusi on Sunday August 24, 2014 @01:29AM
(#8217801)
Which is a security risk in that the jre can't be updated without an update to your product. Granted the same applies to go since it statically links to its runtime.
Re:Gogs: a self-hosted Git Service written in Go
by hueving on Sunday August 24, 2014 @08:16AM
(#8218362)
Not really a security risk if you think of it like an embedded library in your software. A JRE vulnerability is then just like a vulnerability in the app itself and the vendor needs to update it.
Re:Gogs: a self-hosted Git Service written in Go
by _delirium on Sunday August 24, 2014 @01:40PM
(#8219112)
The majority of JRE vulnerabilities are also not really relevant to a local app in the first place. They're sandbox vulnerabilities that let carefully crafted applets break out of the sandbox and execute arbitrary code. But regularly installed desktop/server software doesn't run in the applet sandbox, and is already assumed to be able to execute arbitrary code.