Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
17677ae changed pkispawn to treat blank token name as the default token name (as specified in the pkispawn config, or the internal token if not specified). As part of this change, the token normalisation routine was updated to replace "internal" will null. But this introduced a regression under the following scenario: - default token is NOT the internal token (e.g. HSM); and - some certificate is to use the internal token (e.g. Server-Cert) In this case, the internal token is normalised to null, and later re-interpreted to mean the default token. Do not normalise internal token names to null in the Python side of pkispawn. This ensures that any token name that has been specified is transmitted to the Java configuration service as-is. Null tokens are still interpreted as the default token on the Java side. Fixes: https://pagure.io/dogtagpki/issue/3093
- Loading branch information