#2334 Adding selftest for token state transition validity
Closed: Fixed None Opened 7 years ago by edewata.

There should be a selftest in TPS to validate the content of tokendb.allowedTransitions and tps.operations.allowedTransitions in /var/lib/pki/<instance>/tps/conf/CS.cfg to ensure that:

  • no illegal/unsupported transitions: all transitions must be defined in the corresponding properties in /usr/share/pki/tps/conf/CS.cfg
  • no invalid format: all transitions must follow the <current state>:<new state> format

If any of these conditions fails, the TPS subsystem should not start (the Tomcat server might still start).


Per CS/DS Meeting of 05/23/2016: 10.3.2 - trivial

The validation happens when the transition lists are loaded during TPS subsystem initialization.

Fixed in master:

  • a8e71fb5aedd74a0822d3211d1cd08e0b5af3684

Metadata Update from @edewata:
- Issue assigned to edewata
- Issue set to the milestone: 10.3.2

7 years ago

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/2454

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Login to comment on this ticket.

Metadata