From a43d6ecfcc05ad118d403d9e5b88dcba65c8de52 Mon Sep 17 00:00:00 2001 From: Stanislav Tkach Date: Fri, 24 Jan 2025 12:00:40 +0100 Subject: [PATCH] Update public key at 0 index error message --- rust/rbac-registration/src/cardano/cip509/validation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/rbac-registration/src/cardano/cip509/validation.rs b/rust/rbac-registration/src/cardano/cip509/validation.rs index 0e3c341b3c..aec646aba2 100644 --- a/rust/rbac-registration/src/cardano/cip509/validation.rs +++ b/rust/rbac-registration/src/cardano/cip509/validation.rs @@ -209,7 +209,7 @@ pub fn validate_role_data(metadata: &Cip509RbacMetadata, report: &ProblemReport) None | Some(SimplePublicKeyType::Undefined) ) { report.other( - "The public key cannot be used for the role 0, only a certificate", + "The public key cannot be used at 0 index. Role 0 requires a certificate and other roles must set 0 public key to undefined if needed.", context, ); }