#492 find out why EC and RSA public keys require different encoding from DRM to TPS
Closed: migrated 3 years ago by dmoluguw. Opened 11 years ago by cfu.

in DRM, before the public keys are sent over to TPS, it makes the following encoding call for RSA keys:
PubKey = base64Encode(publicKeyData);
However, the same call causes ECC keys to fail on the TPS side when decoded.
So, on DRM, a different call is made and tested to work:
PubKey = com.netscape.cmsutil.util.Utils.SpecialEncode(publicKeyData);

Need to find out why that is and if this is going to be consistent in all conditions to be certain that the code is robust.


Metadata Update from @cfu:
- Issue assigned to cfu
- Issue set to the milestone: UNTRIAGED

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

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.

Metadata Update from @dmoluguw:
- Issue close_status updated to: migrated
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata