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;
}
```