redhat-qe-security / SCAutolib

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

Cleanup method in Controller class #69

Closed x00Pavel closed 4 months ago

x00Pavel commented 2 years ago

This method should properly clean up configured stuff in the system. Consider what is really needs to be restored/removed (e.g. sssd.conf should be reverted to the original state before any calls of the library, delete the users with it's home directory). Add corresponding method to the models if needed.

ondrej-mach commented 1 year ago

This also causes /etc/sssd/pki/sssd_auth_ca_db.pem to stay in the system, after the test is complete. If SCAutolib is to be set up on the same system, this could cause various problems.

GeorgePantelakis commented 4 months ago

Cleanup implemented in version 3.1.2 of the library and it is working as expected. Closing the issue.