diff --git a/src/aleph/vm/orchestrator/views/authentication.py b/src/aleph/vm/orchestrator/views/authentication.py index c51af36f..b40cfcd4 100644 --- a/src/aleph/vm/orchestrator/views/authentication.py +++ b/src/aleph/vm/orchestrator/views/authentication.py @@ -24,8 +24,7 @@ from jwcrypto import jwk from jwcrypto.jwa import JWA from nacl.exceptions import BadSignatureError -from pydantic import (BaseModel, ValidationError, ValidationInfo, - field_validator, model_validator) +from pydantic import BaseModel, ValidationError, ValidationInfo, field_validator, model_validator from solathon.utils import verify_signature from aleph.vm.conf import settings @@ -122,7 +121,7 @@ def check_signature(values) -> SignedPubKeyHeader: content = SignedPubKeyPayload.model_validate_json(payload) check_wallet_signature_or_raise(content.address, content.chain, payload, signature) return values - + @property def content(self) -> SignedPubKeyPayload: """Return the content of the header"""