#1137 Status of cancel and reject actions with key-request-review are shown in reverse order
Closed: Fixed None Opened 9 years ago by mrniranjan.

Create a request

$ pki -d /opt/rhqa_pki/certs_db -c Secret123 -h dhcp207-176.lab.eng.pnq.redhat.com\
-p 30044 -n "KRA3_agentV" key-generate a1 \
--key-algorithm RC4 --key-size 1024 --usages wrap
---------------------------
Key generation request info
---------------------------
  Request ID: 0x39
  Key ID: 0x39
  Type: symkeyGenRequest
  Status: complete

Reject the request

$  pki -d /opt/rhqa_pki/certs_db -c Secret123 -h dhcp207-176.lab.eng.pnq.redhat.com \
-p 30044 -n "KRA3_agentV" key-request-review 0x39 --action reject
------
Result
------
  Request ID: 0x39
  Key ID: 0x39
  Type: symkeyGenRequest
  Status: canceled

The above output shows as canceled instead of rejected

Create a symkey request

$ pki -d /opt/rhqa_pki/certs_db -c Secret123 -h dhcp207-176.lab.eng.pnq.redhat.com\
-p 30044 -n "KRA3_agentV" key-generate a3 \
--key-algorithm RC4 --key-size 1024 --usages wrap
---------------------------
Key generation request info
---------------------------
  Request ID: 0x4b
  Key ID: 0x4b
  Type: symkeyGenRequest
  Status: complete

cancel the request

$ pki -d /opt/rhqa_pki/certs_db -c Secret123 -h dhcp207-176.lab.eng.pnq.redhat.com\
-p 30044 -n "KRA3_agentV" key-request-review 0x4b --action cancel
------
Result
------
  Request ID: 0x4b
  Key ID: 0x4b
  Type: symkeyGenRequest
  Status: rejected

Output shows the status rejected, instead it should show canceled


Per Dogtag 10.2.3 Triage meeting of 09/24/2014 - proposed Milestone: 10.2.1

Fixed and pushed to master in ca56e09c764dae4c604b8c7e37128248968f314d

Metadata Update from @mrniranjan:
- Issue assigned to kaskahn
- Issue set to the milestone: 10.2.1

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

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.

Login to comment on this ticket.

Metadata