Opened 5 years ago

Closed 4 years ago

#13254 closed defect (fixed)

Setting `security.nocertdb` to `true` breaks pageinfo dialog and certificate viewer

Reported by: gk Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Keywords: tbb-usability, tbb-testcase, AffectsTails
Cc: anonym, intrigeri, arma Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description (last modified by gk)

TorBrowser 3.6.6 for OS X will not display technical details of TLS connections. To reproduce, click on the padlock in the URL field of an HTTPS site. Choose "More information" and click on the "Security" tab. The "Technical Details" field, which would normally display the cipher suite in use, is blank.

(see: https://blog.torproject.org/blog/tor-browser-366-released#comment-75736 for the original bug report)

Child Tickets

Change History (12)

comment:1 Changed 5 years ago by gk

Description: modified (diff)

Oh, and this works with the corresponding vanilla Fx ESR.

comment:2 Changed 5 years ago by gk

Keywords: tbb-testcase added
Summary: Technical details of TLS connections are missing on OS XTechnical details of TLS connections are missing

comment:3 Changed 5 years ago by gk

Summary: Technical details of TLS connections are missingSetting `security.nocertdb` to `true` breaks pageinfo dialog

Here is the log for the things happening if one clicks on the padlock icon:

[11:02:08.962] Login Manager: Counting logins matching host: https://blog.torproject.org formSubmitURL:  httpRealm: 
[11:02:08.963] Login Manager: No alternate nsILoginManagerStorage registered
[11:02:08.965] PwMgr mozStorage: Opening database at ~/tor-browser_en-US/Browser/TorBrowser/Data/Browser/profile.default/signons.sqlite
[11:02:08.965] PwMgr mozStorage: Initializing Database
[11:02:08.967] PwMgr mozStorage: Creating Database
[11:02:08.967] PwMgr mozStorage: Creating Tables
[11:02:13.111] PwMgr mozStorage: Creating Indices
--
[11:02:23.237] PwMgr mozStorage: Importing legacy storage
[11:02:23.709] PwMgr Storage: Initializing key3.db with default blank password.
[11:02:23.777] PwMgr mozStorage: _importLegacySignons failed: NS_ERROR_FAILURE : Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIPK11Token.initPassword]
[11:02:23.777] PwMgr mozStorage: Initialization failed: Import failed
[11:02:23.777] PwMgr mozStorage: Cleaning up DB file - close & remove & backup=false
[11:02:23.777] PwMgr mozStorage: Closing the DB connection.
[11:02:23.779] Login Manager: Initialization of storage component failed: {}
[11:02:23.780] NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: '[JavaScript Error: "this._storage is null" {file: "resource://gre/components/nsLoginManager.js" line: 353}]' when calling method: [nsILoginManager::countLogins] @ chrome://browser/content/pageinfo/security.js:316

Having the signons.sqlite file in the profile is enough to avoid the issue but in order to get there you have to have a *db file (not sure which one yet).

comment:4 Changed 5 years ago by gk

Cc: anon added

#13404 is a duplicate of this.

comment:5 Changed 5 years ago by gk

Cc: anonym added; anon removed

comment:6 Changed 5 years ago by intrigeri

Cc: intrigeri added

comment:7 Changed 5 years ago by gk

Cc: arma added

Marked #13489 as duplicate.

comment:8 Changed 5 years ago by gk

Marked #13925 as duplicate.

comment:9 Changed 5 years ago by gk

Summary: Setting `security.nocertdb` to `true` breaks pageinfo dialogSetting `security.nocertdb` to `true` breaks pageinfo dialog and certificate viewer

Marked #13926 as a duplicate mentioning the broken Certificate Viewer for the first time.

comment:10 Changed 4 years ago by cypherpunks

Keywords: AffectTails added

comment:11 Changed 4 years ago by cypherpunks

Keywords: AffectsTails added; AffectTails removed

comment:12 Changed 4 years ago by gk

Resolution: fixed
Status: newclosed

Fixed by #14716.

Note: See TracTickets for help on using tickets.