Project

General

Profile

Bug #13484

Handling of complex credentials (eg: vm_id+vm_type) is broken

Added by Parag Mhashilkar over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Parag Mhashilkar
Category:
-
Target version:
Start date:
08/08/2016
Due date:
% Done:

0%

Estimated time:
First Occurred:
Stakeholders:
Duration:

Description

The bug was introduced in v3.2.12 with #11492. We wanted the credential type checking code to be correct. However following comparison introduces a bug since cred.type itself is a complex type. Correct way of checking is to make sure that what is requested is a subset of what the given credential provides.

cred.type not in credential_type.split("+")

History

#1 Updated by Parag Mhashilkar over 3 years ago

  • Status changed from New to Feedback
  • Assignee changed from Parag Mhashilkar to Marco Mambelli

#2 Updated by Marco Mambelli over 3 years ago

  • Assignee changed from Marco Mambelli to Parag Mhashilkar

1 line needs to be fixed, email sent.
Rest is OK.

#3 Updated by Parag Mhashilkar over 3 years ago

Made required changes. Will merge to branch_v3_2 after 3.2.15 final release

#4 Updated by Parag Mhashilkar over 3 years ago

  • Status changed from Feedback to Resolved

Changes have been merged to branch_v3_2 and master

#5 Updated by Parag Mhashilkar over 3 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF