Git Product home page Git Product logo

Comments (9)

pgte avatar pgte commented on July 23, 2024 1

Yes, since each snapshot has it's own independent decryption key. Access to these doesn't compromise the "future" of the document.

from peer-pad.

olizilla avatar olizilla commented on July 23, 2024

@diasdavid @pgte the list of snapshots for a doc are lost when the user refreshes the page, and we don't currently have timestamp info on the objects. Do you want the UI to add them to localstorage / or is it a peerpad-core responsibility?

from peer-pad.

pgte avatar pgte commented on July 23, 2024

Right now peerpad-core only takes the snapshot, so it's up to the app to do whatever with it.
(Later on we plan to store docs and have a directory view, but right now that's still a bit fuzzy.. (at least for me)).

from peer-pad.

pgte avatar pgte commented on July 23, 2024

@olizilla while you're at it, could you please make the hash link open in a new window?

from peer-pad.

olizilla avatar olizilla commented on July 23, 2024

👍

note to self: fix #54 while we're in here.

from peer-pad.

olizilla avatar olizilla commented on July 23, 2024

@pgte It is ok to store the snapshot hash and key in localStorage? I know this is an alpha with no security promises, but I still wanted to check.

from peer-pad.

olizilla avatar olizilla commented on July 23, 2024

@pgte last question! Snapshots need to be keyed on current document, so I know which ones to load when we render a new pad. Is it sensible to use the readKey for the current doc, since the name is mutable.

from peer-pad.

pgte avatar pgte commented on July 23, 2024

The document name should not change, you're probably thinking about the document title, so it's safe.

In regards to the document title changing, let's track this on another issue, I've neglected this part.

from peer-pad.

olizilla avatar olizilla commented on July 23, 2024

Ah, I think name and title are currently conflated in the UI. name is plucked from the the url, set as state, and then mutated when the user edits the title. I'll pull them apart.

from peer-pad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.