Replies: 11 comments 18 replies
-
To clarify @JavaJoeS posting...wrt the OSGi SSLContext interface...the service interface is SSLContextFactory. ECF then has an OSGi service-based implementation of this interface that supports using the OSGi service registry to support dynamically adding and removing SSLContext providers (e.g. ones @JavaJoeS has created). The SSLContextFactory service interface (and impl if desired) could/would be contributed to the project willing to take it (e.g. osgi spec, equinox impl, Eclipse platform). Interface and impl are open to modification of course. The current usage of it is to set the ECF JRE provider's SSLContext when constructing an HttpClient: |
Beta Was this translation helpful? Give feedback.
-
What would it do for the Eclipse dev (and product) communities to have something new wrt platform security? Maybe time for a team/community effort?
|
Beta Was this translation helpful? Give feedback.
-
Maybe you/Ed/I don't need to know...as it could/would benefit other dev
community members.
Maybe its a new way of identifying the experts from the dev community
that's needed.
As for answers to your (and others) questions: again seems like bottom
up/dev community consensus/open collaboration/respect cooperation...in the
OSS tradition would be worth trying over same ol'.
Wrt expertise...me (eg SSLContext/OSGi and 15 years providing transport for
eclipse install. You. Joe. Thomas. Other new and old devs. I have
little doubt that there are plenty of potential stewards with relevant
expertise and experiences...given resources and access...ie not being
swamped/starved.
|
Beta Was this translation helpful? Give feedback.
-
In any way I think it would help to
From the recent discussions the main problem was that this seems to be a very specific area, and most people either don't need it or have other (maybe java standard?) ways to accomplish the goal, if I look at the marketplace metrics it show 15 installs and 5 click in this year (not sure if there is more details available) |
Beta Was this translation helpful? Give feedback.
-
After reading the OSGI docs, paragraph 2 is "SECURITY". Subparagraph 2.2.2 is "OPTIONAL SECURITY". In eclipse at this moment we dont have an option. We do have lots of internet endpoints without ANY regard for security. My PKI at least will provide those that wish to use it, that option. Simply put, eclipse will have the option of an SSLContext as specified in JAVA SECURITY ARCHITECHTURE JSA, documented in the OSGI spec. Build it and they will come! |
Beta Was this translation helpful? Give feedback.
-
https://github.com/JavaJoeS/PkiBundle/tree/main/pki Where should these bundles live? Update Site: |
Beta Was this translation helpful? Give feedback.
-
This issue has gone quickly off the rails. @JavaJoeS is suggesting some directional improvements wrt Eclipse Security strategy...e.g. support for new client-server encryption protocols, new trust models...yes client auth but also e2e encryption/communitcation/trust, UI for Eclipse user and security configuration/trust mgmt of non client-server and client server, other things). He has done work in these directions that he is willing to contribute. The reception here has so far been akin to: where is the completed-ready-to-merge fix from our existing bug list?...and why would you want to add anything to that list? While I understand as @merks says that everyone is permanently swamped...as that is the default now for remaining active long-time committers...I would hope for more latitude when members of the dev community try to begin a public discussion about areas for innovation wrt Eclipse Security. |
Beta Was this translation helpful? Give feedback.
-
On Mon, Dec 16, 2024, 10:19 PM Mickael Istria ***@***.***> wrote:
The discussion is actively going on.
Where? Can the actual devs (users and committers) be involved rather than
dictated to?
Those questions are important, and it's too bad if they seem to be missing
"latitude", but security is too critical to just handle it with "latitude",
Geez. Yeah sure..that's what I (or anyone) is suggesting...just accept
anything. Maybe its too crtical (to the community) to be left to the usual
players and process.
we have to build trust, to set up plans, audit, to commit to immediate
maintenance...
The question is: who is we? Are you/anyone buillding trust with the os
dev community? If so, how?
It's much more than just fixing a typo.
Oh really? I didn't know that.
|
Beta Was this translation helpful? Give feedback.
-
Some questions that the description doesn't answer and that leave use unsure are:
|
Beta Was this translation helpful? Give feedback.
-
Answers to some of the 'why OSGi/Equinox/Eclipse' questions from @mickaelistria
By 'Scott seemed to think it was a good home' this is what was meant: In the ECF httpclient provider (and others), the way to configure the HttpClient is via HttpClient.Builder.sslContext method, which takes a non-null SSLContext instance for security configuration of the HttpClient upon construction. How does one get/create/configure an SSLContext instance? Currently it's via static methods on the vm SSLContext class. The point of the SSLContextFactory is to make the retrieval of an SSLContext instance dynamic and extensible by using the OSGi service registry...and to allow new Provider implementations (like Joe's). The usage of this service is now in the httpclient provider. However, declaring the SSLSocketFactory service interface in ECF means that a) that ECF has to create/configure the service implementation...without accessing any Eclipse UI; |
Beta Was this translation helpful? Give feedback.
-
@tjwatson @scottslewis
Im seeking an eclipse home for an eclipse security project to provide SSLContext. I have 2 base bundles that currently reside in
Eclipse Marketplace called PKI and they provide a basis for an SSLContext instance with PKCS11 or PKCS12 protocol.
Scott has developed an OSGI SSLContext interface that utilizes a default context that can be created via PKI bundles.
Beta Was this translation helpful? Give feedback.
All reactions