Giter VIP home page Giter VIP logo

Comments (5)

mshedsilegx avatar mshedsilegx commented on June 27, 2024 1

Ideally, the exact expiration date and time should show in the "Secret Created" page.

from ots.

mshedsilegx avatar mshedsilegx commented on June 27, 2024

and I would argue that it would be also good information (exact expiration date and time of the secret) to present to the recipient before they click on [Show me the Secret !]

from ots.

Luzifer avatar Luzifer commented on June 27, 2024

Hmm showing to any user opening the page would mean we are fetching at least metadata about the stored secret and provide it to the person viewing the page. This would enable anyone to know whether a secret exists or not without invalidating it. Currently the only way to know whether a secret exists is to fetch - and therefore invalidate - it…

I a theoretical scenario this could be used to gain knowledge a secret exists and fetch it shortly before expiring. The user then would tell the provider "Hey, there is no secret" - "Ah, you let it expire, I'll put it on again…" not knowing the secret was copied.

Sure, with a randomized 20-digit password with PBKDF2-SHA512-300k-Iterations gaining knowledge about the contents wouldn't be worth the effort in most cases (at least I hope nobody uses OTS to send secrets worth that much effort) but hmm…

TBH I'd be more comfortable not implementing the "presenting the expiry to the recipient" part.

from ots.

mshedsilegx avatar mshedsilegx commented on June 27, 2024

OK, I agree. We'll include the secret expiration date time info in the communication to the recipient, in addition with the OTS link.

from ots.

Luzifer avatar Luzifer commented on June 27, 2024

Please have a look at #93 - There are some screenshots of the new feature… What do you think?

from ots.

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.