Commit Graph

321 Commits

Author SHA1 Message Date
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
Christoph "criztovyl" Schulz
e4945d18f7 BUG Fix python3 TypeError for get_version()
Popen's stdout returns bytes, not a string, so decode to string.
Other code parts use .decode("utf-8") so inherit this behaviour.
2017-02-10 17:19:43 +01:00
Renato Alves
acbceee120 DOC Update changelog and release 0.6 0.6 2017-02-09 23:17:15 +01:00
Renato Alves
7254a643b7 ENH Add version information (also from git if available) 2017-02-09 23:15:38 +01:00
Renato Alves
e61eba286f BUG Fix segfault due to reference to invalid memory
Should also fix #9
2017-02-09 22:31:54 +01:00
Renato Alves
bb80eeb7bc BLD Address Alpine issues as per FAQ 2017-02-09 20:36:37 +01:00
Renato Alves
359c926ac2 BLD Add more testing platforms 2017-02-09 20:30:33 +01:00
Renato Alves
8b0dbdab42 BLD Add wercker badge with extended status 2017-02-09 12:31:14 +01:00
Renato Alves
fa43c77992 TST Clarify exit code state of tests 2017-02-08 16:11:24 +01:00
Renato Alves
d44fb87df5 TST Implement multiplatform testing on wercker 2017-02-08 16:02:15 +01:00
Renato Alves
76a01a82ff TST Ensure segfaults are translated into a proper exit code 2017-02-08 16:00:03 +01:00
Renato Alves
4ae9c357b3 TST Catch bad exit codes from tests 2017-02-08 15:56:06 +01:00
Renato Alves
f6d16af159 DOC Add note about bit compatibility of Python vs Firefox on Windows 2017-02-03 07:11:13 +01:00
Renato Alves
eee91d13ef MNT find_nss is now a staticmethod 2017-02-02 21:46:04 +01:00
Renato Alves
c620436711 DOC Add a README section about troubleshooting using verbose mode 2017-02-02 21:40:36 +01:00
Renato Alves
dca2b693f3 MNT Refactor NSS finding code and include a few more locations on Windows 0.5.4 2017-02-02 21:29:57 +01:00
Renato Alves
dd1926d1b2 STY The code has evolved much since then so rephrase disclamer 2017-02-02 21:25:03 +01:00
Renato Alves
a8f5c80306 DOC Documentation rephrasing 2016-09-28 16:04:19 +02:00
Renato Alves
b268812e8c DOC Add 0.5.3 to changelog and tag 0.5.3 2016-09-28 14:48:28 +02:00