Last Comment Bug 818686 - Support XDG basedir specification
: Support XDG basedir specification
Status: NEW
Product: NSS
Classification: Components
Component: Libraries (show other bugs)
: 4.0
: All All
-- normal with 9 votes (vote)
: ---
Assigned To: nobody
Depends on: 259356
  Show dependency treegraph
Reported: 2012-12-05 14:10 PST by Eric Heintzmann
Modified: 2015-08-30 18:34 PDT (History)
10 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---


Description User image Eric Heintzmann 2012-12-05 14:10:41 PST
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:17.0) Gecko/20100101 Firefox/17.0
Build ID: 20121129151900
Comment 1 User image Andre Klapper 2012-12-07 08:42:05 PST
Where in the codebase would this be applied to?
Comment 2 User image Eric Heintzmann 2012-12-07 10:32:44 PST
I think these files should be moved:

$HOME/.pki/nssdb/pkcs11.txt --> $XDG_CONFIG_HOME/pki/nssdb/pkcs11.txt
$HOME/.pki/nssdb/cert9.db   --> $XDG_DATA_HOME/pki/nssdb/cert9.db
$HOME/.pki/nssdb/key4.db    --> $XDG_DATA_HOME/pki/nssdb/key4.db
Comment 3 User image John Drinkwater (:beta) 2014-11-15 07:02:25 PST
(In reply to Andre Klapper from comment #1)
> Where in the codebase would this be applied to?

From a quick non-comprehensive look, security/nss/lib/sysinit/nsssysinit.c getUserDB()

Note You need to log in before you can comment on or make changes to this bug.