From e74cb7282baf29289e85bb20252ccbe211f518e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=93=E3=81=9F=E3=81=BE=E3=81=94=20=28chibiegg=29?= Date: Wed, 4 Sep 2024 12:31:22 +0900 Subject: [PATCH] Allow multiple publicKey in Issuer --- openbadges/verifier/tasks/validation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbadges/verifier/tasks/validation.py b/openbadges/verifier/tasks/validation.py index 6f55b37..e653af7 100644 --- a/openbadges/verifier/tasks/validation.py +++ b/openbadges/verifier/tasks/validation.py @@ -481,7 +481,7 @@ def __init__(self, class_name): {'prop_name': 'url', 'prop_type': ValueTypes.URL, 'required': True}, {'prop_name': 'email', 'prop_type': ValueTypes.EMAIL, 'required': True}, {'prop_name': 'telephone', 'prop_type': ValueTypes.TELEPHONE, 'required': False}, - {'prop_name': 'publicKey', 'prop_type': ValueTypes.ID, + {'prop_name': 'publicKey', 'prop_type': ValueTypes.ID, 'many': True, 'expected_class': OBClasses.CryptographicKey, 'fetch': True, 'required': False}, {'prop_name': 'verification', 'prop_type': ValueTypes.ID, 'expected_class': OBClasses.VerificationObjectIssuer, 'fetch': False, 'required': False},