#1465 Archiving passphrases using normal user (not a member of any group) fails without any meaningful error
Closed: Invalid None Opened 8 years ago by mharmsen.

Archiving a passphrase using a normal users fails with error "null" instead of
showing some meaningful error.

pki -d /opt/rhqa_pki/certs_db -h pki2.example.org -p 30044 -u idm1_user_23744
-w Secret123 kra-key-archive --clientKeyID temp23113 --passphrase
UYolQJvSkwxxTg==

null

In the earlier version it used to show error "PKIException: Unauthorized".

Steps to Reproduce:

1.Install CA & KRA
2. Create a normal user in KRA
3. Archive a passphrase using normal user

Actual results:

Fails with error "null"

Expected results:

instead it should fail with some meaningful error "PKIException: Unauthorized".

The null error seems to have been fixed in another patch recently. Currently the command will generate the following error if invoked with username & password authentication (the command only accepts client certificate authentication):

Authentication method not allowed.

Could you please retest with the latest build? Thanks.

Per CS/DS meeting of 07/06/2015, after gaining confirmation from Endi: 10.2.6

A related issue was fixed in master: 433e1dba905f9d45f9eefcbf39e5b11ddfbfbc94

Please rerun the command in verbose mode: pki -v ...

Closing the ticket for now. Please reopen if it's still happening in 10.2.6.

Metadata Update from @mharmsen:
- Issue assigned to edewata
- Issue set to the milestone: 10.2.6

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

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