Giter Site home page Giter Site logo

Comments (10)

vladimiry avatar vladimiry commented on July 21, 2024

Can you specify which OS and app version you are using?

from electronmail.

ask2018 avatar ask2018 commented on July 21, 2024

app version 0.3.2 (but its the same for previous versions)
OS Win 7 Enterprise x64 SP1 - all security updates installed

from electronmail.

vladimiry avatar vladimiry commented on July 21, 2024

Can you try this version https://www.dropbox.com/s/fquubq186t9ldqn/protonmail-desktop-app-0.4.0-windows-nsis-installer.exe?dl=0? A basic workaround has been applied.

from electronmail.

vladimiry avatar vladimiry commented on July 21, 2024

Also in case of facing this issue, can you run rundll32.exe keymgr.dll,KRShowKeyMgr in console (or running win+r, it opens Credential Vault) and locate there protonmail-desktop-app/master-password record?

from electronmail.

ask2018 avatar ask2018 commented on July 21, 2024

Running version 0.4.0 now. For now master password record is there if I run that command and auto login works. Give me a week to test it. I'm not exactly sure after how many days the problem appeared before, but I think it was not more than 7 days. So we will see.

from electronmail.

vladimiry avatar vladimiry commented on July 21, 2024

There is no option to specify expiration doing password record saving into the vault, so I guess system removes it automatically from the Credential Vault based on some criteria which is unclear so far. Workaround simply re saves password into the vault each time when auto login is happening.

from electronmail.

ask2018 avatar ask2018 commented on July 21, 2024

I found the issue. I thought before its just saved in some config file for protonmail-desktop-app and not directly in the system passwords and I'm autocleaning that regularly, so that was why it was gone after some time. Maybe better to save that just in some encrypted config file created just for this app and not directly in the system?

from electronmail.

vladimiry avatar vladimiry commented on July 21, 2024

Saving something encrypted means that it will need to be decrypted then. Automatic decryption means that encryption key will need to be saved somewhere as user is not asked to enter it. For example encryption key can be a hash generated based on the hardware devices serial numbers (such as HDD serial number, or CPU), but getting such kind of system information would most likely require admin access rights and would complicate things in general.

So node-keytar is used to save the master password in system's keychain. Saving password in system's keychain is not really secure by the way atom/node-keytar#88. That's a reason why there is a red warning with a security weakness message shown near the password saving checkbox. So password saving option is supposed to be used only if you understand the risk.
warning

from electronmail.

ask2018 avatar ask2018 commented on July 21, 2024

I understand this. I thought maybe some password decryption based on USB flash drive with some key file or something like that.

from electronmail.

vladimiry avatar vladimiry commented on July 21, 2024

password decryption based on USB flash drive

That should not be a problem to implement this, but it's not in the agenda so far.

It would be great if a system keychain would allow to interact with the specific password record to only app that created that record, for example based on the app path and it's hash sum, but it's not like that.

from electronmail.

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.