Closed
Bug 1399099
Opened 8 years ago
Closed 8 years ago
Single-right quote in code signing certificate's friendly name/alias, rather than an apostrophe, is preventing users from signing jarfiles
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: francisco.torres100.civ, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0
Build ID: 20170803103124
Steps to reproduce:
When running the following command to sign jarfiles:
jarsigner -keystore ks -storepass changeit a.jar "ActivIdentity ActivClient0:CS <Agency>.<Unique Identifier>’s U.S. Government ID"
a non-ascii error is returned. The problem comes from a variable in the pipnss.properties file of the Firefox source:
mozilla-central > security > manager > locales > en-US > chrome > pipnss > pipnss.properties > nick_template = %s’s %s ID
This is an encoding issue(UTF-8). The single-right quote is a non-ascii character. Would it be possible to change the single-right quote to an apostrophe? Or remove " ’s" from nick_template entirely?
Actual results:
Here is an example from one of our customers:
jarsigner: Certificate chain not found for: ActivID ActivClient 1:CS.DLA.0508052637â??s U.S. Government ID. ActivID ActivClient 1:CS.DLA.0508052637â??s U.S. Government ID must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain.
Note where the single-right quote is supposed to be we get the following string:
" â??"
Expected results:
jar signed.
Summary: Single-right quote in code signing certificate's friendly name/alias rather than an apostrophe is preventing users from signing jarfiles → Single-right quote in code signing certificate's friendly name/alias, rather than an apostrophe, is preventing users from signing jarfiles
Please report the issue to jarsigner's developer (Oracle?)
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•