nostr-java icon indicating copy to clipboard operation
nostr-java copied to clipboard

fix: nip-44 incompatibility with other clients

Open Punk7149 opened this issue 3 months ago • 0 comments

Summary

Previous implementation doesn't work correctly. Tested e.g. with Amethyst and nak. The kind 4 messages encrypted with nip44 could not be decrypted.

What changed?

Replaced the current implementation with partially ported / refactored reference kotlin implementation.

BREAKING

Messages with previous implementation cannot be decrypted.

Review focus

Checklist

  • [x] Scope ≤ 300 lines (or split/stack)
  • [x] Title is verb + object (e.g., “Refactor auth middleware to async”)
  • [x] Description links the issue and answers “why now?”
  • [x] BREAKING flagged if needed
  • [x] Tests/docs updated (if relevant)

Punk7149 avatar Nov 14 '25 13:11 Punk7149