Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Pollux): plugins #349

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

feat(Pollux): plugins #349

wants to merge 2 commits into from

Conversation

curtis-h
Copy link
Contributor

@curtis-h curtis-h commented Dec 12, 2024

Description:

BREAKING CHANGES:

  • Pollux interface complete rewrite to plugins.

  • Anoncreds not available by default, needs to be loaded (if wanted).

  • removed

    • AttachmentFormats - known Didcomm Message formats, now internal to modules
    • Message.credentialFormat - used AttachmentFormats

    Helpers, a large number of helpers, intended for internal use but are technically exported in the Package, so listing below:

    • Domain.InputLimitDisclosure - specific to modules

    • Domain.DescriptorItemFormat - specific to modules

    • Domain.SDJWTVerifiableCredentialProperties - now use JWT.Claims | SDJWT_VP_PROPS instead

    • Domain.JWTVerifiableCredentialProperties - now use JWT.Claims | JWT_VP_PROPS instead

    • Domain.JWTVerifiablePresentationProperties - now use JWT.Claims | JWT_VC_PROPS | JWT_VP_PROPS instead

    • Domain.CredentialSubject

    • Domain.VerifiableCredentialTypeContainer

    • Domain.PredicateType

    • Domain.AttributeType

    • JWTPresentationClaims

    • SDJWTPresentationClaims

    • AnoncredsPresentationClaims

    • AnoncredsInputFieldFilter

    • InputFieldFilter

    • InputField

    • InputConstraints

    • InputDescriptor

    • DefinitionFormat

    • PresentationAnoncredsRequest

    • PresentationExchangeDefinitionRequest

    • PresentationDefinitionData

    • PresentationDefinitionRequestType

    • PresentationDefinitionRequest

    • DescriptorItem

    • JWTPresentationSubmission

    • SDJWTPresentationExchangeSubmission

    • SDJWTPresentationSubmission

    • AnoncredsPresentationSubmission

    • PresentationSubmissionData

    • PresentationSubmission

    • W3CVerifiableCredentialData

    • JWTRevocationStatusPurpose

    • CredentialStatusType

    • RevocationType

    • JWTRevocationStatus

    • JWTProofType

    • JWTProofPurpose

    • JWTStatusListResponse

    • JWTCredentialPayload

    • JWTPresentationPayload

    • Hasher

    • Signer

    • Verifier

    • JWTHeader

    • JWTPayload

    • PresentationJWTOptions

    • PresentationRequestOptions

    • PresentationOptions

    • AnoncredsPresentationOptions

    • SDJWPresentationOptions

    • JWTPresentationOptions

    • isPresentationDefinitionRequestType

Fixes:

  • docker hacks .replace("host.docker.internal")
  • decouple Protocols, Credentials, orchestration
    • reduce Pollux complexity
  • consolidating JWT code

Checklist:

  • My PR follows the contribution guidelines of this project
  • My PR is free of third-party dependencies that don't comply with the Allowlist
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked the PR title to follow the conventional commit specification

@curtis-h curtis-h self-assigned this Dec 12, 2024
@curtis-h curtis-h changed the title Feat/pollux plugins feat(Pollux): plugins Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant