Skip to content

Commit

Permalink
chore: Fix linting
Browse files Browse the repository at this point in the history
Signed-off-by: Colton Wolkins (Laptop) <[email protected]>
  • Loading branch information
TheTechmage committed Nov 7, 2024
1 parent d9e84c3 commit 099f76e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion oid4vc/jwt_vc_json/cred_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import datetime
import logging
import uuid
from typing import Any, Optional
from typing import Any

from acapy_agent.admin.request_context import AdminRequestContext
from acapy_agent.core.profile import Profile
Expand Down
3 changes: 0 additions & 3 deletions oid4vc/oid4vc/public_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,9 +525,6 @@ async def verify_presentation(
):
"""Verify a received presentation."""

context: AdminRequestContext = profile.context
config = Config.from_settings(context.settings)

LOGGER.debug("Got: %s %s", submission, vp_token)

processors = profile.inject(CredProcessors)
Expand Down
4 changes: 3 additions & 1 deletion oid4vc/sd_jwt_vc/cred_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,9 @@ async def verify_presentation(
context: AdminRequestContext = profile.context
config = Config.from_settings(context.settings)

result = await sd_jwt_verify(profile, presentation, config.endpoint, presentation_record.nonce)
result = await sd_jwt_verify(
profile, presentation, config.endpoint, presentation_record.nonce
)
# TODO: This is a little hacky
return VerifyResult(result.verified, presentation)

Expand Down

0 comments on commit 099f76e

Please sign in to comment.