Damus

Recent Notes

/dev/null profile picture
Searching for server side #indexeddb or indexeddb compatible (primitives, objects and files / blobs) sync solution to sync data from client / browser to a relay / server. Any suggestion?
/dev/null profile picture
Anyone tried to sign a text with #JS #WebCryptoApi and verify with #PHP openssl_verify?
Tried with alpine based PHP 7.4, 8.1, 8.2 (with error message) and 8.3 (without error message). To use another base also tried centos / almalinux 8 with php 7.4 (with error message) without success...

"error:0909006C:PEM routines:get_name:no start line"

But pub key as pem is fine (exportKey method as spki).

Found many similar problems but no solution. Also an php issue that some versions have such a bug with openssl_verify.

Maybe someone tested it sucessfully and could tell me some details of the test setup like base os, php version, ... ?
1
/dev/null · 131w
Mh... Looks like php openssl_*() not supporting ECDSA for sign / verify with sha-256 and no more with sha-1 The method "openssl_get_md_methods()" no more shows "ecdsa-with-SHA1"... 😞
fegular · 134w
On amethyst, yes
τέχνη · 139w
You shouldn’t get bugs for the basic, small use cases like in the tutorial. In any case, it’s worth trying if only to see what is possible. Take ideas, etc
/dev/null · 140w
nostr:npub1wnwwcv0a8wx0m9stck34ajlwhzuua68ts8mw3kjvspn42dcfyjxs4n95l8 some times stream is empty 🤷‍♂️