70 Commits

Author SHA1 Message Date
Renato Alves d30c3f1c4c Add one more test for firefox 46.0 0.5.2 2016-06-28 15:43:27 +02:00
Renato Alves 22dd14c8a1 Remove obsolete copyright notice 2016-06-28 15:43:27 +02:00
Renato Alves 5f515f0c4c Add documentation about the testing framework 2016-06-28 15:43:27 +02:00
Renato Alves 1ed8ca4c56 Make profile_choice_46.t executable 2016-06-28 15:34:50 +02:00
Renato Alves 4b1080d700 Correct small typo 2016-06-28 15:22:26 +02:00
Renato Alves 6d452ecb7f Merge pull request #6 from criztovyl/master
Non-interactive mode
2016-06-28 14:48:46 +02:00
Christoph "criztovyl" Schulz 07f2620480 Tests, refuse listing single profiles
Adds tests for -n/--no-interactive, -c/--choice and -l/--list.
Adds behavior to refuse list single profiles, previously f_d happily continued
 and did not exit as promised.
Also adds a stub-README to tests/.
2016-06-27 21:09:46 +02:00
Christoph "criztovyl" Schulz 574b919d8c Minor fixes for #6 2016-06-27 18:20:33 +02:00
Christoph "criztovyl" Schulz e10fae8370 Exit codes, do not ask twice for choice
Adds exit/error codes for not found profile, keyboard interrupt, missing choice and
 choice EOF read error.
Also adds that user isn't asked for profile choice when using -c/--choice without
 -n/--no-interactive
2016-06-27 01:46:38 +02:00
Christoph "criztovyl" Schulz 20392adcbd CHANGELOG 2016-06-26 23:39:23 +02:00
Christoph "criztovyl" Schulz fb0a93f87a README (non-interactive mode)
Adds non-interactive mode to README.
Also now forces reading password from stdin when using -n/--no-interactive.
2016-06-26 23:35:14 +02:00
Christoph "criztovyl" Schulz 70f27e34b9 Non-interactive mode
This commit adds a non-interactive mode, called by -n/--no-interactive. This implements
 -c/--choice: Tell which profile to use (number)
 -l/--list  : List all available profiles and exit.

Furthermore added exception handling for ^C and EOF.
2016-06-26 22:58:42 +02:00
Renato Alves 2f7a1c99ca Make tests run in parallel 2016-05-03 00:00:50 +02:00
Renato Alves 797fda18f9 Remove unecessary argument and move export_pass outside the class 2016-04-24 01:48:15 +02:00
Renato Alves 0528e1fede Refactor some code into functions 2016-04-24 01:16:05 +02:00
Renato Alves a8fa36a402 Remove comments that don't make sense anymore 2016-04-17 22:53:32 +02:00
Renato Alves fe904528e9 Add tests for profiles without a master password 2016-04-17 22:32:47 +02:00
Renato Alves 1b5778a577 Move changelog to it's own file now that is half page long 2016-04-17 22:17:57 +02:00
Renato Alves f20a13481a Add travis test state to main README 2016-04-17 22:14:39 +02:00
Renato Alves 40c9b906f5 Implement testing - also on travis.ci 0.5.1 2016-04-17 22:10:54 +02:00
Renato Alves 32b092a5a6 Credit third parties used in this project 2016-04-17 22:10:54 +02:00
Renato Alves 4a465a1f3a Adjust line-break for easier testing 2016-04-17 21:26:24 +02:00
Renato Alves 99e555224b Update documentation for version 0.5 0.5 2016-04-17 20:04:17 +02:00
Renato Alves a743fc8d1c No longer fail on Py2 when a | is used - fixes #5 2016-04-17 20:04:05 +02:00
Renato Alves 2be7ff8c6b Add some feedback of what is happening for -ev mode 2016-04-17 19:43:46 +02:00
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 4de4547135 Add firefox profiles for tests 2016-03-18 15:11:09 +01:00
Renato Alves 706c8d5415 Changelog for 0.4.2 0.4.2 2016-03-18 15:11:09 +01: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 b95fbcc87c Changelog for 0.4.1 0.4.1 2016-03-17 18:07:40 +01:00
Renato Alves f2b4616b12 Clarify that Thunderbird profiles can also be decrypted 2016-03-17 17:58:35 +01:00
Renato Alves 5c66237ef3 Add doc example of using --export-pass 2016-03-17 17:54:46 +01:00
Renato Alves f409af2309 Add Christoph Schulz to authors 2016-03-17 14:37:22 +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 0b93c30499 Update changelog 0.4 2016-03-11 02:47: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 a878698f32 Formatting changes on README.md 2016-02-16 16:54:35 +01:00
Renato Alves 4077ab53e3 Add 0.3 release notes 0.3 2016-02-16 16:43:47 +01:00
Renato Alves f6c1779396 Add better debugging information 2016-02-16 16:39:32 +01:00