mleku on Nostr: and, yes, i got the auth fixed now, should be working for generating and validating ...
and, yes, i got the auth fixed now, should be working for generating and validating auth challenges, although i don't think i specify an actual auth challenge generation message and i am literally working on the auth envelope right now
so, yeah, here be dragons
when i finish all the envelopes and write all the tests it will be minimally useful
sorry to make such a mess but blame fiatjaf... he published these benchmarks of his binary thing and i had to beat him (and now my json codec is almost faster and uses less memory than his binary)
Published at
2024-06-27 10:06:20Event JSON
{
"id": "abe08358cb9fd07689aae666fd3fe7ef326799796a2139457c7d31744ac6981d",
"pubkey": "4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"created_at": 1719482780,
"kind": 1,
"tags": [
[
"e",
"e751c252a6e23fd023e7ca065083c9353bb3f91428dcc8f79f3a8160a0b7e7bf",
"wss://theforest.nostr1.com/",
"root"
],
[
"e",
"336a5e9286bba25e09fc0d97cb6aad34d4aa1f4ed3ac527c0bc3f1103fa231eb",
"wss://relay.nostr.band/",
"reply"
],
[
"p",
"7cc328a08ddb2afdf9f9be77beff4c83489ff979721827d628a542f32a247c0e",
"",
"mention"
]
],
"content": "and, yes, i got the auth fixed now, should be working for generating and validating auth challenges, although i don't think i specify an actual auth challenge generation message and i am literally working on the auth envelope right now\n\nso, yeah, here be dragons\n\nwhen i finish all the envelopes and write all the tests it will be minimally useful\n\nsorry to make such a mess but blame fiatjaf... he published these benchmarks of his binary thing and i had to beat him (and now my json codec is almost faster and uses less memory than his binary)",
"sig": "4bfad21f476ec62b25915ded7255c5d79118fbb8a8784ef8261415a48e4023924ebc2769e3e13c895b3478b5d370eab228d8528fb71e0083415d4e207f8d25fc"
}