Upgrade to Pro — share decks privately, control downloads, hide ads and more …

clipperz: zero-knowledge web application

clipperz: zero-knowledge web application

how JavaScript may help turning cloud privacy upside-down

Giulio Cesare Solaroli

January 20, 2011
Tweet

More Decks by Giulio Cesare Solaroli

Other Decks in Technology

Transcript

  1. zero-knowledge web application turning cloud privacy upside-down clipperz Giulio Cesare

    SOLAROLI [email protected] jse2011 - Paris, January 20 2011 Thursday, January 20, 2011 how JavaScript may help
  2. secure “host proof hosting” concept defined around 2005 to merge

    the reliability of cloud based storage and the security achievable using cryptography Thursday, January 20, 2011
  3. convenient since GMail, convenient means “web based” •nothing to install

    •nothing to configure Thursday, January 20, 2011
  4. clipperz project Thatʼs easy almost! the devil hides in the

    details , isnʼt it? Thursday, January 20, 2011
  5. clipperz challenges achieve convenience keeping the system secure •never trade

    security for convenience Thursday, January 20, 2011
  6. clipperz challenges achieve convenience keeping the system secure •never trade

    security for convenience •being paranoid “only the paranoid survive” Thursday, January 20, 2011
  7. application anatomy zero-knowledge web app aka host proof app •verifiable

    codebase •no tampering Thursday, January 20, 2011
  8. application anatomy zero-knowledge web app aka host proof app •verifiable

    codebase •no tampering •wise password handling Thursday, January 20, 2011
  9. verifiable codebase •all source code available for inspection https://github.com/clipperz •app

    served as a single, static, HTML file Thursday, January 20, 2011
  10. verifiable codebase •all source code available for inspection https://github.com/clipperz •app

    served as a single, static, HTML file •browsers do not support checksum verification #fail Thursday, January 20, 2011
  11. no tampering application code should not be modifiable by any

    data returned by the server Thursday, January 20, 2011
  12. no tampering application code should not be modifiable by any

    data returned by the server •javascript is very dynamic Thursday, January 20, 2011
  13. no tampering application code should not be modifiable by any

    data returned by the server •javascript is very dynamic •eval(…) is your enemy here Thursday, January 20, 2011
  14. password handling password should never be sent to server •SRP

    authentication Thursday, January 20, 2011
  15. password handling password should never be sent to server •SRP

    authentication •only verifiers are stored and exchanged Thursday, January 20, 2011
  16. being paranoid clipperz does not store neither the password, nor

    the username •users can still login! #ftw Thursday, January 20, 2011
  17. being paranoid clipperz does not store neither the password, nor

    the username •users can still login! #ftw •multiple accounts can share the same username! #wtf Thursday, January 20, 2011
  18. features?! password manager playground to test how far this architecture

    could go • features Thursday, January 20, 2011
  19. features?! password manager playground to test how far this architecture

    could go • features • convenience Thursday, January 20, 2011
  20. features?! password manager playground to test how far this architecture

    could go • features • convenience • reliability Thursday, January 20, 2011
  21. features!! one time password access your data without typing your

    password great for using clipperz from an internet caffè Thursday, January 20, 2011
  22. features!! offline copy full application (including your own data) packed

    into a single html file Thursday, January 20, 2011
  23. features!! offline copy full application (including your own data) packed

    into a single html file no external resources used Thursday, January 20, 2011
  24. hidden features!! hashcash avoid bots access without bothering users with

    nasty capcha puzzles Thursday, January 20, 2011
  25. odd side effects!! no page reload otherwise credential values are

    lost, and the user needs to type them in again #fail Thursday, January 20, 2011
  26. odd side effects!! no fancy web-2.0 mash-ups difficult to integrate

    into other products without relaxing security concerns Thursday, January 20, 2011
  27. odd side effects!! no fancy web-2.0 mash-ups difficult to integrate

    into other products without relaxing security concerns and we are paranoid! Thursday, January 20, 2011