New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 722646 link

Starred by 1 user

Issue metadata

Status: Duplicate
Owner:
Last visit > 30 days ago
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug-Regression



Sign in to add a comment

PKCS#12 certificate import crashes Chrome

Project Member Reported by cernekee@chromium.org, May 16 2017

Issue description

Chrome Version: 60.0.3099.0
Chrome OS dev channel, version 9553.0.0, on veyron_minnie

What steps will reproduce the problem?
(1) Go to chrome://settings/certificates
(2) Import and bind to device
(3) Enter an empty password (client1.p12) or "password" (client1-password.p12)

Chrome displays an "Incorrect password" error if the password is wrong, and crashes if the password is correct.  Log:

[9100:9100:0516/095538.436629:ERROR:nsPKCS12Blob.cpp(270)] PKCS#12 import failed with error -8177

This looks like NSS error:

SEC_ERROR_BAD_PASSWORD                      =   SEC_ERROR_BASE + 15,

The problem is 100% reproducible for me, but if it doesn't happen for you, I'll try to get a minidump and stacktrace.

The PKCS#12 files were generated using openssl, and this process used to work with Chrome:

openssl pkcs12 -export -out cyan.p12 -inkey cyan.pem -in cyan.pem -certfile cacert.pem
 
client1.p12
4.2 KB Download
client1-password.p12
4.2 KB Download
Cc: steve...@chromium.org
Status: Available (was: Untriaged)
stevenjb/dpapad do you know who can look into this?
Cc: dpa...@chromium.org
The crash may be the same as issue 724470

Labels: M-60
Owner: cernekee@chromium.org
Status: Assigned (was: Available)
I am unable to reproduce this in 60.0.3112.26.

cernekee@, can you confirm that this is fixed and mark as a duplicate of issue 724470 if so?


Mergedinto: 724470
Status: Duplicate (was: Assigned)
Yes, the crash went away after I updated to 9582.0.0 / 60.0.3107.0.

Sign in to add a comment