Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2017 10:32:43 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-questions@freebsd.org
Cc:        freebsd-ports@freebsd.org
Subject:   port of nss-passwords
Message-ID:  <20170328083242.GA26303@sh4-5.1blu.de>

next in thread | raw e-mail | index | archive | help

Hello,

I was searching for some cmd line tool to extract the 'saved logins'
from my firefox; I know that there is some mozilla add-on, but I do not
want to use this.

I came across this little piece of software https://github.com/glondu/nss-passwords
which seems to do exactly this, following the README:

...
This program reads passwords from a Mozilla keyring. It can run
entirely in text mode. It is merely a higher level version of
pwdecrypt, which is no longer convenient for direct use with
SQLite-based and JSON-based keyrings of recent versions of Firefox.
...

The problem is that I do not understand, what the Makefile is doing (in
Debian), for example:

OCAMLC = ocamlfind ocamlc -g -package fileutils.str,sqlite3,atdgen
OCAMLOPT = ocamlfind ocamlopt -g -package fileutils.str,sqlite3,atdgen

ML_CFLAGS = $(foreach u,$(shell pkg-config --cflags nss),-ccopt $(u))
ML_LFLAGS = $(foreach u,$(shell pkg-config --libs nss),-cclib $(u))
...
%.cmo: %.ml
	$(OCAMLC) -c $<
...

Anybody out here who knows what ports could bring the required
infrastructure ocamlfind...? I have installed ocaml-4.02.3, but this has
no 'ocamlfind'.

Thanks

	matthias

-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru@unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-176-38902045      |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170328083242.GA26303>