Don't persist authentication
ClosedPublic

Authored by broulik on Jul 22 2019, 8:47 AM.

Details

Summary

Otherwise subsequent save calls will not ask for a password, potentially allowing writing arbitrary files.

Test Plan

Hit Ctrl+S in kate numerous times, asked for password every time

Diff Detail

Repository
R39 KTextEditor
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Jul 22 2019, 8:47 AM
Restricted Application added projects: Kate, Frameworks. · View Herald TranscriptJul 22 2019, 8:47 AM
Restricted Application added subscribers: kde-frameworks-devel, kwrite-devel. · View Herald Transcript
broulik requested review of this revision.Jul 22 2019, 8:47 AM
cullmann accepted this revision.Jul 22 2019, 9:09 AM

Looks reasonable ;=)
And I did search this setting in the code, lol.

This revision is now accepted and ready to land.Jul 22 2019, 9:09 AM
This revision was automatically updated to reflect the committed changes.