14 Commits

Author SHA1 Message Date
fiatjaf
7cbca5f040 nip46: dynamic signer to store sessions associated with the handler pubkey to prevent stupid bugs when the same client try to use two different bunkers. 2025-07-18 14:36:42 -03:00
fiatjaf
3d595039cc fixes and tweaks from nak port work. 2025-04-21 08:35:19 -03:00
fiatjaf
376834cbf9 more conversions. 2025-04-15 00:00:03 -03:00
fiatjaf
b4268d649c a bunch of [32]byte conversions. still more needed. 2025-04-14 17:47:53 -03:00
fiatjaf
9cb853d6b1 nip46: fix IsValidBunkerURL because that regex was borked. 2024-12-17 11:05:43 -03:00
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
579172e5b7 nip46: move some code around for clarity. 2024-10-26 19:55:55 -03:00
fiatjaf
022d4ce598 nip46: implement fmt.Stringer for request and response. 2024-10-14 16:42:54 -03:00
fiatjaf
e05dbb5d51 nip46: revamp dynamic signer, require a ctx on HandleRequest(). 2024-10-14 16:26:16 -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
d690fd7f07 nip46: bunker implementation changes for more streamlined authorization prompts. 2024-03-02 08:16:11 -03:00
fiatjaf
f4cf242084 validating/parsing nip05 and nip46. 2024-03-01 15:55:02 -03:00
fiatjaf
fd8b2b22b2 nip-46 dynamic and static signers. 2024-01-09 17:20:14 -03:00