pmrcunha on Nostr: I guess the main issue with local storage is the same with any other browser storage ...
I guess the main issue with local storage is the same with any other browser storage - a successful XSS attack could read the data. So probably encrypting with a passphrase would be the way to go? Or relying on a remote signer
Published at
2025-04-30 22:04:28Event JSON
{
"id": "883dba0e582282376362a81c450e0d83d4c741f7e32ee3afd078b2c01d3e0e96",
"pubkey": "b299876ba85e33da57269247f7f91aee025f5bd2bc229aa85c7908f37c10c838",
"created_at": 1746050668,
"kind": 1,
"tags": [
[
"e",
"756db19a3f2272e7b33a02eefd4024718c78b066c6b041ecaced1356d364bd9b",
"ws://192.168.18.7:7777",
"root"
],
[
"e",
"4ebd8a0e1266f6ba7823db96ef9b1c0eefa8b8d155095582a94257999c8a6b4d",
"",
"reply"
],
[
"p",
"82341f882b6eabcd2ba7f1ef90aad961cf074af15b9ef44a09f9d2a8fbfbe6a2"
],
[
"p",
"be7358c4fe50148cccafc02ea205d80145e253889aa3958daafa8637047c840e"
]
],
"content": "I guess the main issue with local storage is the same with any other browser storage - a successful XSS attack could read the data. So probably encrypting with a passphrase would be the way to go? Or relying on a remote signer",
"sig": "7a5ca13041db8e1433d7576ac9c98db791c20c40c2dbdbc124cbd2365cf79fb0963728e2c9c4e208a33b45d227a8c1cdf29b23567c5436aa5302b1136018b9f9"
}