Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

decrypt message error #10

Open
wqandroid opened this issue Feb 10, 2023 · 0 comments
Open

decrypt message error #10

wqandroid opened this issue Feb 10, 2023 · 0 comments

Comments

@wqandroid
Copy link

"content":"U6zOLmjKxm91gR8IBoDhyw==?

iv=viL6IUO1ySUSNJ2Z/W78kg==","created_at":1675418947,"id":"cd891d4b319d5ab471c8ec06bce166d2987ecce16318b8f93bbe6f772b17222c","kind":4,"pubkey":"9e9764b9415b2ff0e24733e3fe685922e79b4812c6ad412a9e05447153f05cbb","sig":"95c301b4e823a066577122afabdc9de0c4c649a104801207e5804a7ba80c8b29b3a2f2de8f54ec0412d3daaf81e5bf46163d597b1bde960b033d3ee6950318b8","tags":[["p","f04153e00c3279b06bc992783e1ab67370eed9898fec8fe1bf1c7760cf529506","","王琼测试"]]}

22:12:35.711 W javax.crypto.BadPaddingException: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT
22:12:35.711 W at com.android.org.conscrypt.NativeCrypto.EVP_CipherFinal_ex(Native Method)
22:12:35.711 W at com.android.org.conscrypt.OpenSSLEvpCipher.doFinalInternal(OpenSSLEvpCipher.java:152)
22:12:35.711 W at com.android.org.conscrypt.OpenSSLCipher.engineDoFinal(OpenSSLCipher.java:374)
22:12:35.711 W at javax.crypto.Cipher.doFinal(Cipher.java:2056)
22:12:35.711 W at nostr.postr.Utils.decrypt(Utils.kt:62)
22:12:35.711 W at nostr.postr.events.PrivateDmEvent.plainContent(PrivateDmEvent.kt:56)
22:12:35.712 W at nostr.postr.events.PrivateDmEvent.plainContent(PrivateDmEvent.kt:46)
22:12:35.712 W at nostr.postr.ui.feed.FeedViewModel$clientListener$1.onNewEvent(FeedViewModel.kt:70)
22:12:35.712 W at nostr.postr.Client.onNewEvent(Client.kt:73)
22:12:35.712 W at nostr.postr.RelayPool.onEvent(RelayPool.kt:83)
22:12:35.712 W at nostr.postr.Relay$requestAndWatch$listener$1.onMessage(Relay.kt:45)
22:12:35.712 W at okhttp3.internal.ws.RealWebSocket.onReadMessage(RealWebSocket.kt:333)
22:12:35.712 W at okhttp3.internal.ws.WebSocketReader.readMessageFrame(WebSocketReader.kt:245)
22:12:35.712 W at okhttp3.internal.ws.WebSocketReader.processNextFrame(WebSocketReader.kt:106)
22:12:35.712 W at okhttp3.internal.ws.RealWebSocket.loopReader(RealWebSocket.kt:293)
22:12:35.712 W at okhttp3.internal.ws.RealWebSocket$connect$1.onResponse(RealWebSocket.kt:195)
22:12:35.713 W at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant