1. 11 May, 2020 1 commit
  2. 07 May, 2020 1 commit
  3. 06 May, 2020 5 commits
  4. 21 Apr, 2020 2 commits
    • AsamK's avatar
    • AsamK's avatar
      Also catch IllegalArgumentException when sending messages during receive · 19b01ff2
      AsamK authored
      It's necessary to keep receiving messages if a session state is corrupted.
      e.g:
      Exception in thread "main" java.lang.IllegalArgumentException: Empty key
              at java.base/javax.crypto.spec.SecretKeySpec.<init>(Unknown Source)
              at org.whispersystems.libsignal.ratchet.ChainKey.getBaseMaterial(ChainKey.java:57)
              at org.whispersystems.libsignal.ratchet.ChainKey.getMessageKeys(ChainKey.java:47)
              at org.whispersystems.libsignal.SessionCipher.encrypt(SessionCipher.java:97)
              at org.signal.libsignal.metadata.SealedSessionCipher.encrypt(SealedSessionCipher.java:70)
              at org.whispersystems.signalservice.api.crypto.SignalServiceCipher.encrypt(SignalServiceCipher.java:86)
              at org.whispersystems.signalservice.api.SignalServiceMessageSender.getEncryptedMessage(SignalServiceMessageSender.java:1456)
              at org.whispersystems.signalservice.api.SignalServiceMessageSender.getEncryptedMessages(SignalServiceMessageSender.java:1406)
              at org.whispersystems.signalservice.api.SignalServiceMessageSender.sendMessage(SignalServiceMessageSender.java:1276)
              at org.whispersystems.signalservice.api.SignalServiceMessageSender.sendReceipt(SignalServiceMessageSender.java:206)
              at org.asamk.signal.manager.Manager.sendReceipt(Manager.java:686)
              at org.asamk.signal.manager.Manager.handleMessage(Manager.java:1562)
              at org.asamk.signal.manager.Manager.receiveMessages(Manager.java:1496)
              at org.asamk.signal.commands.ReceiveCommand.handleCommand(ReceiveCommand.java:160)
              at org.asamk.signal.Main.handleCommands(Main.java:137)
              at org.asamk.signal.Main.main(Main.java:60)
      19b01ff2
  5. 03 Apr, 2020 6 commits
  6. 30 Mar, 2020 2 commits
  7. 29 Mar, 2020 4 commits
  8. 27 Mar, 2020 1 commit
  9. 25 Mar, 2020 1 commit
  10. 24 Mar, 2020 8 commits
  11. 23 Mar, 2020 9 commits