Renato Alves
d9ac4ea149
ENH Improve compatibility with gopass
...
closes #80
2022-02-01 13:07:00 +01:00
Renato Alves
b71a030ae8
Support overriding default encoding
2021-07-03 10:48:58 +02:00
Renato Alves
99abf1f0e4
Use default encoding when reading profile.ini
2021-07-03 10:46:39 +02:00
Renato Alves
62b47b2520
MNT Bump version to dev
2021-04-16 00:30:17 +02:00
Renato Alves
45b7218c10
REL Release 1.0.0
2021-04-16 00:29:29 +02:00
Renato Alves
685c3aa263
ENH Warn about running with unsupported encodings
2021-04-16 00:07:04 +02:00
Renato Alves
8f6dc3be04
BUG Gracefully skip malformed records or decrypting failures
...
fixes #40
2021-04-15 19:58:41 +02:00
Renato Alves
363a11863b
ENH+DOC Add workaround to load nss in MacOS
2021-04-15 01:41:16 +02:00
Renato Alves
5d7be46cb0
MNT Revert to UTF-8 as default encoding instead of locale
2021-04-13 21:50:48 +02:00
Renato Alves
4faccfca0c
ENH Add user-level install paths on Windows
2021-04-13 20:37:57 +02:00
Renato Alves
08cf2a9522
MNT Use a different function for obtaining locale information
2021-04-13 20:34:41 +02:00
Renato Alves
fbac373fe0
MNT Downgrade warning to info when no Master Password exists
2021-04-06 02:49:16 +02:00
Renato Alves
436f01cd46
BLD Update internal version to match
2021-04-06 02:45:17 +02:00
Renato Alves
78fcb2b06c
REL Correct release name
2021-04-06 02:38:33 +02:00
Renato Alves
2ee4d92266
MNT Force output to be flushed in context
2021-04-06 02:36:04 +02:00
Renato Alves
ffe7a35f33
BUG Fix missing newline in last line of JSON output
2021-04-06 02:18:01 +02:00
Renato Alves
15ae8dee9a
BLD Prepare for 1.0.0 release
2021-04-06 02:05:52 +02:00
Renato Alves
054dd17552
RFCT Large refactor addressing several issues
...
* Argparse options were cleaned up
* Pass, CSV and Tabular have now been unified into a --format output
* NSS interaction now has better separation of roles through a proxy
* We now check if the profile is protected by a master password before trying
* Several functions were relocated to hopefully more sensical contexts
2021-04-06 02:05:52 +02:00
Renato Alves
da67e378ac
ENH Remove use of select()
...
If not a TTY or running in interactive mode, password
must be provided via STDIN or we will block forever
Should fix #62
2021-04-06 02:05:52 +02:00
Renato Alves
3a438e0bcf
ENH Hopefully fix the many issues affecting Windows
...
refs #58 #39 #25
2021-04-06 02:05:52 +02:00
Renato Alves
b648e17486
MNT Annotate additional types
2021-04-06 02:05:52 +02:00
Renato Alves
9d53fc2e37
RFCT Modernize use of subprocess
2021-04-06 02:05:52 +02:00
Renato Alves
342f8d8a2d
ENH Use platform module to detect OS
2021-04-06 02:05:52 +02:00
Renato Alves
0bf8d3362d
ENH Add Exit.CLEAN for an exit as expected
2021-04-06 02:05:52 +02:00
Renato Alves
e05abfa17a
RFCT Avoid using raw strings for Windows paths
2021-04-03 16:36:58 +02:00
Renato Alves
70533ad476
MNT Ignore unused stderr
2021-04-03 16:36:24 +02:00
Renato Alves
a4ac783ea3
ENH If available use PATH to find nss3.dll
2021-04-01 22:17:25 +02:00
Renato Alves
d85060dbb8
RFCT Add some type hints
2021-04-01 22:16:47 +02:00
Renato Alves
ec6f95de36
RFCT Use f-strings instead of .format()
2021-04-01 22:15:24 +02:00
Renato Alves
7f780f1ddd
RFCT Force Popen to return text not bytes
2021-04-01 22:12:17 +02:00
Renato Alves
81ebed3dd1
WIP Refactor NSS interaction and loading
2021-04-01 21:21:34 +02:00
Renato Alves
2c6794771c
MNT Remove PY2/3 code paths and manual handling of encodings
2021-04-01 21:21:34 +02:00
Renato Alves
91de634d85
BUG Fix JSON output - show only once per profile
2020-05-31 20:35:43 +02:00
Stefan Weil
c14c896216
Fix some typos (found by codespell)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2019-06-09 13:57:16 +02:00
Bryan
432b389c68
#33 add json formatting
2019-05-06 23:22:24 -05:00
Renato Alves
2bd3ffbd96
ENH Educated guess of NSS loading based on bitness
...
If Python's bitness doesn't match that of the NSS.dll found,
loading will fail. This restricts directories on a 64bit Windows system.
A better solution would check the bitness of the lib as well - refs #41
2019-01-18 17:32:42 +01:00
Renato Alves
c8b0590bfc
RFCT Remove deprecation warnings related to logging.warn
2018-12-10 05:04:54 +01:00
Renato Alves
9dd6a3e857
TST Tests now require python 3
2018-12-10 04:47:33 +01:00
Renato Alves
6f5ca15cfe
Merge branch 'pytests'
2018-12-10 04:14:11 +01:00
Renato Alves
f32e8efe9e
BUG Don't lock on stdin when missing a newline and stdin isn't closed
2018-12-10 01:32:58 +01:00
Renato Alves
bc1192f802
TST Fix version reported during tests
2018-11-21 14:09:38 +01:00
Renato Alves
b78b4aa9da
REL Bump version to avoid confusing users
2018-11-21 13:47:53 +01:00
Renato Alves
2a317741f2
ENH Help the user troubleshoot when NSS isn't found
2018-05-22 02:55:40 +02:00
Renato Alves
8395b46864
ENH Add Nightly to search directories on Windows
...
Useful if you are using Firefox Nightly instead of stable Firefox
2018-05-22 02:43:38 +02:00
Renato Alves
15d0bd6399
BUG Don't chdir to non-existing locations
2018-05-20 17:01:10 +02:00
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