redhat-qe-security / SCAutolib

Library for automation of smart card testing
GNU General Public License v3.0
3 stars 10 forks source link

Iterpolation of value in `set` method for SSSDConf class #113

Open x00Pavel opened 1 year ago

x00Pavel commented 1 year ago

When the values contain percent sign (e.g. %20 as the encoding of space), it's not correctly inserted into the file so. Single percent would cause an exception, doubling (as suggested in the official doc) of the percent sign still leads to wrong interpolation.

Suggestion

For SSSDConf use python3-sssdconfig module that is shipped with sssd package.