Replace legacy Python base64 invocations
by Christian Heimes
Patch for https://fedorahosted.org/pki/ticket/1102
b64encode() and base64.encodestring() work slightly different.
encodestring() includes an extra newline at the end of the string. It
seems the server treats both representations equally.
I ran the KRA tests according to base/kra/functional/drmtest.readme.txt.
The tests are passing, too.
Christian
9 years, 3 months
[pki-devel][PATCH] 0037-Fix-Pin-Reset-tokenType-resolution.patch
by John Magne
Ticket #1423 Pin reset operation using tpsclient fails.
Recently we had added a new way to resolve the profile. That new method was
not used in the PinReset Processor. This fix addresses that and allows the Pin Reset operation to complete.
Tested with real token to work.
9 years, 5 months
[PATCH] 619 Cleaned up SystemConfigService.validateRequest().
by Endi Sukma Dewata
The configure() in SystemConfigService method has been modified to
log only the error message in normal responses but log the full
stack trace when unexpected issues occur.
The validateData() in SystemConfigService has been renamed to
validateRequest() for clarity. The log messages have been modified
to include the invalid values entered in the request.
--
Endi S. Dewata
9 years, 5 months
[pki-devel][PATCH] 0036-Add-GP211-applet-and-latest-GP201-applet-for-RSA.patch
by John Magne
[PATCH] Add GP211 applet and latest GP201 applet for RSA.
Ticket # 793: Add support for Secure Channel Protocol 02
Add the new applets to the TPS rpm, the lastest RSA applet and the
new GP211 RSA applet. Added some configuration comments and values
to support the new applets.
Fix issue in TPS when testing the GP211 applet:
Properly select the coolkey applet in the "getAppletVersion" routine.
For some reason the gp211 applet revealed this issue.
Tested to work with both gp211 scp02 card and gp201 scp01 card.
9 years, 6 months