hoccer / hoccer-talk-spike

Android Client & Backend Software
0 stars 0 forks source link

Restored groups from credentials don't work #1121

Open elRadish opened 8 years ago

elRadish commented 8 years ago

Groups being restored from credentials import don't work.

-Received message are empty -Not possible to send messages, "no members", but there are members.

Reproduce:

Groups that are imported from Backup work, but don't get avatar images if they are owned by the restored account.

elRadish commented 8 years ago

Message from another member is delivered: screenshot_20160309-143903

Writing message not possible: screenshot_20160309-143907

Another member "Aufkauf" not shown as member of the group although he is. screenshot_20160309-143917

elRadish commented 8 years ago

Same problem in Production, after a second credential import.

Might be related to that:

03-09 17:36:01.780  11279-11327/? E/Hoccer﹕ [Thread-13174] ERROR com.hoccer.talk.client.XoClient - error decrypting group key
javax.crypto.BadPaddingException: error:0407109F:rsa routines:RSA_padding_check_PKCS1_type_2:pkcs decoding error
        at com.android.org.conscrypt.NativeCrypto.RSA_private_decrypt(Native Method)
        at com.android.org.conscrypt.OpenSSLCipherRSA.engineDoFinal(OpenSSLCipherRSA.java:273)
        at javax.crypto.Cipher.doFinal(Cipher.java:1340)
        at com.hoccer.talk.crypto.RSACryptor.a(RSACryptor.java:43)
        at com.hoccer.talk.client.XoClient.a(XoClient.java:3353)
        at com.hoccer.talk.client.XoClient.a(XoClient.java:3230)
        at com.hoccer.talk.client.XoClient.a(XoClient.java:45)
        at com.hoccer.talk.client.XoClient$TalkRpcClientImpl.groupMemberUpdated(XoClient.java:1890)
        at java.lang.reflect.Method.invoke(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:372)
        at a.a.e.a.a(JsonRpcServer.java:265)
        at a.a.e.a.a(JsonRpcServer.java:161)
        at a.a.c.a.f(JsonRpcConnection.java:303)
        at a.a.g.c.b(JsonRpcWsConnection.java:222)
        at a.a.g.c.a(JsonRpcWsConnection.java:202)
        at a.a.g.a.a$a.a(JavaWebSocket.java:136)
        at org.b.a.a.a(WebSocketClient.java:253)
        at org.b.c.d(WebSocketImpl.java:381)
        at org.b.c.a(WebSocketImpl.java:158)
        at org.b.a.a.run(WebSocketClient.java:185)
        at java.lang.Thread.run(Thread.java:818)