Tags: veraison/evcli
Tags
cca/psa create: add flag to bypass validation Add -I/--allow-invalid flag to bypass validation during token creation. This allows creating in some way invalid, but otherwise well-constructed tokens for testing. Signed-off-by: Sergei Trofimov <sergei.trofimov@arm.com>
Fix a logic error in claimsFromJSON ... (#17) ... where a claims-set that unmarshals correctly but does not validate would report a confusing double "nil" error. The issue is with the existence of two *separate* err1 (and err2), the second of which evaporates when the local context in which it is defined is destroyed. Signed-off-by: Thomas Fossati <thomas.fossati@arm.com>