Prayag2 / konsave

A command line program written in Python to let you backup your dotfiles and switch to other ones in an instant. Works out-of-the box on KDE Plasma!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Widget credentials should be stripped from files

Blacksuan19 opened this issue · comments

Describe the bug
konsave by default saves and exports plasma-org.kde.plasma.desktop-appletsrc the file contains information about widgets including credentials used by the widgets for example event calendar, I'd expect credentials to be stripped since the config can be shared with others.

To reproduce

  • Add panel to desktop
  • install event calendar widget
  • add event calendar widget to panel
  • connect google calendar
  • run konsave -s profile
  • run konsave -e profile
  • check save/configs/plasma-org.kde.plasma.desktop-appletsrc you will see google calendar credentials in the file.

Expected behavior
credentials are stripped from files when using --save or --export.

Screenshots

event calendar credentials in plasma-org.kde.plasma.desktop-appletsrc inside .knsv file.
image

System information

  • OS or Linux distribution: EndeavourOS
  • How did you install Konsave? using pip
  • What version of Konsave are you using? Did you try updating? latest version 2.2.0

Additional context