[GH-ISSUE #158] SSL based crash when restoring #135

Closed
opened 2026-02-26 00:36:20 +03:00 by kerem · 1 comment
Owner

Originally created by @kieranshaw on GitHub (Apr 28, 2011).
Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/158

Hi,

I tried restoring my messages on my HTC Desire HD 2.2. It blew up with application forced close. I downloaded the source and built on my machine and run again in a simulator and debugged the error. Turns out at some point in the K9 code it tries to talk SSL and blows up because the project isn't build with the BouncyCastle dependency. I added the BouncyCastle jar file from here: http://www.bouncycastle.org/latest_releases.html

And it now works for me. I don't get it all of the time, but I suspect it occasionally wants to talk SSL for some reason.

I think if you just add this to the libs: http://www.bouncycastle.org/download/bcprov-jdk16-146.jar then it'll fix the problem.

Originally created by @kieranshaw on GitHub (Apr 28, 2011). Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/158 Hi, I tried restoring my messages on my HTC Desire HD 2.2. It blew up with application forced close. I downloaded the source and built on my machine and run again in a simulator and debugged the error. Turns out at some point in the K9 code it tries to talk SSL and blows up because the project isn't build with the BouncyCastle dependency. I added the BouncyCastle jar file from here: http://www.bouncycastle.org/latest_releases.html And it now works for me. I don't get it all of the time, but I suspect it occasionally wants to talk SSL for some reason. I think if you just add this to the libs: http://www.bouncycastle.org/download/bcprov-jdk16-146.jar then it'll fix the problem.
kerem closed this issue 2026-02-26 00:36:20 +03:00
Author
Owner

@jberkel commented on GitHub (May 2, 2011):

that's weird. can you point me to the location in the code? the only bouncycastle dependency see i see in k9 is import org.bouncycastle.asn1.x509.X509Name.

<!-- gh-comment-id:1090819 --> @jberkel commented on GitHub (May 2, 2011): that's weird. can you point me to the location in the code? the only bouncycastle dependency see i see in k9 is `import org.bouncycastle.asn1.x509.X509Name`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/sms-backup-plus-jberkel#135
No description provided.