iOS/macOS Safari 用 NIP-07 の Nostore のソースを読んでみた。
- 秘密鍵は平文で browser.storage.local に保存 (nos2xと同じ)
多分 iCloud バックアップで平文のままコピーされると思います。
```
const storage = browser.storage.local;
(中略)
async function savePrivateKey([index, privKey]) {
if (privKey.startsWith('nsec')) {
privKey = nip19.decode(privKey).data;
}
let profiles = await get('profiles');
profiles[index].privKey = privKey;
await storage.set({ profiles });
return true;
}
```

GitHub
nostore/Shared (Extension)/Resources/background.js at c68f91923aa87ae31d8d7de41368d1ea04a3323f · ursuscamp/nostore
A nostr signing extension for Safari. Contribute to ursuscamp/nostore development by creating an account on GitHub.
GitHub
nostore/Shared (Extension)/Resources/background.js at c68f91923aa87ae31d8d7de41368d1ea04a3323f · ursuscamp/nostore
A nostr signing extension for Safari. Contribute to ursuscamp/nostore development by creating an account on GitHub.



