feat: replace custom crypto with nostr-sdk, add NIP-44 #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "doxios/nostr-cli:feat/pynostr-nip44"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Replace all custom cryptographic code with nostr-sdk (Rust bindings) and add NIP-44 v2 encryption.
Changes
Removed (~500 lines of custom crypto)
secp256k1ECDH shared secret computationwebsockets,cryptography,secp256k1,bech32Added
nostr-sdkfor all crypto, key management, relay handling--nip04flag for legacy NIP-04client.send_private_msg()Kept
Dependencies
Before: 4 packages (
websockets,cryptography,secp256k1,bech32)After: 1 package (
nostr-sdk>=0.44)Tests
25 tests passing — keys, NIP-04, NIP-44, injection shield, wake mechanism.
Stats
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.