aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/crypto (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-11-23PgpService: feed result intent back into decryptionChristian Schneppe1-6/+12
2017-11-21excute db read and writes on different threadsChristian Schneppe1-1/+1
2017-08-13create a new axolotl service when the account jid changesChristian Schneppe1-0/+13
2017-08-13prevent users from editing their account jid after successful loginChristian Schneppe1-2/+2
2017-08-03use random string generator instead of BigInteger in DigestMd5Christian Schneppe1-2/+1
2017-08-01use base64 instead of base36 when creating random stringsChristian Schneppe2-3/+11
2017-08-01avoid unnecessary roster sync in OMEMO code. fixed startup performance ↵Christian Schneppe1-1/+0
regression
2017-08-01refresh omemo activity after failing to fetch keys due to lack of idsChristian Schneppe1-0/+1
2017-08-01Give up PGP decryption when intent is cancelledChristian Schneppe1-0/+21
When receiving a PGP message which is not encrypted with YOUR key, OpenKeychain shows a dialog, which tells you the private key to decrypt the message is unavailable. However, Conversations won't give up decrypting the message. So whether the subsequent messages are decryptable or not, the decryption is blocked at the current message. The commit fixes the bug in this way: Give up the current message when the decryption intent is cancelled, so that subsequent messages can be handled.
2017-08-01made OF selfSigned() workaround only available >=kitkatChristian Schneppe1-4/+3
this undos 0f34c0ab3ed0ce3c98dc4d835c7897e8d533f7e6 as it turns out 4.1 and 4.0 only break when checking if a cert is self signed.
2017-08-01made omemo always available but in public mucsChristian Schneppe1-1/+1
2017-08-01provide upgrade path for accounts with publish-optionsChristian Schneppe1-3/+13
2017-08-01use publish-options instead of always pushing node configurationChristian Schneppe1-29/+57
2017-08-01let hasPendingFetches() return true when fetching device idsChristian Schneppe1-4/+6
2017-08-01fetch required device ids on demandChristian Schneppe2-33/+85
2017-08-01explicitly fetch device ids before building sessions in single mode conversationChristian Schneppe1-0/+36
2017-08-01change access model of omemo pep nodes after every publishChristian Schneppe1-13/+32
2017-08-01fetch device ids for muc members w/o known devicesChristian Schneppe1-1/+22
2017-08-01use CN-workaround for pre-kitkatChristian Schneppe1-2/+4
2017-08-01fix regression introduces with OF fix. properly fall back to common nameChristian Schneppe1-7/+7
2017-08-01workaround for OpenFire: check CN first in self signed certsChristian Schneppe1-5/+32
The self signed certificates created by OpenFire (Not sure if other certs are affected as well) will crash the Java/Android TLS stack when accessing getSubjectAlternativeNames() on the the peer certificate. This usually goes unnoticed in other applications since the DefaultHostnameVerifier checkes the CN first. That however is a violation of RFC6125 section 6.4.4 which requires us to check for the existence of SAN first. This commit adds a work around where in self signed certificates we check for the CN first as well. (Avoiding the call to getSubjectAlternativeNames())
2017-06-25fixed fingerprint trust (was messed up after library upgrade)Christian Schneppe2-5/+6
2017-06-24also check for hostname in in certs if hostname is from trusted sourceChristian Schneppe1-4/+16
2017-06-24upgrade to signal-protocol-javaChristian Schneppe3-107/+114
2017-05-10display open pgp key id in account details and allow to deleteChristian Schneppe1-4/+0
2017-05-09don't load signed prekeys on startupChristian Schneppe2-4/+5
2017-04-13treat URL as file if URL is in oob or contains keyChristian Schneppe1-1/+1
2017-03-04make x509 verification node world readableChristian Schneppe1-3/+18
2017-01-29add explicit encryption hints to outgoing messagesChristian Schneppe1-0/+1
2017-01-16Add SCRAM-SHA-2 supportChristian Schneppe3-211/+261
2017-01-16refactored whispermessage processingChristian Schneppe2-27/+27
2017-01-16partially improved logging for receiving omemo messagesChristian Schneppe4-18/+28
2017-01-15don't allow to purge keys. offer distrust insteadChristian Schneppe3-7/+11
2017-01-14treat omemo keys >= 32 bytes as containing auth tag. add config flag to put ↵Christian Schneppe2-23/+51
auth tag in key
2017-01-09adding prekey='true' to omemo messages if applicableChristian Schneppe2-11/+25
2016-12-29don't throw assertion error when building session with same device id from ↵Christian Schneppe1-1/+6
other contact
2016-12-25added omemo padding but disabled by Config.java flagChristian Schneppe1-2/+18
2016-12-25disable removing of broken devices by defaultChristian Schneppe1-10/+12
2016-12-25remove broken devices only once to prevent loopsChristian Schneppe1-2/+5
2016-12-18remove own fetch errors from device announcementChristian Schneppe1-29/+45
2016-12-18use prepped string when building axolotl sessionChristian Schneppe1-3/+3
2016-11-24update the conversations view (and the lock icon) after receiving device listChristian Schneppe1-0/+1
2016-11-24introduced blind trust before verification modeChristian Schneppe3-3/+35
read more about the concept on https://gultsch.de/trust.html
2016-11-20remove omemo devices from annoucement after 7 days of inactivityChristian Schneppe2-24/+54
2016-11-20save last activation time in fingerprint statusChristian Schneppe4-7/+48
2016-11-20show 'clear devices' button underneath own devicesChristian Schneppe2-23/+6
2016-11-20removed some unecessary logging from omemo message generationChristian Schneppe1-4/+0
2016-11-20removed some very verbose logging from axolotl serviceChristian Schneppe1-1/+0
2016-11-19reformat codeChristian Schneppe19-2861/+2865
2016-11-18put omemo fingerprint in own uri (qr code / nfc)Christian Schneppe2-2/+6