fiatjaf
72d9aac9b1
replace all ocurrences of encoding/json with json-iterator so we get rid of HTML escaping and hopefully get faster too.
2024-12-03 00:49:27 -03:00
fiatjaf
d4399892ee
nip46: dynamic signer sessions were missing nip44 conversation key.
2024-10-26 19:26:20 -03:00
fiatjaf
e05dbb5d51
nip46: revamp dynamic signer, require a ctx on HandleRequest().
2024-10-14 16:26:16 -03:00
sebas
27bd9bfc8c
nip46: fix HandleRequest request parsing logic
...
Move out the `session.ParseRequest` call from the `else` branch. This
caused an empty `Request` object to be used down in the function when
the `Session` already existed.
2024-10-01 16:58:54 -03:00
jiftechnify
1b6ac1fe0a
implement ping method in nip46 signers
2024-10-01 09:39:03 -03:00
fiatjaf
03ae3812c8
nip46: remove duplicated code.
...
fixes https://github.com/nbd-wtf/go-nostr/issues/152
2024-10-01 00:00:21 -03:00
fiatjaf
c6ea51653b
make nip44 conversation key be static array.
2024-09-11 10:13:29 -03:00
fiatjaf
7578bf6c71
nip46: support decrypting with nip44.
2024-05-20 09:20:39 -03:00
fiatjaf
a183ab0768
nip46: pass secret to authorize functions.
2024-05-15 16:13:12 -03:00
fiatjaf
4a2242e965
nip46: support nip44 in servers.
2024-05-15 16:00:30 -03:00
fiatjaf
d690fd7f07
nip46: bunker implementation changes for more streamlined authorization prompts.
2024-03-02 08:16:11 -03:00
fiatjaf
9c4ea87d0b
use stdlib "slices".
2024-02-08 16:33:39 -03:00
fiatjaf
2586144a5c
replace usage of IsValidPublicKeyHex() in subpackages.
2024-01-18 20:30:20 -03:00
fiatjaf
fd8b2b22b2
nip-46 dynamic and static signers.
2024-01-09 17:20:14 -03:00