Page 3 of 3 FirstFirst 123
Results 41 to 49 of 49
Like Tree59Likes
  1. #41  
    Alright! So, my current status:

    I was able to compile OpenSSL 1.0.2 for webOS and got it working after changing the order for a few internal structures so that they lineup with what webOS was accessing. I had success with TLS 1.2 support! I just had to update all of my out-of-date CA certs.

    Then I discovered that nodejs was broken; specifically the Crypto module. Great... It turns out that they didn't use a pointer and while they don't access the data directly, they relied on the compiler to compute the amount of memory to allocate for the structure -- and this structure changed in size... So, I fell down the rabbit hole...

    Well great... I can't get the Palm V8 sources because V8 is under a BSD style license... Thankfully Palm made minimal changes to node, but those sources weren't on the old opensource.palm.com (now on openwebos.org). I then remembered that HP released a version of nodejs Open webOS! I got that compiling! But the compiled webOS specific Node modules weren't working... Great... The source for newer versions of those were released as well! Score! Well... Working through the dependencies turned out to be near impossible. I found older tags in Github for all dependencies and was able to get some stuff going. I finally got all dependencies built! Then...

    It didn't work. The luna-service2 library on Github was too new for what was on the Pre3 (and I imagine TouchPad). Thankfully, I could create a symbolic link from the old liblunaservice.so module to the new libluna-service2.so module, copy over the new ls-hubd and ls-monitor and all was working!!

    So far I am about 2 days in. This is my plan:

    1. Create a Github repo
    2. Put the patches I created and some of the build scripts into the repo, and indicate which submissions I used for each components
    3. Create an IPK manually from the binaries I have so others can install and use (this will be for testing)
    4. Work on some scripts to compile everything as needed
    5. Work on above scripts to create a useable IPK (or IPKs)


    Anyway, that's where I am!

    EDIT: I do see that I need to update PmCertificateMgrService.


    -- Sent from my Palm Pre3 using Forums
    Last edited by dkirker; 01/01/2020 at 11:17 PM.
    Did you know:

    webOS ran on a Treo 800 during initial development.
  2. #42  
    I want to later look to update to OpenSSL 1.1.1. However... This is going to require upgrading some other components due to some changes. So, that might not be so straight forward... That said, I don't even believe BrowserServer in Open webOS supports OpenSSL 1.1.1. My hope would be to use the Open webOS BitBake/Yocto stuff to generate the packages. We'll see. (I have pretty basic BitBake/Yocto experience and have to re-learn each time I sit down...

    -- Sent from my Palm Pre3 using Forums
    Did you know:

    webOS ran on a Treo 800 during initial development.
  3. #43  
    Quote Originally Posted by dkirker View Post
    Alright! So, my current status:

    I was able to compile OpenSSL 1.0.2 for webOS and got it working after changing the order for a few internal structures so that they lineup with what webOS was accessing. I had success with TLS 1.2 support! I just had to update all of my out-of-date CA certs.

    Then I discovered that nodejs was broken; specifically the Crypto module. Great... It turns out that they didn't use a pointer and while they don't access the data directly, they relied on the compiler to compute the amount of memory to allocate for the structure -- and this structure changed in size... So, I fell down the rabbit hole...

    Well great... I can't get the Palm V8 sources because V8 is under a BSD style license... Thankfully Palm made minimal changes to node, but those sources weren't on the old opensource.palm.com (now on openwebos.org). I then remembered that HP released a version of nodejs Open webOS! I got that compiling! But the compiled webOS specific Node modules weren't working... Great... The source for newer versions of those were released as well! Score! Well... Working through the dependencies turned out to be near impossible. I found older tags in Github for all dependencies and was able to get some stuff going. I finally got all dependencies built! Then...

    It didn't work. The luna-service2 library on Github was too new for what was on the Pre3 (and I imagine TouchPad). Thankfully, I could create a symbolic link from the old liblunaservice.so module to the new libluna-service2.so module, copy over the new ls-hubd and ls-monitor and all was working!!

    So far I am about 2 days in. This is my plan:

    1. Create a Github repo
    2. Put the patches I created and some of the build scripts into the repo, and indicate which submissions I used for each components
    3. Create an IPK manually from the binaries I have so others can install and use (this will be for testing)
    4. Work on some scripts to compile everything as needed
    5. Work on above scripts to create a useable IPK (or IPKs)


    Anyway, that's where I am!

    EDIT: I do see that I need to update PmCertificateMgrService.


    -- Sent from my Palm Pre3 using Forums
    Great work! I'd say put it all on GitHub and others can look & contribute as well.

    For 1.1.1 update we have the following in LuneOS for pmcertificatemgr:

    https://github.com/webOS-ports/pmcer...56c8bd4ad414e7

    Certmgrd was never released by HP under Open webOS it seems, so we have a simple implementation of that in LuneOS:
    https://github.com/webOS-ports/certm...orts/webOS-OSE
  4. #44  
    That's a lot of progress
  5. #45  
    Holy smokes @dkirker, that's a lot of work and a lot of progress! Excellent work!
    dkirker likes this.
  6. #46  
    Awesome work dkirker!

    -- Sent from my TouchPad using Communities
    dkirker likes this.
  7. #47  
    Apologies for the delay in posting anything. My uncle was diagnosed with cancer of the holiday so between family time and work I haven't done a whole lot. I've been working out adding the old luna bus paths to webOS-Ports certmgrd so that it can just replace the PmCertificateMgrService.

    While I am doing that I am going to try to set up a Github repo that has the patches and the submission numbers for the dependencies. What I can say is that I won't be able to get to this for about a week (family stuff this weekend). More soon!

    I can say that I have been using an updated NodeJS with little to no issues at all!
    Did you know:

    webOS ran on a Treo 800 during initial development.
    MudShark22 and Preemptive like this.
  8. #48  
    Really sorry to hear about your uncle. Hope all will be ok
  9.    #49  
    Quote Originally Posted by mazzinia View Post
    Really sorry to hear about your uncle. Hope all will be ok
    Yes, best wishes for a recovery.
Page 3 of 3 FirstFirst 123

Similar Threads

  1. A (new?) solution (/work-around) for HTTPS sites that won't load
    By jonwise80 in forum webOS Discussion Lounge
    Replies: 17
    Last Post: 01/06/2019, 07:32 PM
  2. Are there any Night Modes for WebOS like f.lux?
    By footloose man in forum HP TouchPad
    Replies: 22
    Last Post: 12/31/2018, 07:45 PM
  3. pivotCE: The New Palm phone is revealed.
    By Preemptive in forum Upcoming & Rumored webOS Devices
    Replies: 30
    Last Post: 11/28/2018, 10:38 AM
  4. Lg WebOS Tv out of memory error
    By jhamond987 in forum LG webOS TV
    Replies: 1
    Last Post: 10/19/2018, 02:39 PM
  5. Lg WebOS Tv out of memory error
    By Sagar Venugopal in forum LG webOS TV
    Replies: 0
    Last Post: 10/19/2018, 08:05 AM

Posting Permissions