Commit Graph

3590 Commits

Author SHA1 Message Date
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
Paul Schaub a234760233 Temp commit 2018-07-03 11:38:14 +02:00
Paul Schaub 6e7145801e Implement OpenPgpManager functions 2018-07-03 11:38:14 +02:00
Paul Schaub e00075bca9 Make OpenPgpInitializer optional startup class 2018-07-03 11:38:14 +02:00
Paul Schaub 9ee47e1711 BouncycastleOpenPgpProvider implementatioN 2018-07-03 11:38:14 +02:00
Paul Schaub 2acf9689fe Temp 2018-07-03 11:38:14 +02:00
Paul Schaub 583dfce7c0 Include PGPainless and create encryption, decryption test 2018-07-03 11:38:14 +02:00
Paul Schaub d28ffda1c0 Add test keys 2018-07-03 11:38:14 +02:00
Paul Schaub de2cac03bd Comments and remove getter for rpad 2018-07-03 11:38:14 +02:00
Paul Schaub 0900d0a27d Improve elements and providers and create tests 2018-07-03 11:38:14 +02:00
Florian Schmaus dd9c693c3a DRAFT/WIP Started XEP-0373: OpenPGP for XMPP implementation 2018-07-03 11:38:14 +02:00
Florian Schmaus 8011ba96bb
Merge pull request #244 from vanitasvitae/EmeImprovements
Add EME convenience methods
2018-07-03 09:52:39 +02:00
Florian Schmaus ce4f3352a2 Merge branch '4.3' 2018-06-23 17:18:17 +02:00
Florian Schmaus d76d8a9b3f
Merge pull request #245 from vanitasvitae/fixStaleDevices
Only ignore our own stale devices
2018-06-22 15:05:58 +02:00
Paul Schaub e79f364e1d
Only ignore our own stale devices 2018-06-22 14:03:09 +02:00
Florian Schmaus c73219b797 Add (To|From)TypeFilter.(FROM|TO)_ANY_JID
to filter all stanzas which have a valid jid set as to/from.
2018-06-20 22:17:11 +02:00
Florian Schmaus 61be4d768d Add javadoc describing the XMPPErrorException class 2018-06-20 22:17:11 +02:00
Florian Schmaus 23bb5c5625 Add XMPPErrorException.getStanzaError()
Also deprecate getXMPPError and let StanzaError implement
ExtensionElement.
2018-06-20 22:17:11 +02:00