Commit Graph

3607 Commits

Author SHA1 Message Date
Paul Schaub 3262582de9 Do not update the keys in constructor 2018-07-04 16:56:03 +02:00
Paul Schaub 693ced1fe4 Still temp 2018-07-04 16:56:03 +02:00
Paul Schaub 171cb07430 Temp 2018-07-04 16:56:03 +02:00
Paul Schaub c4848fffc9
Remove unnecessary checkstyle toggle 2018-07-03 18:11:33 +02:00
Paul Schaub 813690c10a
Check if message has EME before adding it 2018-07-03 11:40:02 +02:00
Paul Schaub 6c9e41c1b2 Update OpenPgp fingerprints of contacts 2018-07-03 11:38:15 +02:00
Paul Schaub 613c5d869a Rename store methods and fix access to open pubsub nodes 2018-07-03 11:38:15 +02:00
Paul Schaub 6a756c9a44 Fix wrong package names of pgpainless imports 2018-07-03 11:38:15 +02:00
Paul Schaub 7a4b65cf72 Change package name of pgpainless dep 2018-07-03 11:38:15 +02:00
Paul Schaub e7c2181516 Adapt latest pgpainless changes 2018-07-03 11:38:15 +02:00
Paul Schaub 920817b257 Add PubSubDelegateTest 2018-07-03 11:38:15 +02:00
Paul Schaub d7c7e3dcd6 Improve junit test 2018-07-03 11:38:15 +02:00
Paul Schaub 7eaf688ccc Dont swallow exception 2018-07-03 11:38:15 +02:00
Paul Schaub ca549b0313 Rename methods and add documentation 2018-07-03 11:38:15 +02:00
Paul Schaub 81167871b2 More checks in the secret key backup inttest 2018-07-03 11:38:15 +02:00
Paul Schaub 322d3aebb2 Add symmetric encryption junit test 2018-07-03 11:38:15 +02:00
Paul Schaub b1dc138ae9 Rework some tests 2018-07-03 11:38:15 +02:00
Paul Schaub a6fb30668e Add junit test and fix checkstyle issues 2018-07-03 11:38:15 +02:00
Paul Schaub e87ea6c8f4 Fix serverSupportsSecretKeyBackups method 2018-07-03 11:38:15 +02:00
Paul Schaub dc79a09240 Add non-working integration tests 2018-07-03 11:38:15 +02:00
Paul Schaub d1c5c519fd Add documentation to PubSubDelegate 2018-07-03 11:38:15 +02:00
Paul Schaub 72f0e1e1a8 Add simple integration test 2018-07-03 11:38:15 +02:00
Paul Schaub 730274f9f8 Simplify api 2018-07-03 11:38:15 +02:00
Paul Schaub 7b222d8c58 Add method to delete pubkey node 2018-07-03 11:38:15 +02:00
Paul Schaub 70538ecc90 Make pubkey node open 2018-07-03 11:38:15 +02:00
Paul Schaub ed31a48a9b Use primary key as signing key 2018-07-03 11:38:15 +02:00
Paul Schaub ed3c4236cf Move backup related methods to Helper class 2018-07-03 11:38:15 +02:00
Paul Schaub d86f3ef2e1 Set primary fingerprint on backup import 2018-07-03 11:38:15 +02:00
Paul Schaub 9566f5ae65 Enable importing keys again 2018-07-03 11:38:15 +02:00
Paul Schaub ef00f50d79 Add DryOxEncryption test 2018-07-03 11:38:15 +02:00
Paul Schaub cdba5bdda9 improve tests 2018-07-03 11:38:15 +02:00
Paul Schaub ffbfae9856 Refactor API 2018-07-03 11:38:15 +02:00
Paul Schaub e23cf88082 Add test 2018-07-03 11:38:15 +02:00
Paul Schaub 63e98cb4d6 Fix decryption error 2018-07-03 11:38:15 +02:00
Paul Schaub 800955d5a8 Fix some runtime bugs 2018-07-03 11:38:15 +02:00
Paul Schaub 422baa6d2e WiP finished, no more compiler errors - untested 2018-07-03 11:38:14 +02:00
Paul Schaub 49a51bfa2d WiP, please don't look 2018-07-03 11:38:14 +02:00
Paul Schaub dab342e97e Add methods to store update dates 2018-07-03 11:38:14 +02:00
Paul Schaub 48862962db Fix message sending, filebased store storage 2018-07-03 11:38:14 +02:00
Paul Schaub ffc8cbbf79 Several changes
Add encrypted message listeners
Automatically decrypt incoming messages
Add convenient methods to get payload
2018-07-03 11:38:14 +02:00
Paul Schaub e8f09fc842 Another overhaul 2018-07-03 11:38:14 +02:00
Paul Schaub f522cea748 Finish rewrite :D 2018-07-03 11:38:14 +02:00
Paul Schaub 2b7738cc9c Warning: Construction Site! 2018-07-03 11:38:14 +02:00
Paul Schaub 365a4d20d0 Fix decrypting messages 2018-07-03 11:38:14 +02:00
Paul Schaub 653f318d37 Implement restoring secret key 2018-07-03 11:38:14 +02:00
Paul Schaub 878ac56ed0 Implement exporting secret key 2018-07-03 11:38:14 +02:00
Paul Schaub 55b9c1ac2a Modify API
Add methods to decrypt messages
Add lots of high quality documentation
2018-07-03 11:38:14 +02:00
Paul Schaub 2706f60744 Do not add our pub key to config 2018-07-03 11:38:14 +02:00
Paul Schaub 6e84a8a301 Fix documentation 2018-07-03 11:38:14 +02:00
Paul Schaub c1603139be Introduce exception, add documentation 2018-07-03 11:38:14 +02:00