Code Monkey home page Code Monkey logo

Comments (4)

robinmoisson avatar robinmoisson commented on May 13, 2024

Hey Sergey - what version of Staticrypt are you using? Are you using a custom password template?

In February there was a breaking change release bumping the version number to 2.0. The salt is now passed separately from the ciphertext, to allow the remember-me feature to work.

If that's your issue you can either pin the staticrypt version to < 2.0 or update your password template to handle the new parameters.

Does that look like this might be your issue?

from staticrypt.

cepreu5 avatar cepreu5 commented on May 13, 2024

Hi Robin,

Thank you for your answer!

I use Staticrypt from this link https://robinmoisson.github.io/staticrypt/ and don't see a way to "pin the staticrypt version to < 2.0" on site. I'm just encrypting the links to my Google drive spreadsheets which I use in my plain html app.

I've gotten the decrypt function, mentioned above, from your example site's html, so obviously I have to update it.

Thanks again and best wishes,
Sergey

from staticrypt.

robinmoisson avatar robinmoisson commented on May 13, 2024

Hi Sergey - interesting, thanks for reporting more details. Yes, pinning the version only works when using staticrypt as a command line tool, the website always uses the latest version.

If you generate encrypted HTML from the website the embedded decryption logic should be renewed each time you generate the encrypted file, so you should be able to decrypt it through the page. Does it not work for you?

Or are you using the content that's displayed in "Your encrypted string" and trying to decrypt that through your own process, so you're not using the generated "login" page? Or is your process something else?

Thanks!

from staticrypt.

cepreu5 avatar cepreu5 commented on May 13, 2024

Hi Robin!

Yes, I'm using the content that's displayed in "Your encrypted string" and I'm decrypting it through my own process., I updated it because I have my own login page which is displayed even when the "Remember me" was checked, so I have also "Forget" button on it. I also implemented encryption in my app and will not depend on future changes on your web site :-)

Best regards!

from staticrypt.

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.