Actions
Bug #5193
openpktool's errors are awful
Status:
New
Priority:
Normal
Assignee:
-
Category:
cmd - userland programs
Start date:
2014-09-25
Due date:
% Done:
0%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
Description
In wondering something just now, I ran 'pktool list', which asked me for a PIN I don't know. I hit return and it said (in full):
% pktool list Enter PIN for Sun Software PKCS#11 softtoken: Error listing objects: keystore error: CKR_PIN_LEN_RANGE libkmf error: KMF_ERR_AUTH_FAILED
stringifying error defines is not how nice people provide user-visible error messages, they should be sentences that describe what's wrong (this is presumably true for most errors pktool reports?)
No data to display
Actions