primal は NIP-07 の window.nostr.getRelays() を毎回読みに来てる。逆に kind 3 のリレー設定を見てないかもしれない。一度消して試してみよう。
S. Ota
_@susumuota.github.io
npub1susu...0yu8
A programmer. An author of nostr-keyx. Interests: Reinforcement Learning, Natural Language Processing and Artificial General Intelligence.
Hello from primal.net
#[0] #unsubscribe
#[0] #unsubscribe
Arduino IDE 対応のシュノア署名実装がマージされてた。 ESP32, Raspberry Pi Pico で動きました。

GitHub
uBitcoin/examples/schnorr/schnorr.ino at master · micro-bitcoin/uBitcoin
Bitcoin library for microcontrollers. Supports Arduino, mbed, bare metal. - micro-bitcoin/uBitcoin
NIP-07 の window.nostr.getRelays() をちゃんとテストして自分でリレーを管理出来るようにしておこう。
Iris はリレーを勝手に追加した時点で一気に株が下がってしまった... (自分の中で)
オイルランタンとオイルランプにパラフィンオイル入れて使ってる。
フォロワーのネットワーク表示は誰かがやってたと思うけどすぐ思い出せない。
deno compile でバイナリを作れるので、これを使うと Node.js のインストールが不要になってインストール作業が楽になるけど、個人開発者の野良バイナリ実行するの怖くないですか?(自分は怖い)


Deno
`deno compile`, standalone executables
Compile your code into a standalone executable
New version of nostr-keyx released. #japan
nostr-keyx: Nostr Key Management Extension
A NIP-07 browser extension that uses the OS's keychain or YubiKey to protect your private keys.
v1.5.0
* Add a prompt page to allow access to NIP-07 functions.
* Support NIP-06 mnemonic seed phrase.
* Update injection method for Chrome 111.

GitHub
Releases · susumuota/nostr-keyx
A NIP-07 browser extension that uses the OS's keychain or YubiKey to protect your private keys. - susumuota/nostr-keyx

`@nossence` って書いた後 npub に変換されるまでちょっと待たないといけなかった。
#[0] #subscribe
@nossence #subscribe
ESP32 はオンチップフラッシュメモリの暗号化が出来ます(前にSegmentさんに教えてもらったページです)。

DSASȯԤ
ESP32 ⥸塼ΥեåŹ沽˴ؤ : DSASȯԤ
ESP-WROOM-32 ¢եåˤĤĴ٤ƤȤ Flash Encryption ˶̣´ޤ ˡˤäǤ...
Flash Encryption - ESP32 - — ESP-IDF Programming Guide latest documentation
Safari 拡張機能は制限多そうなので、まずは普通のアプリで生体認証+キーチェーンを確認。


Apple Developer Documentation
Accessing Keychain Items with Face ID or Touch ID | Apple Developer Documentation
Protect a keychain item with biometric authentication.
デバイスでテストするだけでも $99 払わないといけないのか...
> You must be a member of the Apple Developer Program to test on a device.


Apple Developer Documentation
Running your Safari web extension | Apple Developer Documentation
Install and update your extension in Safari as you make changes in development.
Safari の拡張機能。 Resource 以下は Chrome や Firefox の拡張機能と一緒。


Apple Developer Documentation
Creating a Safari web extension | Apple Developer Documentation
Build a Safari web extension in Xcode.
iOS / macOS の生体認証で秘密鍵保存出来るのかどうか調べてみる。
nostr-tools 内部でも使っている noble-secp256k1 で "破壊的変更" が来てた。
Nostr に関連しそうなのはこの辺。シュノア署名は @noble/curves に移動。今まで非同期だったのが同期になった等。
```
-import * as secp from '@noble/secp256k1';
+import { secp256k1, schnorr } from '@noble/curves/secp256k1';
+import * as utils from '@noble/curves/abstract/utils';
+import { sha256 } from '@noble/hashes/sha256';
-event.sig = secp.utils.bytesToHex(await secp.schnorr.sign(event.id, getPrivateKey(account)));
-// console.assert(await secp.schnorr.verify(event.sig, event.id, event.pubkey));
+event.sig = utils.bytesToHex(schnorr.sign(event.id, getPrivateKey(account)));
+// console.assert(schnorr.verify(event.sig, event.id, event.pubkey));
-const key = secp.getSharedSecret(privkey, '02' + pubkey);
+const key = secp256k1.getSharedSecret(privkey, '02' + pubkey);
```

GitHub
fix: @noble/secp256k1 update. · susumuota/nostr-keyx@1c405ac
A NIP-07 browser extension that uses the OS's keychain or YubiKey to protect your private keys. - fix: @noble/secp256k1 update. · susumuota/nostr-...