Commit Graph

8 Commits

Author SHA1 Message Date
fiatjaf
08015ed306 add isValidHash field. 2022-02-14 13:15:00 -03:00
fiatjaf
93359bc1e8 fix signature verification (we were wrongly replacing the pubkey). 2022-02-13 07:12:54 -03:00
fiatjaf
7debc6fd2d it's evt.sig, not evt.signature. 2022-02-12 20:30:18 -03:00
fiatjaf
143c7fe000 guard against invalid signature. 2022-02-12 20:24:11 -03:00
fiatjaf
1d26118430 basic public key from private. 2022-02-11 16:47:50 -03:00
fiatjaf
e7027c169a fix some things. 2022-02-11 16:31:42 -03:00
fiatjaf
78b5cccfc2 more stuff and some polish on EventSigning. 2022-02-10 16:42:17 -03:00
fiatjaf
8312d9ece7 initial version with basic event utils. 2022-02-09 19:40:45 -03:00