Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Issue 7338011: Linux Cert manager: improve PKCS #12 import error messages. (Closed)

Created:
9 years, 5 months ago by mattm
Modified:
9 years, 5 months ago
Reviewers:
wtc
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, mmenke, Paweł Hajdan Jr.
Visibility:
Public.

Description

Linux Cert manager: improve PKCS #12 import error messages. BUG=76275 TEST=try to import a corrupt or unsupported PKCS #12 file. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=92306

Patch Set 1 #

Total comments: 7

Patch Set 2 : review changes #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -14 lines) Patch
M chrome/app/generated_resources.grd View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/certificate_manager_handler.cc View 1 1 chunk +16 lines, -7 lines 0 comments Download
M net/base/cert_database_nss_unittest.cc View 1 2 chunks +31 lines, -0 lines 0 comments Download
M net/base/net_error_list.h View 1 1 chunk +9 lines, -0 lines 0 comments Download
M net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp View 1 1 chunk +24 lines, -7 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
mattm
9 years, 5 months ago (2011-07-11 23:27:07 UTC) #1
wtc
LGTM! http://codereview.chromium.org/7338011/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/7338011/diff/1/chrome/app/generated_resources.grd#newcode3354 chrome/app/generated_resources.grd:3354: Incorrect password or corrupt file. Does an incorrect ...
9 years, 5 months ago (2011-07-12 20:22:37 UTC) #2
mattm
http://codereview.chromium.org/7338011/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/7338011/diff/1/chrome/app/generated_resources.grd#newcode3354 chrome/app/generated_resources.grd:3354: Incorrect password or corrupt file. On 2011/07/12 20:22:38, wtc ...
9 years, 5 months ago (2011-07-12 22:56:36 UTC) #3
wtc
LGTM.
9 years, 5 months ago (2011-07-13 00:47:33 UTC) #4
wtc
9 years, 5 months ago (2011-07-13 00:51:07 UTC) #5
http://codereview.chromium.org/7338011/diff/1/chrome/app/generated_resources.grd
File chrome/app/generated_resources.grd (right):

http://codereview.chromium.org/7338011/diff/1/chrome/app/generated_resources....
chrome/app/generated_resources.grd:3354: Incorrect password or corrupt file.
On 2011/07/12 22:56:36, mattm wrote:
> On 2011/07/12 20:22:38, wtc wrote:
> > Does an incorrect password cause the invalid MAC error?
> 
> Based on the SEC_ERROR_PKCS12_INVALID_MAC entry in:
> http://www.mozilla.org/projects/security/pki/nss/ref/ssl/sslerr.html

Thank you for the explanation.

I found this NSS code, which also says that an incorrect
password may cause the invalid MAC error:
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/security/nss/lib/pkcs12/p...

Powered by Google App Engine
This is Rietveld 408576698