Avatar
AsaiToshiya
0a2f19dc1a185792c3b0376f1d7f9971295e8932966c397935a5dddd1451a25a
📝 https://notes.asaitoshiya.com/
Replying to Avatar AsaiToshiya

https://github.com/nostr-protocol/nips/blob/master/46.md

> The client always starts by generating a random key which is used to communicate with the signer

セッションごと?

> The signer scans the QR code and sends a connect message to the client in the specified relays.

NIP を素直に解釈すると、`"ack"` を送信すれば良さそう

> And the events the remote signer sends to the client have the following format:

>

> ```js

> "pubkey": ""

> "kind": 24133,

> "tags": [

> ["p", ""]

> ],

> "content": "nip04_encrypted_json({id: , result: , error: })",

> ...

> ```

Replying to Avatar AsaiToshiya

https://github.com/nostr-protocol/nips/blob/master/46.md

> The client always starts by generating a random key which is used to communicate with the signer

セッションごと?

> ```

> #?relay=wss://...&relay=wss://...

> ```

`optional-secret` は OTP (ワンタイム パスワード)

参考: https://ndk.fyi/docs/classes/NDKNip46Signer.html#constructor

Replying to Avatar AsaiToshiya

https://github.com/nostr-protocol/nips/blob/master/46.md

> The client always starts by generating a random key which is used to communicate with the signer

セッションごと?

https://github.com/nostr-protocol/nips/pull/831#issuecomment-1821474706

> but it may be better to use a random key for the session or a persistent signer-key.

永続的な pubkey でも良さげ。まあ、そうですよね

https://github.com/nostr-protocol/nips/blob/master/46.md

> The client always starts by generating a random key which is used to communicate with the signer

セッションごと?

やったー!

#ライフログ

Replying to Avatar AsaiToshiya

https://github.com/nostr-connect/nostrum

ダウンロードできへんけど

できるようになっていた

nostr-geotags

イベントの様々なジオタグ (`g` タグなど) を生成する JavaScript モジュール (ESM)

リポジトリ: https://github.com/sandwichfarm/nostr-geotags

#キャッチアップ #awesomenostr

awesome-nostr のコミットのキャッチアップ

https://github.com/aljazceru/awesome-nostr/commits/main?since=2023-12-20&until=2023-12-21&author=aljazceru

#キャッチアップ #awesomenostr

NIPs のコミットのキャッチアップ

https://github.com/nostr-protocol/nips/commits/master?since=2023-12-20&until=2023-12-21

* NIP-44: Encrypted Payloads (Versioned)

* 新しく追加された NIP。選択暗号文攻撃 (Chosen-ciphertext attack) に対して安全な暗号化標準

* NIP-04: Encrypted Direct Message

* 上記の追加に伴い、非推奨になった

* README

* NIP-44 の追加に伴い、リストが更新された

#キャッチアップ #nips

eQlKIQPl+LWP5LNcvSf25cucZtSu9m1t/SdBGsT3GOMI0bowaIU/Aq8V7lJfrlZAKCtoIsdoFQ2oBk3drbxN5g==?iv=TTHgesIHwfxPgDxQNQnuAg==

Nuxstr

Nuxt と NDK (Nostr Development Kit) を使用したマイクロブログ用のテンプレート

デモ: https://nuxstr.nostrver.se

リポジトリ: https://github.com/sebastix/nuxstr

#キャッチアップ #awesomenostr

awesome-nostr のコミットのキャッチアップ

https://github.com/aljazceru/awesome-nostr/commits/main?since=2023-12-11&until=2023-12-19&author=aljazceru

#キャッチアップ #awesomenostr