Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When changing master password, don't prompt for the existing password if it is stored in the system password helper and is valid #55228

Closed
wants to merge 3 commits into from

Conversation

nyalldawson
Copy link
Collaborator

No description provided.

Copy link
Contributor

@benoitdm-oslandia benoitdm-oslandia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@benoitdm-oslandia benoitdm-oslandia added Authentication Related to the QGIS Authentication subsystem or user/password handling GUI/UX Related to QGIS application GUI or User Experience labels Nov 9, 2023
@elpaso
Copy link
Contributor

elpaso commented Nov 10, 2023

I think that the original behavior was created to prevent someone to change the master password on somebody else's PC while a session is opened.

It is quite the standard behavior that you have to re-digit the old password in order to set a new one.

@nyalldawson
Copy link
Collaborator Author

@elpaso how would you suggest we handle the situation that the user has never seen the current password then?

I think we need to make a trade off here. If someone has access to someone else's qgis sessions, all assumptions of security (both inside and outside qgis) are completely gone. A knowledgeable person could easily extract and access all that user's secure credentials. (Or even just install a keylogger to snoop on everything!) 😂

@elpaso
Copy link
Contributor

elpaso commented Nov 13, 2023

@elpaso how would you suggest we handle the situation that the user has never seen the current password then?

I would have preferred to see all these changes to the auth system discussed into a QEP.

When it comes to security we need to pay attention: the auth system was carefully designed and it has been used by large organizations and government for a decade.

I think we need to make a trade off here. If someone has access to someone else's qgis sessions, all assumptions of security (both inside and outside qgis) are completely gone. A knowledgeable person could easily extract and access all that user's secure credentials. (Or even just install a keylogger to snoop on everything!) 😂

You never had a spiteful colleague with a taste for bad jokes?

Anyway, I'm not a corporate/government user of QGIS, I'd happily follow the opinion of those.

@nyalldawson
Copy link
Collaborator Author

@elpaso

I would have preferred to see all these changes to the auth system discussed into a QEP.

Good point -- I've created a QEP at qgis/QGIS-Enhancement-Proposals#278 for greater discussion

Copy link

The QGIS project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 14 days and is being automatically marked as "stale". If you think this pull request should be merged, please check

  • that all unit tests are passing

  • that all comments by reviewers have been addressed

  • that there is enough information for reviewers, in particular

    • link to any issues which this pull request fixes

    • add a description of workflows which this pull request fixes

    • add screenshots if applicable

  • that you have written unit tests where possible
    In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this pull request.
    If there is no further activity on this pull request, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Nov 30, 2023
Copy link

github-actions bot commented Dec 7, 2023

While we hate to see this happen, this PR has been automatically closed because it has not had any activity in the last 21 days. If this pull request should be reconsidered, please follow the guidelines in the previous comment and reopen this pull request. Or, if you have any further questions, just ask! We love to help, and if there's anything the QGIS project can do to help push this PR forward please let us know how we can assist.

@github-actions github-actions bot closed this Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Authentication Related to the QGIS Authentication subsystem or user/password handling GUI/UX Related to QGIS application GUI or User Experience stale Uh oh! Seems this work is abandoned, and the PR is about to close.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants