+
Skip to content

Conversation

ilya-korotya
Copy link
Contributor

No description provided.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for encrypted issuance messages in the protocol by introducing structures and utilities to handle encrypted credentials in different JWE serialization formats.

  • Adds EncryptedCredentialIssuanceMessage struct and related types for handling encrypted credential payloads
  • Implements support for both JWE JSON and string serialization formats
  • Adds comprehensive test coverage for encrypted credential issuance message parsing

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
protocol/credentials_encrypted.go New file implementing encrypted credential structures, interfaces, and custom unmarshaling logic
protocol/credentials_encrypted_test.go New test file with comprehensive test cases for both JWE serialization formats
protocol/credentials.go Adds new message type constant for encrypted credential issuance response

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

vmidyllic
vmidyllic previously approved these changes Oct 9, 2025
martinsaporiti
martinsaporiti previously approved these changes Oct 10, 2025
Copy link

@martinsaporiti martinsaporiti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ilya-korotya ilya-korotya merged commit bcb51bd into main Oct 13, 2025
3 checks passed
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.

3 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载