Improve the Error Codes returned from pkcs11 plugin

Bug #1445610 reported by Amy Marrich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Barbican
Fix Released
Wishlist
Amy Marrich

Bug Description

Currently pkcs11_crypto.py returns HSM error codes in decimal format while the actual error codes are searchable by hexadecimal and string. This change would allow for improvement to the error code return handling.

Changed in barbican:
assignee: nobody → Amy Marrich (amy-marrich)
Revision history for this message
John Wood (john-wood-w) wrote :

Welcome to OpenStack!

Changed in barbican:
status: New → Confirmed
importance: Undecided → Wishlist
milestone: none → liberty-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to barbican (master)

Fix proposed to branch: master
Review: https://review.openstack.org/175568

Changed in barbican:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to barbican (master)

Reviewed: https://review.openstack.org/175568
Committed: https://git.openstack.org/cgit/openstack/barbican/commit/?id=b14b0d94e71d219df9b3bed432539c92e8be6d11
Submitter: Jenkins
Branch: master

commit b14b0d94e71d219df9b3bed432539c92e8be6d11
Author: Amy Marrich <email address hidden>
Date: Mon Apr 20 13:39:33 2015 -0500

    Improved error code handling for pkcs11 errors

    Updated P11CryptoPluginException text to add hexidecimal and error code string

    Added Localization to P11CryptoPluginException

    Change-Id: I85b28e7ff28773d849b5ea71de3ef26d972de59d
    Closes-Bug: #1445610

Changed in barbican:
status: In Progress → Fix Committed
Changed in barbican:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in barbican:
milestone: liberty-1 → 1.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.