339 Commits

Author SHA1 Message Date
Renato Alves
9a8428f002 ENH Collect NSS loading failures and show if all fails 2018-05-19 16:54:36 +02:00
Renato Alves
6e40cf80e4 ENH More robust loading of libnss
Use the try and apologize approach instead of relying on an exact match.
2018-05-19 14:30:41 +02:00
Renato Alves
d349dd157e BUG Try solving encoding issues affecting Windows
refs #25 #28
2018-05-19 14:30:41 +02:00
Renato Alves
869ef1e800 BUG Solve some NSS initialization problems affecting Windows
refs #25 #28
2018-05-19 14:06:56 +02:00
Renato Alves
86ae13db80 BUG Don't crash hard if JSON credentials are damaged 2018-05-19 14:03:02 +02:00
Renato Alves
f5c938048c API Drop support for Python 2 on Windows 2018-05-19 14:01:42 +02:00
Renato Alves
5342ee9cef RFCT+TST Rename profile to include additional non-ascii characters 2018-05-19 13:58:32 +02:00
Renato Alves
773826e47d DOC Add latest fix to changelog 2018-05-17 23:24:21 +02:00
Renato Alves
0850c0cbec MNT Add extra debug info on profile passed to NSS 2018-05-17 23:20:07 +02:00
Renato Alves
1588927369 BUG+TST Handle profile paths with non-ASCII characters
fixes #27
ref #25
2018-05-17 20:30:00 +02:00
Renato Alves
f9e318fd8d TST Python3 compatibility when using subprocess
PY3 returns bytes and encoding= isn't valid in python 3.4.
So we have to explicitly call decode().
2018-05-09 01:55:55 +02:00
Renato Alves
a0ce69a606 ENH More robust loading of libnss
Use the try and apologize approach instead of relying on an exact match.
2018-05-09 01:46:51 +02:00
Renato Alves
6e11330c68 TST Support passing content via stdin and redirect stderr 2018-05-09 01:46:51 +02:00
Renato Alves
06128d26d2 MNT PEP8 compliance changes 2018-05-09 00:47:33 +02:00
Renato Alves
d7f0c8ce61 TST Initial conversion to Python based test framework 2018-05-09 00:47:33 +02:00
Renato Alves
f29214dd74 ENH Add support for libnss3 on nix/NixOS
Assumes user executed `nix-env -iA nss` before
Other searched paths include common Linux paths.
2018-05-09 00:46:21 +02:00
Renato Alves
0ca6207a45 DOC Add a section for interesting projects derived from us 2018-05-07 20:28:45 +02:00
Renato Alves
2395fe6e71 MNT Move ribbon info to top of README 2018-05-07 20:28:45 +02:00
Renato Alves
b4a62f3d6f TST Failing to execute a test shouldn't crash the test runner 2018-05-07 16:16:18 +02:00
Renato Alves
b24823d303 TST Don't test version against git in version.t
When testing we are always running from a tmpdir so firefox_decrypt
won't ever find the git version.
2018-04-19 01:37:12 +02:00
Renato Alves
fafc821c20 ENH Allow a blank pass-prefix for no prefix
Use --pass-prefix '' to produce address/... instead of the default
web/address/... location for exported pass records.
2018-04-19 01:06:53 +02:00
Renato Alves
ab40d6a58f ENH Allow specifying pass's location and name
If pass is not on PATH or if it's called something other than 'pass'
users can now override by passing `--pass-cmd /path/to/passcript`
2018-04-19 01:03:23 +02:00
Renato Alves
1b75cf485c RFCT+ENH Refactor pass compatiblity code and add 'username' mode 2018-04-19 00:54:50 +02:00
Renato Alves
c6dcea70ee DOC Rephrase README to emphasize browserpass as non-default 2018-03-19 01:02:21 +01:00
Renato Alves
2e381f1bdd Merge pull request #23 from edwintorok/master
make --export-pass format compatible with browserpass
2018-03-12 17:34:17 +01:00
Edwin Török
148ecc4397 Add --pass-compat=browserpass to make --export-pass format compatible with browserpass
[browserpass](https://github.com/dannyvankooten/browserpass) expects a multiline format
with password first, and then a line with either `login:`, `user:` or `username:`.
Exporting passwords this way makes login form filling work if you have
browserpass installed.

To keep backwards compatibility the default, if `--pass-compat` is not
specified (or specified as `--pass-compat=default`), is to print just
the bare username on the second line.
2018-03-11 23:55:57 +00:00
Renato Alves
bf8dfabd96 DOC Update NSS project URL 2018-01-25 21:43:27 +01:00
Renato Alves
376b1b52a2 DOC Credit Hubert for the v59 fix reported in #20 2018-01-25 21:38:57 +01:00
Renato Alves
4d7d66c80a REL Release v0.7.0 0.7.0 2018-01-25 21:30:09 +01:00
Renato Alves
089e1df285 ENH+TST Add support for new profile format (FF-v59)
Starting with Firefox v59 credentials are no longer stored in BerkleyDB
(cert8.db, key3.db) and instead use Sqlite (cert9.db, key4.db)

fixes #20
2018-01-25 21:30:09 +01:00
Renato Alves
7a536d045c Merge pull request #21 from yb66/develop
Added check for libnss if installed via pkgsrc.
2018-01-24 15:29:44 +01:00
iainb
f97455d3d9 Added check for libnss if installed via pkgsrc. 2018-01-24 23:15:57 +09:00
Renato Alves
d9c3785cbe TST Include python 3.6 as test target 2017-08-17 23:25:14 +02:00
sedrubal
fc66e08b35 TST Add tests for CSV output format 2017-08-17 23:14:17 +02:00
sedrubal
4a1e258b20 ENH Add CSV as output format 2017-08-17 23:14:16 +02:00
Renato Alves
f89705590c BUG+TST Escape quotes in tabular output as per CSV standard 2017-08-17 19:28:31 +02:00
Renato Alves
ecb17f81bf BUG 'Choice:' is printed too late and disrupts output 2017-07-20 17:52:06 +02:00
Renato Alves
748fec2415 BUG Tabular header was not printed 2017-07-20 17:51:36 +02:00
Renato Alves
f4008ef098 MNT Update badge URL 2017-07-20 17:32:50 +02:00
Erich Seifert
eaac14eb2f ENH Command line option to change the prefix for pass
This allows to change to the default prefix "web" when exporting to pass from passwordstore.org.

closes #16
2017-04-17 12:52:44 +02:00
Renato Alves
851ee290d2 ENH+RFCT Proper implementation of ctypes' interfaces
Fixes memleaks as suggested on #13
Also closes #12 as slot->needLogin is not possible via ctypes
2017-04-09 04:59:47 +02:00
Renato Alves
00aea4071f RFCT Use ctypes as 'ct' 2017-04-08 19:56:57 +02:00
Renato Alves
cdc4513538 DOC Reference Brew workaround on Darwin
fixes #14
2017-04-08 19:46:40 +02:00
Levis Florian
d972f93926 ENH Add location for libnss (Darwin)
Add location "/usr/local/opt/nss/lib" for nss installed with Brew
2017-04-08 19:46:35 +02:00
Renato Alves
638b6fedf0 TST Minor refactor of version.t 2017-02-10 19:59:32 +01:00
Renato Alves
3649dcb2c0 ENH Add tabular output with -t/--tabular 0.6.2 2017-02-10 19:57:36 +01:00
Renato Alves
5d3ade84a4 TST On Python 3 --version comes out in STDERR so test that too 2017-02-10 19:24:02 +01:00
Renato Alves
e7394cedea TST Add a test for --version 2017-02-10 18:53:10 +01:00
Renato Alves
2e6a2acb0b REL Bump version to 0.6.1 0.6.1 2017-02-10 18:01:23 +01:00
Renato Alves
71144122ca BUG Merge pull request #11 from criztovyl/version-str
Fix python3 TypeError for get_version()
2017-02-10 17:58:23 +01:00