Renato Alves
58735ac8ec
Newer versions of pass no longer complain of "pass init" if "pass version" is used
2016-04-17 19:38:34 +02:00
Renato Alves
00a6e6d96d
New implementation of password export
...
In the previous version the username was only available as part of the
password store identifier. Now it is also part of the content of the
store. The current version outputs the password as first line and the
username as second line. So it's now possible to use the "-c" option of
pass to selectively copy the first or second line to clipboard.
In addition the username is now only used as part of the password
identifier if more than one set of credentials exist for the same
address/url.
Keep in mind that exporting passwords will overwrite any existing
credentials that match the generated identifiers without prompting.
2016-04-17 19:32:01 +02:00
Renato Alves
fc0a8d1f0d
Profile_path can now be a profile directly (not pointing to profile.ini)
2016-03-18 15:11:09 +01:00
Renato Alves
769a574214
Implement name based exit codes for clarity
2016-03-18 13:26:39 +01:00
Renato Alves
f2b4616b12
Clarify that Thunderbird profiles can also be decrypted
2016-03-17 17:58:35 +01:00
Renato Alves
1aaa425da1
If only one profile exists, select it without prompting
2016-03-17 13:28:52 +01:00
Renato Alves
67fb1e6140
Minor documentation and style fixes
2016-03-11 03:08:46 +01:00
Renato Alves
663f6e1a8d
Document a few classes and functions
2016-03-11 02:57:55 +01:00
Renato Alves
e63ac59619
Refactor NSS initialization and fix passwordstore export
2016-03-11 02:08:20 +01:00
Renato Alves
4477a328ba
Fix urlparse import on Python 3
2016-03-11 02:07:30 +01:00
Renato Alves
9296e4bcba
Implement exporting passwords to passwordstore.org
2016-03-10 02:31:36 +01:00
Renato Alves
9b0a90996a
Refactor some of the code into functions
2016-03-10 02:31:36 +01:00
Renato Alves
76d7a9561d
Get rid of globals out, err and path
2016-03-10 02:31:36 +01:00
Renato Alves
bca1838ba3
Fix small typo
2016-02-16 23:48:30 +01:00
Renato Alves
5cbe623085
Output additional debugging info (return codes from NSS)
2016-02-16 23:47:48 +01:00
Renato Alves
ea125c698e
Remove trailing new-line
2016-02-16 18:39:01 +01:00
Renato Alves
f6c1779396
Add better debugging information
2016-02-16 16:39:32 +01:00
Renato Alves
1a11ede6c5
Make script compatible with both Python 2 and 3
2016-02-16 16:39:28 +01:00
Renato Alves
2db5c5684e
Python 3 compatibility
2016-02-15 14:07:22 +01:00
Renato Alves
f9c7f19a0e
Use an exception for premature exiting
2016-01-21 14:35:10 +01:00
Renato Alves
f780d71ce9
Use argparse for sys.argv parsing and refactor some code
2016-01-21 14:34:35 +01:00
Renato Alves
68947e643b
Create an NSS global variable to prepare for refactoring
2016-01-21 14:32:23 +01:00
Renato Alves
1ad27f9a74
Default to python2 instead of any python.
...
Some distros are already using python3 as default python version
2016-01-21 14:13:49 +01:00
Renato Alves
8cbfe73c1a
Retrieve error messages from NSS/NSPR when things go south
2016-01-19 15:28:58 +01:00
Renato Alves
5bb1abbf38
Add ability to read master password from a file.
2016-01-19 15:28:56 +01:00
Renato Alves
ca7e02d9ab
Always try to pass the password to nss in UTF8
2016-01-19 15:27:51 +01:00
Renato Alves
6a27537db7
Don't try to decrypt unencrypted passwords
2015-12-28 02:24:39 +01:00
Renato Alves
86c6fbbc42
Support loading libnss3 in windows
...
Currently works only if Firefox is installed in the standard 32bits
location.
2015-12-28 01:55:05 +01:00
Renato Alves
30cfc54803
Support for logins.json the new format in Firefox 32.0+
2014-10-08 15:09:32 +01:00
Renato Alves
91673e9f3f
Firefox Decrypt first working version
2014-01-17 13:30:01 +00:00