fiatjaf
|
a330b97590
|
partial nip57 support.
|
2023-02-15 21:06:38 -03:00 |
|
fiatjaf
|
87bf349ce8
|
fill in missing kinds on enum.
|
2023-02-14 16:04:18 -03:00 |
|
fiatjaf
|
54dfc7b972
|
validate that the event is an object.
|
2023-02-14 15:18:39 -03:00 |
|
fiatjaf
|
4b36848b2d
|
fix signing functions to be more strict and correct.
|
2022-12-29 18:26:28 -03:00 |
|
François-Xavier Thoorens
|
5db1934fa4
|
fixed security issue around event verification
the use of id has been removed and the hash is computed instead
|
2022-12-27 16:46:36 -03:00 |
|
fiatjaf
|
83c397b839
|
do event signature and verification synchronously.
|
2022-12-23 17:32:13 -03:00 |
|
adamritter
|
613a843838
|
Add Kind enum for easier client development (#61)
|
2022-12-23 16:38:59 -03:00 |
|
fiatjaf
|
c0d1e41424
|
always recompute the hash when signing.
fixes https://github.com/fiatjaf/nostr-tools/issues/59
|
2022-12-23 15:06:21 -03:00 |
|
fiatjaf
|
89ae21f796
|
remove buffer usage everywhere.
|
2022-12-21 16:04:09 -03:00 |
|
fiatjaf
|
1162935f58
|
add a bunch of tests.
|
2022-12-19 20:02:01 -03:00 |
|
fiatjaf
|
897919be3b
|
get rid of create-hash, use noble hashes.
|
2022-12-19 19:50:41 -03:00 |
|
fiatjaf
|
de8bdd8370
|
fix typescript types everywhere, delete pool.js and refactor relay.js to use event listeners everywhere.
|
2022-12-18 17:02:19 -03:00 |
|