| Summary: | SecurityException FileDialog signer information does not match signer information of other classes in the same package | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Leandro Prusch <prusch> |
| Component: | Incubator | Assignee: | Project Inbox <rap.incubator-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | mknauer |
| Version: | 2.0 | ||
| Target Milestone: | --- | ||
| Hardware: | Macintosh | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
|
Description
Leandro Prusch
Hi Leandro, can you provide the exact version numbers of the bundles and the location where you downloaded the bundles (e.g. p2 repository URL etc.). That'll help me to track down the problem. Thanks... Hello Markus, My target definition: RAP 2.1 - http://download.eclipse.org/rt/rap/2.1 RAP SDSK version is 2.1.0.20130318-2137 FileUpload - http://download.eclipse.org/rt/rap/incubator/nightly/fileupload RAP File Upload Support (Incubation) version is 2.0.0.20130302-1418 Let me know if you need more info. The problem is that (at the moment!) the nightly builds of the RAP project and the RAP Incubator projects are not signed. There are plans to change this and to have all of them signed by default, but we are not there yet. RAP release builds and RAP milestone builds are signed. If you are combining a signed RAP (milestone, release) build with an unsigned RAP Incubator component that exports the same Java package you'll get a SecurityException. Option 1: Use only unsigned builds for both, RAP and the RAP Incubator. You can do this by switching to the nightly builds for both. Option 2: Remove the cryptographic signature from the main RAP bundles manually. Option 3: I (manually!) created a signed version of the filedialog bundles in p2 repository http://download.eclipse.org/rt/rap/incubator/2.0/fileupload/ - let me know if this works for you. It worked switching to all nightly builds. Can you tell me how to sign the jars? From what I googled, I need a private key for doing that. Is this something I can get somewhere, or is it really private to the bundle's developers? Thanks a lot Markus! |