Git Product home page Git Product logo

Comments (7)

zeruniverse avatar zeruniverse commented on July 17, 2024

This can be implemented by encoding the image with base64 in JS. Then the coding string can be treated as a password string and go to the encryption process. Actually, we can support any binary file by doing base64 encoding. The problem is, whether we want to do it. As this could possibly undermine the security. What do you think? @BenjaminHae

from password-manager.

BenjaminHae avatar BenjaminHae commented on July 17, 2024

Maybe a custom field where every item contains a <img alt="Embedded Image" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIA..." /> tag. This way it will be automatically encrypted and nothing on the backend has to be changed. Only problem I see is that as I remember all content is sanitized so html-tags would only be displayed as plain tags. Maybe just save the value of src in the field. Doing everything else in js.

But I think pictures aren't necessary in the main project. I don't know what advantage they'd bring in a password manager.

A plugin architecture is totally overkill but this is a good use case ;)

from password-manager.

nickbe avatar nickbe commented on July 17, 2024

images of credit cards etc. I always keep them in an archive.
When I once lost a german EC card in asia the police asked if I have an exact visual description of my EC card which I couldn't give at the time because I simply couldn't remember. Strage but since that time I always make photos of my cards at home.

from password-manager.

zeruniverse avatar zeruniverse commented on July 17, 2024

This reason is not strong enough for a new feature. You can type the number into the program anyway and it won't cost you significantly more time. If we finally decide to implement it, where to put it will be a question.

But we can consider to add a file field, to store something like ssh private key. However, this will make the database much larger than it might be currently.

from password-manager.

zeruniverse avatar zeruniverse commented on July 17, 2024

And for the additional file field, you can store image as well

from password-manager.

zeruniverse avatar zeruniverse commented on July 17, 2024

Files can't be encrypted with the password related string or you'll have trouble when you want to change password. My design is to assign a permanent key to a certain file. We only encrypt this key

from password-manager.

zeruniverse avatar zeruniverse commented on July 17, 2024

Please try the current master branch for the file extension. Note you need to reconstruct the database by importing initial.sql.

You can upload file for an entry by click the UP arrow. After upload, you'll see the DOWN arrow which allows you to download the file. All files are encrypted by a permanent key. The key is encrypted as a password string.

from password-manager.

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.