Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove space from AlgorithmId.toString() #485

Merged
merged 1 commit into from Apr 20, 2020

Conversation

cipherboy
Copy link
Member

In cadc299 and v4.4.x commit
e1ee07a, AlgorithmId was updated
to unconditionally add an extra space to toString, to separate the
algorithm name from the parameters. This suffices in some cases, but
AlgorithmId.toString() is used by PKI to compare against a tokenized
list of characters. Removing the extraneous whitespace was the solution
proposed in PKI commit dogtagpki/pki@53de7514, but
this should really be handled in JSS instead of PKI.

Signed-off-by: Alexander Scheel <ascheel@redhat.com>

See also: dogtagpki/pki#364

In cadc299 and v4.4.x commit
e1ee07a, AlgorithmId was updated
to unconditionally add an extra space to toString, to separate the
algorithm name from the parameters. This suffices in some cases, but
AlgorithmId.toString() is used by PKI to compare against a tokenized
list of characters. Removing the extraneous whitespace was the solution
proposed in PKI commit 53de751485b04fe2a1555228342ed642c9a9e347, but
this should really be handled in JSS instead of PKI.

Signed-off-by: Alexander Scheel <ascheel@redhat.com>
@cipherboy cipherboy added Bug Something isn't working Backport Changes which are backported from the master branch labels Apr 13, 2020
@cipherboy cipherboy added this to the 4.4.10 milestone Apr 13, 2020
@cipherboy cipherboy requested a review from jmagne April 13, 2020 13:35
@cipherboy cipherboy self-assigned this Apr 13, 2020
@cipherboy cipherboy merged commit a6fd897 into dogtagpki:v4.4.x Apr 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backport Changes which are backported from the master branch Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant