Thanks to visit codestin.com
Credit goes to programming.dev

  • 81 Posts
  • 104 Comments
Joined 2 年前
Codestin Search App
Cake day: 2024年6月14日

Codestin Search App










  • xoronOPtoPrivacyP2P WhatsApp Clone
    Codestin Search App
    Codestin Search App
    Codestin Search App
    2
    ·
    Codestin Search App
    1 个月前

    thanks for letting me know, i’ll take a look.

    edit: perhaps this could be your issue… consider that your user-ID is the same one used when you reload the page or open it on another tab. if you open a new browser tab, it will try to connect to the peerjs server with an ID thats already in use… instead try with one incognito browser window (or a separate device).






  • xoronOPtocybersecurity@infosec.pub*Permanently Deleted*
    Codestin Search App
    Codestin Search App
    Codestin Search App
    3
    ·
    Codestin Search App
    2 个月前

    thanks. this implementation is intended for a p2p messaging app. it works as a webapp and only stores data locally.

    the signal architecture requires prekeys to be store on a server, in a p2p approach you dont need presigned keys and the double rachet starts immidiately (the tradoff is there is no offline messaging).

    im investigating making it so that the service worker caches the initial static files… so page-refreshes dont update the loaded statics. there would be an explicit button to update the statics for the service worker. i have a basic concept working but it isnt finished enough for me to roll-out.

    when open-source, there are additional capabilities that can be unlocked like being able to run the app from index.html without a static server. this would be stronger against anyone making changes on the network-level.

    i understand why signal doesnt do a webapp like many other sevices like whatsapp… the p2p messaging architecture is fundamentally different.


  • xoronOPtoOpensourceSignal Protocol in Javascript
    Codestin Search App
    Codestin Search App
    Codestin Search App
    1
    ·
    2 个月前

    Not ideal, but a professional audit is not an option.

    To be clear, my prompt was not “create me a security audit”. it took time and effort with several stages of refinement. I suspect more effort than writing that article.

    It’s open source for you to critique in a more involved way. The AI audit is intended to get to there faster. If you see any details that are wrong, I’ll be happy to take a look and update appropriately.






  • thanks for the vibe-check.

    its a bit over the top for encryption. i see that webrtc alone should already be providing sufficient encryption. its audited and it works really well… i hope the redundency could be reassuring to users. if one layer fails it all fails… this is the expected behaviour. having too much encryption is better than not having enough.

    it is a bit security thatre… in a messaging app, security is paramount so i want to have an answer when users (inevitably) compare my approach to signal.

    in cybersec, there are countless nuances. so id like to try this approach with a cascading cipher. a protocol for all protocols.

    i’ll keep an eye out for any sideeffects.










  • xoronOPtoPrivacyNo-setup P2P Calls in an Browser
    Codestin Search App
    Codestin Search App
    Codestin Search App
    1
    ·
    3 个月前

    youre right that embarrassment is no reason to not open source it. i simply am investigating a close source direction to create a competative product.

    if you interested in how this mechanics work, a very complicated version of it can be seen in: https://github.com/positive-intentions/chat (maybe you can get some AI on it.) … the p2p call demo is a module im creating to be refinement of the old p2p functionality.

    im aware that security and privacy doesnt easily fit with close-source, so id like to eventually open source it when i can figure out funding. open source from the onset didnt work out how i naively thought it would in the old version.




  • xoronOPtoPrivacyNo-setup P2P Calls in an Browser
    Codestin Search App
    Codestin Search App
    Codestin Search App
    2
    ·
    3 个月前

    these are good points. with peerjs this is easily configurable.

    can i pick your brain about a config like the following:

    const newPeer = new Peer(`blah`, {
            config: {
              iceServers: [
                { url: "stun:stun.l.google.com:19302" },
                { url: "stun:stun1.l.google.com:19302" },
                { url: "stun:stun2.l.google.com:19302" },
                { url: "stun:stun3.l.google.com:19302" },
                { url: "stun:stun4.l.google.com:19302" },
              ],
            },
          });
    

    perhaps you would prefer to manually set your own config there with input fields?

    id appriciate any insights into what you think users with that particular issue would like or find useful.