Greetings,
If there were some guarantee or even a reasonable expectation of a quick
response after requesting validation then I'd be more inclined to accept
such a restriction. I am uncomfortable depending on the portal for
critical bug fixes in a timely fashion.
Further comments inline.
-ernie
On 7/6/2020 10:13 AM, Jaroslav Tulach wrote:
Hi.
Recently I have noticed discussion explaining how to bypass NetBeans Plugin
Portal. The
usual way is to create a NetBeans module extension to provide own update center
definition and register it in NetBeans Plugin Portal. Once a user downloads
such module,
the provided update center gets activated and can distribute new updates or new
modules.
Isn't this a security thread? Shouldn't we ban modules that register own update
centers?
When we worked on designing the new update center based on Maven central
repository,
I wanted to benefit from the organizational structure of Maven repository:
- identity of people who publish there is known to some extent
- it is not possible to alter once published content
- there are sources next to each published module
With such constraints we can more properly verify what 3rd party NetBeans
extensions do
before we approve them..
I can think of ways, easy ways, to put security violations into a module
on the plugin portal. Saying that installing a module, and looking at it
for a few minutes (if that long) mitigates security threats from the
module is a joke. Might the testing/validation be more extensive than I
suspect?
With modules that bypass our Plugin Portal by installing their
own catalog, we loose any control. Owners of such catalogs can publish
anything, anytime
to anyone
That's not true. Only the people who install that plugin are susceptible
to malfeasance.
and change that whenever they want. It's just a matter of time till somebody
exploits that.
Shouldn't we require 3rd party modules available via the default NetBeans
Update center
to avoid such bypassing and always release new versions via Maven Central and
NetBeans
Plugin Portal?
How about only supporting update centers that download from maven
central? Since using Maven Central seems to be the primary method of
security, this would seem to satisfy security considerations and still
allow timely updates.
And are there related RCP issues?
-ernie
PS.
Speaking of PP3, it has two uses. First is building a catalog, second is
as a place to look for plugins and/or get information on plugin before
downloading them. User browsing has issues,
see http://mail-archives.apache.org/mod_mbox/netbeans-dev/202006.mbox/%3Cc24e9f9e-da9b-e2ab-5ac3-f5fb9b4c750b%40raelity.com%3E
-jt
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists