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 UI: Token change status operation, transition from Uninitialized to Active is successful but no cert found for the token under certificates #1837

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

Comments

@pki-bot
Copy link

pki-bot commented Oct 3, 2020

This issue was migrated from Pagure Issue #1275. Originally filed by mharmsen (@mharmsen) on 2015-02-25 02:03:34:


TPS UI: Token change status operation, transition from Uninitialized to Active
is successful but no certificate found for the token under certificates

How reproducible:

always

Steps to Reproduce:

1. Format an Uninitialized token
2. From the UI, select the token in Uninitialized state
3. Change the status from Uninitialized to Active

Actual results:

This change is successful but cannot find any certificates for the token under
the Certificates tab of the UI

Expected results:

Change status from Uninitialized to Active should not be allowed. Uninitialized
to Active should happen only after enrollment of the token.
@pki-bot pki-bot added this to the 10.3.0 milestone Oct 3, 2020
@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2015-02-27 01:56:12

Per 10.2.3 Triage meeting of 02/26/2015: 10.2.3

@pki-bot pki-bot closed this as completed Oct 3, 2020
@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from jmagne (@jmagne) at 2015-03-03 04:02:12

OK, I know what is going on here.

There are two types of states, UI states and operations states.

tokendb.allowedTransitions=0:1,0:2,0:3,0:4,0:5,0:6,3:4,3:5,3:6,4:1,4:2,4:3,4:6

The preceding allowedTransitions (UI transtions) has the one 0:4 which is "unitialized" to "FOUND".

This should probably not be in the list. Also the UI calls this transition "ACTIVE". ACTIVE is really an operation transition that has the same number as FOUND, which is set with the UI.

Two things to fix this. Take out the 0:4 transition from the UI transistion list. Also change the name of the state to "FOUND" in the UI.

When a formatted token is enrolled with the server its state goes from 0 "unitialized" to 4 "active".

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from edewata (@edewata) at 2015-04-21 03:29:15

Moving to 10.2.4 per CS team meeting.

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2015-04-28 20:41:23

Per Dogtag 10.2.x TRIAGE meeting of 04/28/2015: (Tech Preview Feature)

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2015-06-08 20:52:45

Per CS/DS meeting of 06/08/2015: 10.2.6

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2015-06-30 20:43:05

Per Dogtag 10.2.6 TRIAGE meeting of 06/30/2015: 10.3

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from edewata (@edewata) at 2015-11-04 02:54:26

This requires:

  • fixing the configuration as described in comment 3
  • writing an upgrade script
  • updating the labels in the UI

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from edewata (@edewata) at 2016-02-05 18:33:41

Fixed in master:

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2017-02-27 13:59:58

Metadata Update from @mharmsen:

  • Issue assigned to edewata
  • Issue set to the milestone: 10.3.0

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

No branches or pull requests

1 participant