Bug 671269

Summary: javaws shows wrong publisher when prompting user
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: java-1.6.0-openjdkAssignee: Omair Majid <omajid>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 13CC: dbhole, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-01 11:52:21 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 677332    

Description Ville Skyttä 2011-01-20 17:22:51 EST
$ rpm -q java-1.6.0-openjdk
(IIRC happens also in F-14 but cannot verify that right now)

$ javaws http://portecle.sourceforge.net/webstart/portecle.jnlp

As expected, javaws prompts the user to accept the certificate this web start app is signed with because it cannot be verified (it's a self signed one), but while doing it, it shows the wrong publisher.

This app contains two jars: portecle.jar which is the main jar and signed with my key (Ville Skyttä), and bcprov.jar which is signed with my key as well as the Bouncy Castle one.  javaws should show "Publisher: Ville Skyttä" in the initial certificate acceptance prompt, but it shows "Publisher: The Legion of the Bouncy Castle".

However, "More information..." -> "Certificate Details" shows my certificate as it should.

javaws from both Oracle's and IBM's JRE's show the correct publisher in the initial acceptance prompt.
Comment 1 Tomas Hoger 2011-03-01 10:34:44 EST
I'm being told this was part of the larger problem - see bug #677332 - and should be fixed in the latest Fedora openjdk packages.  I'm seeing correct publisher with java-1.6.0-openjdk-
Comment 2 Ville Skyttä 2011-03-01 11:05:11 EST
I no longer have a F-13 box to test with, but the correct publisher is shown with on F-14.
Comment 3 Tomas Hoger 2011-03-01 11:52:21 EST
Thanks, I'm making this public and closing.