Only cbc supported while creating HMAC keys

Bug #1365131 reported by Arvind Tiwari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Barbican
Invalid
Undecided
Unassigned

Bug Description

Trying to create HMAC keys and getting following error. We need to make validator more smart for order type key.

{
    "code": 400,
    "description": "No support for value set on field 'mode' on schema 'Order': Only 'cbc' supported",
    "title": "Bad Request"
}

Changed in barbican:
assignee: nobody → Arvind Tiwari (arvind-tiwari)
description: updated
Changed in barbican:
milestone: none → kilo-1
Changed in barbican:
milestone: kilo-1 → none
Changed in barbican:
assignee: Arvind Tiwari (arvind-tiwari) → nobody
Revision history for this message
John Vrbanac (john.vrbanac) wrote :

I believe this has been fixed. As I don't the information required to replicate the initial issue, I'm going to move this to incomplete until we can get more information around this. Arvind, can you see if this is still an issue for you? If it is, could you provided the full call required to replicate this issue? Thanks!

Changed in barbican:
status: New → Incomplete
Revision history for this message
John Wood (john-wood-w) wrote :

This error most likely dates back to before we removed the hard-coded restrictive validation logic enforcing what our early HSM plugins supported. We have since removed this logic to allow for the expanded suite of plugins to perform their own validation. Therefore I believe this bug is now moot.

Revision history for this message
Juan Antonio Osorio Robles (juan-osorio-robles) wrote :

I actually don't see any check for that would enforce CBC mode. So I believe John is right.

Changed in barbican:
status: Incomplete → Invalid
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.