Commit graph

9 commits

Author SHA1 Message Date
Peter Schmidbauer
444d6de9e4 Move all password handling to EncryptedJournal
This commit should greatly simplify all password handling logic. No passwords are stored in the config dict anymore. Only the Encrypted Journals have any password related logic. I also had to remove some password fields from the test files, which shows how dangerous the previous approach was. A slight code change could've leaked passwords to the config file. However, I had to change the install progress a little bit to make this work. It will now not ask you for a password right away but rather if you want to encrypt or not. Only if you reply 'y' will it ask you for the password later on.
2019-11-29 17:07:35 +01:00
Peter Schmidbauer
e925fe22f9 Add password confirmation dialog 2019-11-19 14:24:36 +01:00
Peter Schmidbauer
34f8f858f1 remove py2 remnants and use mocks in tests 2019-10-31 21:16:19 +01:00
Greg Bodnar
02f853b545 Modify test to test for returned strings
The entered string for the password is not being used by the test and I
don't understand why.
2019-08-04 08:44:17 +12:00
Greg Bodnar
18ba16ad66 Add failing test for configuring an encrypted journal 2019-08-03 16:48:10 +12:00
Manuel Ebert
978d735351 Tests for #343 2015-04-20 14:25:20 +02:00
Manuel Ebert
be009b08b4 Converts tests to YAML 2014-09-12 15:28:12 -07:00
Manuel Ebert
0b7b88dcf0 Tests for using stderr prompts 2013-07-22 12:04:32 +02:00
Manuel Ebert
91638fd429 Tests for multiple journals 2013-07-22 10:11:37 +02:00