I've been working on a end-to-end encrypted survey system

Thought people might be interested in seeing a project I’ve almost completed.

Purplix.io is a open source end-to-end encrypted survey system & warrant canary manger / viewer.

Would love some feedback or to answer any questions anyone has!

(Ignore the Nav not expanding to the bottom on some of the screenshots, thats just due to the screen shotting tool i use for full page screenshots.)

https://lemmy.nz/pictrs/image/e4beae46-3b08-4480-8037-3c243ca51bd2.pnghttps://lemmy.nz/pictrs/image/f99f1898-bf7d-43cf-aa3d-a2a760041168.pnghttps://lemmy.nz/pictrs/image/bc37fad3-30e5-49e7-9dd9-aaf72437c81d.pnghttps://lemmy.nz/pictrs/image/47d8db2c-bf5b-4d0a-8e90-0c8eafffde16.pnghttps://lemmy.nz/pictrs/image/05c4fa2e-68dd-4339-97ba-4af8a81c8149.pnghttps://lemmy.nz/pictrs/image/981f4888-c508-4342-8f27-46fa1a79e868.png

Oha,
@Oha@lemmy.ohaa.xyz avatar

Looks pretty cool

PublicLewdness,

While I can’t say I would have use for it myself I wish you luck and will spread it around where I can.

Ward,
@Ward@lemmy.nz avatar

Sheeesshh, you know when Public lewdness supports your project you know its good! Thanks for the kind words, have a great day.

Ward,
@Ward@lemmy.nz avatar

Purplix now supports per Survey & per Canary themes.

themes

HughJanus,

Can’t really see your screenshots but do you have alternate voting systems like Ranked Choice or Approval?

Ward,
@Ward@lemmy.nz avatar

Purplix is planning to launch with multiple choice, single choice, short answer and long answer. After launch we’ll be adding additional answer types.

!deleted95653, (edited )

deleted_by_author

  • Loading...
  • Ward,
    @Ward@lemmy.nz avatar

    Yea I’d love to have Paaster audited, currently I don’t think its likely I’d get enough funding to do so as auditing is expensive.

    !deleted95653, (edited )

    deleted_by_author

  • Loading...
  • Ward, (edited )
    @Ward@lemmy.nz avatar

    No not currently, not comfort taking funding for any of my projects right now, until I establish some sort of expensive breakdown and transparent fund use. But even with funding a decent audit from a company who knows what they are doing would probably be 7k USD minimum.

    I do have a personal fund for hosting, what is used for Paaster. github.com/sponsors/WardPearce

    BrikoX,
    @BrikoX@lemmy.zip avatar

    How does in compare to cryptpad.fr?

    Ward,
    @Ward@lemmy.nz avatar

    Don’t know the complete inner workings of Cryptpad. But it appears Purplix uses more modern encryption, uses more modern frameworks & has more safe guards against MITM attacks. Also additional options like captcha, proxy block, account required etc.

    Karcinogen,

    Where is the data stored? Is it encrypted at rest?

    Ward,
    @Ward@lemmy.nz avatar

    No, survey questions and answers are encrypted & decrypted locally. At no point does the server or any other actors can view that plain data said from whom the survey is intended for.

    Tangent5280,

    I understand encrypted-at-rest to mean that the data is always stored under encryption, except when it is being actively being used or displayed. Am I wrong? So in your usecase also, all data is stored under encryption and only decrypted by the surveyor or the surveyed; so this is encrypted at rest, no?

    Ward,
    @Ward@lemmy.nz avatar

    Encrypted at rest doesn’t always mean E2EE. For example if data is transmitted in plain text to the server and then encrypted before storage. This is still encrypted at rest.

    NoFutvre, (edited )

    Excellent work! I’ve been looking for something like this for AGES

    dtb,

    When you say end-to-end encrypted, what are you referring to?

    What’s the intent for this tool that isn’t solved via TLS?

    Also, just as an aside, but this is kind of funny given the context: https://sh.itjust.works/pictrs/image/e7c33129-df95-4343-9533-55014f05aa98.webp

    min_fapper,

    I’m going to assume whoever is hosting the service can’t view your surveys and results.

    Ward, (edited )
    @Ward@lemmy.nz avatar

    E2EE meaning survey questions and answers are encrypted locally & decrypted locally. The server or any other actors can’t view survey questions aside from users its shared with and survey answers are only readable by the owner of such survey.

    This means on a data leak, nothing is readable.

    Yea Purplix.io is still in development, so it isn’t live yet. Hense the fail DNS lookup you show.

    possiblylinux127,

    How does that work? Couldn’t the server just pretend to be a client?

    Ward,
    @Ward@lemmy.nz avatar

    Not 100% sure what you mean, but the encryption key for questions are only known by users who are shared the link & is never transmitted to the server. Answers are encrypted by the survey’s public key what only the creator of said survey knows the private key. The public key is also encrypted by the secret key in the URL so the server can’t even submit answers.

    Here is a example URL of a survey.

    example.com/s/64b185662c74e7c40cac5e66/KfcrkxiR-4nomGbEqNos0dyhEBsgiUAqPpZiRQt5syE#oAnQnjWhxq2IFTZBvrylVSHxg92HoWQr2mJQ-qZwvPY

    • s/64b185662c74e7c40cac5e66 - This is the survey ID, transmitted to server.
    • /KfcrkxiR-4nomGbEqNos0dyhEBsgiUAqPpZiRQt5syE - This is a hash of the survey’s signing public key, this is to stop MITM attacks from the host & validation of the survey questions.
    • #oAnQnjWhxq2IFTZBvrylVSHxg92HoWQr2mJQ-qZwvPY - This is the secret key for decrypting questions, this is also used to decrypt the public key for encrypting answers. This key is never transmitted to server.

    All encryption & decryption happens locally, so the server never sees any plain text. It is possible for the host to modify the frontend to expose keys, but this is true of any web app & Purplix is hosted from Vercel straight from our Git repo, so it would be quite obvious if this happened.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • privacyguides@lemmy.one
  • DreamBathrooms
  • mdbf
  • osvaldo12
  • magazineikmin
  • GTA5RPClips
  • rosin
  • thenastyranch
  • Youngstown
  • cubers
  • slotface
  • khanakhh
  • kavyap
  • InstantRegret
  • Durango
  • JUstTest
  • everett
  • ethstaker
  • cisconetworking
  • Leos
  • provamag3
  • modclub
  • ngwrru68w68
  • tacticalgear
  • tester
  • megavids
  • normalnudes
  • anitta
  • lostlight
  • All magazines