From owner-freebsd-questions@freebsd.org Tue Apr 4 09:04:24 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 995A9D2CD0C for ; Tue, 4 Apr 2017 09:04:24 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 607CF691 for ; Tue, 4 Apr 2017 09:04:24 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [89.204.135.7] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1cvKNr-0001vx-6p for freebsd-questions@freebsd.org; Tue, 04 Apr 2017 11:04:15 +0200 Received: from localhost.my.domain (c720-r314251 [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id v3494EUt003330 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 4 Apr 2017 11:04:14 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id v3494Eoj003329 for freebsd-questions@freebsd.org; Tue, 4 Apr 2017 11:04:14 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Tue, 4 Apr 2017 11:04:13 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: Re: port of nss-passwords Message-ID: <20170404090413.GA3302@c720-r314251> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-questions@freebsd.org References: <20170328083242.GA26303@sh4-5.1blu.de> <6208b8c0-3660-b005-b7cb-16f8b86bbe3a@abinet.ru> <20170328103001.GA3310@c720-r314251> <20170329104223.GA3132@c720-r314251> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170329104223.GA3132@c720-r314251> X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) User-Agent: Mutt/1.8.0 (2017-02-23) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.135.7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Apr 2017 09:04:24 -0000 El día miércoles, marzo 29, 2017 a las 12:42:23p. m. +0200, Matthias Apitz escribió: > I manged to compile and install ocaml-fileutils directly from its source > and could gmake the tool nss-passwords. It works nicely but only on the > old signons.sqlite database, not on the logins.json file of Mozilla. > > Perhaps one could write a script to insert the records from logins.json > into the old (now unused) signons.sqlite db. I found another tool, written in Python, which can manage both storage forms: $ git clone https://github.com/Unode/firefox_decrypt.git Cloning into 'firefox_decrypt'... ... $ cd firefox_decrypt $ python2.7 firefox_decrypt.py --list 1 -> sxciqikk.default $ python2.7 firefox_decrypt.py --choice 1 --tabular Master Password for profile /home/guru/.mozilla/firefox/sxciqikk.default: ... 'http://www.scrumalliance.org' 'XXXXXXXX' 'XXXXXXXXX' 'http://www.sunfreeware.com' 'XXXXXXXX' 'XXXXXXXXX' 'https://www.cups.org' 'XXXXXXXXX' 'XXXXXXXXX' 'http://www.botanicalgarden.ubc.ca' 'XXXXXXXXX' 'XXXXXXXXX' $ python2.7 firefox_decrypt.py --no-interactive --choice 1 --tabular xxxx 2017-04-04 09:18:40,246 - ERROR - Master password is not correct (i.e. --no-interactive reads from stdin) -- Matthias Apitz, ✉ guru@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045 Aus "Nie wieder Krieg!" wurde "Nie wieder Krieg ohne Deutschlands Truppen" The "No wars anymore!" changed now to "No wars anymore without German battle groups!" El "¡Nunca jamás guerra!" ha cambiado a "¡Nunca jamás guerra sin tropas alemanas!"