llakssz / CIAngel

Download GOOD CIAs on your 3DS!
189 stars 19 forks source link

keys site is moving #73

Closed superbudvar closed 8 years ago

superbudvar commented 8 years ago

and to https.

We will need to update to reflect this, but there is now also a https redirect, which breaks the download

DrakiaXYZ commented 8 years ago

Just saw that, if you're not planning on looking at it I'll see if I can fix it after work.

superbudvar commented 8 years ago

I've had a quick look to see if I can work out SSL requests, but I'm waiting til after work too :grimacing:

superbudvar commented 8 years ago

That starts about now, so I think that probably gives me about 5 hours do get a fix, or it's over to you :stuck_out_tongue_winking_eye:

DrakiaXYZ commented 8 years ago

Lol, yup, I'm at work for another 6.5 hours, so you've got some time ;)

superbudvar commented 8 years ago

well...fail...

It seems there's an ssl.c in 3ds-examples which I've been trying to add to the project, but it doesn't just use an url but a hostname and a path, so I got lost attempting to split strings. I'll commit what I've got, but tbh, it may be the long way round; it may be possible to do it all using httpc alone.

It seems we also need a root cert generating too. Again, the example comes with one that I was using temporarily

llakssz commented 8 years ago

how about the project I originally forked from, does that help you? https://github.com/machinamentum/FirmwareDownloader/blob/master/source/main.cpp#L264

cerea1killer commented 8 years ago

I have some stuff, including separating all net stuff into a net.h/c, I can commit that in the morning. It's based on a mix of firmware downloader, and SSL from the example.

On Tue, May 10, 2016, 6:58 PM llakssz notifications@github.com wrote:

how about the project I originally forked from, does that help you?

https://github.com/machinamentum/FirmwareDownloader/blob/master/source/main.cpp#L264

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/llakssz/CIAngel/issues/73#issuecomment-218342581

DrakiaXYZ commented 8 years ago

Does it actually work the that sites new Let's Encrypt SSL cert? Cause my 3ds totally chokes on Let's Encrypt certs, even with the normal browser :/

cerea1killer commented 8 years ago

Haven't gotten it functional yet, but that should just be a matter of making sure the root chain for the SSL cert context includes let's encrypt in the chain

On Tue, May 10, 2016, 9:39 PM Steven Scott notifications@github.com wrote:

Does it actually work the that sites new Let's Encrypt SSL cert? Cause my 3ds totally chokes on Let's Encrypt certs, even with the normal browser :/

— You are receiving this because you commented.

Reply to this email directly or view it on GitHub https://github.com/llakssz/CIAngel/issues/73#issuecomment-218360047

DrakiaXYZ commented 8 years ago

Boom https://github.com/llakssz/CIAngel/pull/74

DrakiaXYZ commented 8 years ago

Also, just for informational purposes, while the index for the nfshost version of the site is down, the json is still up, so people using CIAngel right now still have access to wings.json :+1: