DBDigital / nookdevs

Automatically exported from code.google.com/p/nookdevs Please note I am not a developer. I only created this to prevent the code from being lost with the shutdown of GoogleCode. If you wish to work on this, contact me and I will add you. :)
0 stars 0 forks source link

Fictionwise Certificate Expired (fix proposed, but untested) #132

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Attempt to use the "Fictionwise" feature of nookLibrary.
2. nookLibrary attempts to open an https connection to www.fictionwise.com.
3. The connection fails as www.fictionwise.com's SSL certificate expired on 
9/12/2010.

What is the expected output? What do you see instead?
adb logcat shows 
"javax.net.ss.SSLException: Not trusted server certificate."

Firefox takes exception to "https://www.fictionwise.com/" giving more 
intelligible output.

What version of the product are you using? On what operating system?
nookLibrary 0.1.2

Please provide any additional information below.
I will try recompiling after changing to "www.ficitionwise.com" to 
"store.ficitionwise.com" in all URLs, since it a valid cert and the above path 
at that server name seems to redirect to a session login.  I have no idea if 
the correct interface is present at this address, but it might be a quick fix.  
I won't have time to debug until 9/15/2010 night, so I'm posting in case 
someone wants to beat me to it.

Original issue reported on code.google.com by doer...@gmail.com on 14 Sep 2010 at 6:26

GoogleCodeExporter commented 8 years ago
Confirmed!

Changing all URLs containing "www.fictionwise.com" to "store.fictionwise.com" 
allowed me to download novels from fictionwise.

Sorry I can't post a patch.  I had to fiddle with generics on 
com.nookdevs.library.NookLibrary.loadImages() to get nookLibrary to compile, 
but lost "No Cover Available" covers and I don't want to post those changes.  
What's the work around for that?

Original comment by doer...@gmail.com on 14 Sep 2010 at 12:13

GoogleCodeExporter commented 8 years ago
thanks. it only changes in 1 file right? I'll include it in the next build.

Original comment by hari.swa...@gmail.com on 15 Sep 2010 at 4:00

GoogleCodeExporter commented 8 years ago
I'm in the middle of some changes for nookLibrary and the trunk code might be a 
bit unstable. I'll wrap up the changes by this weekend. It should compile fine 
then.

Original comment by hari.swa...@gmail.com on 15 Sep 2010 at 4:03

GoogleCodeExporter commented 8 years ago
Yes, it's only one file: com.nookdevs.library.FictionwiseBooks.  

Is there a way to find what revision I need to use for debugging a particular 
version?  The tags don't seem to be used as often as releases.

Original comment by doer...@gmail.com on 15 Sep 2010 at 6:13

GoogleCodeExporter commented 8 years ago
I was creating the tags properly before, but forgot to update them with the 
last few releases. 
But, you can get the revision number by using the Updates history ( updates 
link in Project Home). nookLibrary.apk was last updated on Aug 16th. So, you 
need the revision just before that.

Original comment by hari.swa...@gmail.com on 15 Sep 2010 at 6:37

GoogleCodeExporter commented 8 years ago
fixed in latest build. I created a build tag this time :)

Original comment by hari.swa...@gmail.com on 16 Sep 2010 at 9:10