redhat-qe-security / SCAutolib

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

Reissuing certificate for user when user was recreated with `force` #102

Open x00Pavel opened 1 year ago

x00Pavel commented 1 year ago

When a user is deleted with force option, the entire user directory is removed. So, when trying to revoke a certificate for this user in method revoke_cert (which requires path to the existing certificate), revocation failed because the path for the user certificate is no longer valid (doesn't exist at all).