Commit Graph

139 Commits

Author SHA1 Message Date
Cédric Levasseur
603f7083aa 🐛 fix nss default location on homebrew for Apple Silicon
Closes #114
2024-11-08 14:51:55 +01:00
Renato Alves
0d3409d103 🔖 Bump version to dev 2024-04-07 21:54:14 +02:00
Renato Alves
ed79d316f4 🔖 Release 1.1.1 2024-04-07 21:54:14 +02:00
Renato Alves
2ad4442ace Env NSS_LIB_PATH can now be used to specify libnss location
Closes #108
2024-04-07 21:54:14 +02:00
Renato Alves
c5fcdbc0cb ♻️ Refactor and corretly type 'locations'
'locations' was inconsistently either a list or tuple of strings
2024-04-07 21:54:14 +02:00
Renato Alves
f95996e3d2 🐛 Fix missing fields on deleted passwords
How a deleted record remains in the logins.json file isn't clear
but we should now handle the missing information gracefully.

Fixes #99
2023-11-08 21:55:25 +01:00
Renato Alves
dbf590bbc3 🎨 Avoid showing traceback on handled error
Makes the traceback show up only when running under high verbosity
2023-07-28 15:49:53 +02:00
Renato Alves
a3b981efa8 🔖 Bump to dev version 2023-07-26 22:47:45 +02:00
Renato Alves
0931c0484d 🔖 Release 1.1.0 2023-07-26 22:46:52 +02:00
Renato Alves
66c35a0531 Implement non-fatal password decrypting
Fixes #97
2023-07-26 22:18:03 +02:00
Renato Alves
2c61b27e67 🐛 Handle .decode possibly applied to None 2023-07-07 00:18:01 +02:00
Renato Alves
914fc85596 🎨 Rename refs: Master -> Primary 2023-07-07 00:09:10 +02:00
Renato Alves
297112af45 💄 Better error and exit for decryption failures 2023-07-07 00:05:34 +02:00
Renato Alves
ac857efde7 BUG Avoid function collision with subprocess.run 2023-05-14 15:56:02 +02:00
Alex
1a2bb7b8d7 Add pyproject.toml file for pipx installation (#92)
* Create pyproject.toml file with setuptools as build system
* Update .gitignore to prevent uploading packaging directories

Closes #91 

---------

Co-authored-by: Renato Alves <alves.rjc@gmail.com>
2023-04-27 06:09:13 +02:00
Renato Alves
53325de4fe ENH Add Firefox Developer path to Windows search 2022-09-28 11:47:17 +02:00
Renato Alves
7988816066 RFC Windows library path search 2022-09-28 11:46:57 +02:00
Renato Alves
fe18bc9cc6 ENH Add pass option to always use login in path
GitHub PR #81 from tennox/pass-option-long-path
2022-02-01 13:11:41 +01:00
Renato Alves
d9ac4ea149 ENH Improve compatibility with gopass
closes #80
2022-02-01 13:07:00 +01:00
Manuel [tennox]
67ee410c45 ENH Add option to always save in long pass format
my android password app:
https://github.com/android-password-store/Android-Password-Store

Needs to have one stable format
2022-02-01 04:44:13 +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