Skip to content

chore: bump go-didcomm to v0.5.0 - #9

Merged
thomasjsk merged 1 commit into
mainfrom
chore/bump-go-didcomm-0.5.0
Jul 8, 2026
Merged

chore: bump go-didcomm to v0.5.0#9
thomasjsk merged 1 commit into
mainfrom
chore/bump-go-didcomm-0.5.0

Conversation

@thomasjsk

@thomasjsk thomasjsk commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Dependency

  • Module path lowercases to github.com/notabene-id/go-didcomm, pinned at the pseudo-version v0.4.1-0.20260708110526-ba45976d2288not a tagged v0.5.0 release, despite the patch filename. Worth confirming that's the intended pin before this lands.
  • Unpack now returns (*Message, *Metadata, error) and adds UnpackUnverified.

API impact (breaking)

  • Client.Receive now authenticates the sender — plain and anonymously-encrypted messages are rejected. Callers that relied on accepting those must switch to the new Client.ReceiveUnverified.
  • TAPResult:
    • drops Signed
    • gains SenderDID (cryptographically verified sender, empty when unverified)
    • Anonymous is now derived from an empty SenderDID, not carried separately.

Also in the patch

  • CLI receive reworked; sender-verification helpers moved into cmd/tap/support.go.

Local go build / go vet / golangci-lint (0 issues) / go test ./... all pass.

@thomasjsk
thomasjsk marked this pull request as ready for review July 8, 2026 19:34
Apply go-didcomm v0.5.0 upgrade (patch from Milo). The module path
lowercases to github.com/notabene-id/go-didcomm and is pinned at the
pseudo-version v0.4.1-0.20260708110526-ba45976d2288.

go-didcomm's Unpack now returns (*Message, *Metadata, error) and adds
UnpackUnverified. Adapt the TAP Client accordingly:

- Client.Receive now authenticates the sender; plain and
  anonymously-encrypted messages are rejected.
- Add Client.ReceiveUnverified for callers that accept unverified senders.
- TAPResult drops Signed, gains SenderDID; Anonymous is derived from an
  empty SenderDID.

Also refactors the CLI (new cmd/tap/support.go, reworked receive) and
updates CHANGELOG, README, and CLAUDE.md for the new module path and API.
@thomasjsk
thomasjsk force-pushed the chore/bump-go-didcomm-0.5.0 branch from 9a46329 to b00d9c2 Compare July 8, 2026 19:35
@thomasjsk
thomasjsk merged commit 8609ddc into main Jul 8, 2026
2 of 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.

1 participant