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

TPS throws "err=6" when attempting to format and enroll G&D Cards #2664

Closed
pki-bot opened this issue Oct 3, 2020 · 5 comments
Closed

TPS throws "err=6" when attempting to format and enroll G&D Cards #2664

pki-bot opened this issue Oct 3, 2020 · 5 comments
Milestone

Comments

@pki-bot
Copy link

pki-bot commented Oct 3, 2020

This issue was migrated from Pagure Issue #2544. Originally filed by dsirrine (@dsirrine) on 2016-11-16 04:04:37:


This change is necessary to support cards which send a GP error code when an
attempt is made to reinitialize and already initialized card.

@pki-bot pki-bot added this to the 10.3.9 milestone Oct 3, 2020
@pki-bot pki-bot closed this as completed Oct 3, 2020
@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2016-11-18 00:14:07

Per PKI Bug Council of 11/17/2016: 10.3

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from jmagne (@jmagne) at 2016-11-23 01:59:53

commit cdb8d2f7a3655b4ba97b70a9460721e0d2d8afe7
Author: Jack Magne jmagne@dhcp-16-206.sjc.redhat.com
Date: Tue Nov 15 17:37:07 2016 -0800

Change lifecycle at end of enrollment if it is not already set.

TPS throws "err=6" when attempting to format and enroll G&D Cards.
https://bugzilla.redhat.com/show_bug.cgi?id=1320283

This fix addresses this bug , but also:
Fixes this issue:

Applet upgrade during rekey operation results in formatted token.

 Also, it takes care of a related issue where the new apdu needed for the
lifecycle state causes the testing tool "tpslcient" to seg fault.
The fix here is a minimal fix to have tpsclient return an error when it gets
this apdu it can't handle, instead of crashing.

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2016-12-13 03:27:44

Replying to [comment:4 jmagne]:

commit cdb8d2f7a3655b4ba97b70a9460721e0d2d8afe7
Author: Jack Magne jmagne@dhcp-16-206.sjc.redhat.com
Date: Tue Nov 15 17:37:07 2016 -0800

Change lifecycle at end of enrollment if it is not already set.

TPS throws "err=6" when attempting to format and enroll G&D Cards.
https://bugzilla.redhat.com/show_bug.cgi?id=1320283

This fix addresses this bug , but also:
Fixes this issue:

Applet upgrade during rekey operation results in formatted token.

 Also, it takes care of a related issue where the new apdu needed for the
lifecycle state causes the testing tool "tpslcient" to seg fault.
The fix here is a minimal fix to have tpsclient return an error when it gets
this apdu it can't handle, instead of crashing.

Check-in to master:

Cherry-picked to DOGTAG_10_3_BRANCH:

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from dsirrine (@dsirrine) at 2017-02-27 14:00:37

Metadata Update from @dsirrine:

  • Issue assigned to jmagne
  • Issue set to the milestone: 10.3.9

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2017-03-14 21:09:13

Metadata Update from @mharmsen:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant