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   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-01 16:52:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 677332    

Description Ville Skyttä 2011-01-20 22:22:51 UTC
$ rpm -q java-1.6.0-openjdk
java-1.6.0-openjdk-1.6.0.0-48.1.8.4.fc13.x86_64
(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 15:34:44 UTC
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-1.6.0.0-50.1.8.7.fc13.

Comment 2 Ville Skyttä 2011-03-01 16:05:11 UTC
I no longer have a F-13 box to test with, but the correct publisher is shown with 1.6.0.0-52.1.9.7.fc14.x86_64 on F-14.

Comment 3 Tomas Hoger 2011-03-01 16:52:21 UTC
Thanks, I'm making this public and closing.