Skip to content
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

bunker:// protocol issue #13

Open
197788 opened this issue Jan 22, 2025 · 3 comments
Open

bunker:// protocol issue #13

197788 opened this issue Jan 22, 2025 · 3 comments

Comments

@197788
Copy link

197788 commented Jan 22, 2025

I can't login using a bunker:// address. I've setup a knox bunker. (https://gitlab.com/soapbox-pub/knox). I feed the bunker address to Nostrmo, and I can see Nostrmo try to connect to it. (That is the line after the initial 2 "up" lines which is an error.) I thought this was an issue with knox, but Alex Gleason says you could be using the outdated/insecure NIP-04 encryption, and to open an issue with Nostrmo to switch to NIP-44 encryption.

root@rara:~# knox start 
Starting bunker daemon... 
Press Ctrl+C to stop. 

up j e30c3c95-d25f-4c18-aeae-08795f424fc4 wss://basedpotato.nostr1.com/ 
up j 74205b39-2287-4c42-8ebf-3f75e55d924a wss://nostr-pub.wellorder.net/ 
error j a2c64ee429e0b498fbd651b5a455fc44081266c0eda14a595289c70c2c0f236b Error: invalid base64: Unknown letter: "=". Allowed: ABCDEFGHIJKLMNOPQRSTUVWXYZabcde
fghijklmnopqrstuvwxyz0123456789+/ 
    at decodePayload (file:///tmp/deno-compile-knox/.deno_compile_node_modules/localhost/nostr-tools/2.10.0/lib/esm/index.js:1950:11) 
    at Object.decrypt2 [as decrypt] (file:///tmp/deno-compile-knox/.deno_compile_node_modules/localhost/nostr-tools/2.10.0/lib/esm/index.js:1972:38) 
    at Object.decrypt (https://jsr.io/@nostrify/nostrify/0.36.1/NSecSigner.ts:42:23) 
    at NBunker.decrypt (file:///tmp/deno-compile-knox/knox/src/NBunker.ts:157:37) 
    at NBunker.open (file:///tmp/deno-compile-knox/knox/src/NBunker.ts:52:40) 
    at eventLoopTick (ext:core/01_core.js:175:7) 
error j bd2df68bced7a5f07f8604bb176b8ebcde296ff1fb058ce5439401d300a450a2 Error: invalid payload length: 116 
    at decodePayload (file:///tmp/deno-compile-knox/.deno_compile_node_modules/localhost/nostr-tools/2.10.0/lib/esm/index.js:1943:11) 
    at Object.decrypt2 [as decrypt] (file:///tmp/deno-compile-knox/.deno_compile_node_modules/localhost/nostr-tools/2.10.0/lib/esm/index.js:1972:38) 
    at Object.decrypt (https://jsr.io/@nostrify/nostrify/0.36.1/NSecSigner.ts:42:23) 
    at NBunker.decrypt (file:///tmp/deno-compile-knox/knox/src/NBunker.ts:157:37) 
    at NBunker.open (file:///tmp/deno-compile-knox/knox/src/NBunker.ts:52:40) 
    at eventLoopTick (ext:core/01_core.js:175:7)

@haorendashu
Copy link
Owner

Thanks your issue. I just found that they had change the nip04 to nip44 .

nostr-protocol/nips@6d16019

I will change it later. But the chinese new years holidays is comming. The update time maybe a little late.

@197788
Copy link
Author

197788 commented Jan 22, 2025

Thanks your issue. I just found that they had change the nip04 to nip44 .

nostr-protocol/nips@6d16019

I will change it later. But the chinese new years holidays is comming. The update time maybe a little late.

Thanks, @haorendashu I love Nostrmo, and you are doing a great job! Should I close the issue?

@haorendashu
Copy link
Owner

No need to close it before i fix it.

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

No branches or pull requests

2 participants