The current token states and transitions do not allow reusing a token for a different users since there is no further transition from the TERMINATED state.
It might be possible to support that by adding a new UNFORMATTED state to identify terminated tokens that has been cleaned up for reuse. So the following transitions will need to be added:
The TPS agent will use the UI/CLI to change the token status from TERMINATED to UNFORMATTED. Then when the token is formatted, the status will change to FORMATTED.
New tokens added via the UI/CLI should be marked as UNFORMATTED as well.
Moving to 10.3.0 per discussion with cfu and jmagne.
Fixed in master:
Metadata Update from @edewata: - Issue assigned to edewata - Issue set to the milestone: 10.3.1
Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.
This issue has been cloned to GitHub and is available here: https://github.com/dogtagpki/pki/issues/2407
If you want to receive further updates on the issue, please navigate to the GitHub issue and click on Subscribe button.
Subscribe
Thank you for understanding, and we apologize for any inconvenience.