-
Notifications
You must be signed in to change notification settings - Fork 87
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
import EncryptedDirectMessage fails using python3.10, nostr 0.0.2 #100
Comments
I dug a little and turns out that when you |
Same is happening to me. It is outdated in pypi, the EncryptedDirectMessage was added at Feb 4 and the latest version on pypi is from Jan 26. |
I am using CalleBTC fork now. That has DMs working. |
I installed and i can send the DMs but an error always occurs when i try to decrypt the message content.
Edit: I was using the wrong pubkey to decrypt. Now its working. |
|
Hi
I cannot import EncryptedDirectMessage. Here's the environment:
$ pip freeze
cffi==1.15.1
cryptography==40.0.2
nostr==0.0.2
pycparser==2.21
secp256k1==0.14.0
websocket-client==1.5.1
The python code:
from nostr.event import EncryptedDirectMessage
The error:
ImportError: cannot import name 'EncryptedDirectMessage' from 'nostr.event' (/home/jogi/nostr-message/env/lib/python3.10/site-packages/nostr/event.py)
The text was updated successfully, but these errors were encountered: