port of nss-passwords

Matthias Apitz guru at unixarea.de
Tue Mar 28 08:57:59 UTC 2017


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'.



Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru at 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

More information about the freebsd-questions mailing list