Peter Schmidbauer
30caf9cae2
Run pyupgrade
2019-11-01 11:16:12 +01:00
Peter Schmidbauer
34f8f858f1
remove py2 remnants and use mocks in tests
2019-10-31 21:16:19 +01:00
Greg Bodnar
290bb96daa
Use util wrapper for getpass
...
This allows for tests to run without prompting for user input.
2019-08-04 13:21:40 +12:00
Greg Bodnar
da62e54245
Overload open for EncryptedJournal
...
This avoids the execution path that calls EncryptedJournal._create()
without a password parameter. It results in duplication of code that
requests and stores a password, which should be factored out in a
subsequent change.
2019-08-04 08:40:15 +12:00
Manuel Ebert
49a374e552
Upgrade to cryptography 1.4
2016-08-17 13:41:54 +00:00
Manuel Ebert
c720c15787
More encoding madness
2015-04-05 06:38:38 +04:00
Manuel Ebert
109a11d18e
Encryption reads and writes in binary mode
2015-04-05 06:14:18 +04:00
Manuel Ebert
94964dc31c
Python 3 fixes :)
2015-04-05 06:05:46 +04:00
Manuel Ebert
9c7d5af152
Legacy Journal with old timestamps
2015-04-05 02:23:09 +04:00
Manuel Ebert
c31e62d9d6
Introduce legacy classes
2015-04-05 07:25:22 +10:00
Manuel Ebert
75ecc0dbbd
Properly initialise journal files after creating them
2015-04-04 18:58:33 +11:00
Manuel Ebert
b90a4b16bb
Make backup of config when upgrading
...
Fixes #307
2015-04-04 18:36:34 +11:00
Manuel Ebert
dd79639095
Hardcoded salt to fix crypto
2015-04-04 17:50:44 +11:00
Manuel Ebert
359eabd56d
Work on cryptography
2014-09-27 13:15:46 -07:00
Manuel Ebert
be009b08b4
Converts tests to YAML
2014-09-12 15:28:12 -07:00
Manuel Ebert
c5c6676bab
Uses PBKDF2-SHA256 instead of plain SHA256
...
Fixes #192
2014-09-12 14:28:37 -07:00
Manuel Ebert
84d886d0ef
Basic support for cryptography.io
...
Still needs better hash function
2014-09-12 14:28:03 -07:00
Manuel Ebert
9651adcdd0
Deprecate config.password
2014-09-12 14:28:03 -07:00
Matthias Vogelgesang
953c18dff2
Make Journal a general interface
...
This change moves the loading and saving mechanisms into its own
Plain- and EncryptedJournal subclasses for easier maintenance and lazy loading
of all the crypto modules.
2014-09-12 14:26:22 -07:00