Feature #2541

support HTTPS in kerplapp repos

Added by hans about 4 years ago. Updated about 4 years ago.

Status:ClosedStart date:11/19/2013
Priority:NormalDue date:
Assignee:pd0x% Done:

0%

Category:-
Target version:0.1 - "Kerplapp"
Component:

Description

implement HTTPS connections in kerplapp

Looks like the existing nanohttpd SSL implementation is pretty limited:
http://stackoverflow.com/questions/9358424/java-ssl-chrome-firefox-sends-g-in-http-header-instead-of-get-http-1-1


Related issues

Related to Bazaar - Bug #2542: Support self signed SSL w/ F-Droid Client Closed 11/19/2013

Associated revisions

Revision 53a47faa
Added by pd0x about 4 years ago

Initial Kerplapp SSL repo support.

Lots of work left to be done. Presently generates a new KeyStore with a self
signed cert for each installation. Hardcoded passphrase. All very nasty and
initial, but it works! Requires patched NanoHTTPD.

refs #2541

Revision f553a4a3
Added by pd0x about 4 years ago

Refactored SSL, updated crypto to modern BouncyCastle API.

Got rid of the Crypto shell class and extended the SimpleHTTPD class included in
NanoHTTPD to setup SSL automatically. The old deprecated crypto code has been
torn out. I'm reasonably confident I'm using the correct/up to date BouncyCastle
API and following best practices. The error handling definitely needs
improvement.

refs issue #2541

History

#1 Updated by pd0x about 4 years ago

F-Droid client will need to be modified. Presently hard-fails on self-signed HTTPS. See Issue #2542

#2 Updated by hans about 4 years ago

  • Status changed from New to Closed

Also available in: Atom PDF