draft-ietf-lamps-hash-of-root-key-cert-extn-07 - Hash Of Root Key Certificate Extension https://tools.ietf.org/html/draft-ietf-lamps-hash-of-root-key-cert-extn-07
ルート証明書に次回のルート証明書に使う公開鍵のハッシュ値を含めることで、更新が近付いた頃に受け取る側がその真正性を確認する手掛かりのひとつとして使えるようにするX.509拡張
dsa, dsbという2つのdatasourceをソースにしていて、dsaは全部、dsbは一部のユーザー以外入れない、みたいな条件を書くにはdatasourceを条件に入れる必要があるけど、現状ではそういうconditionは無い。
https://dev.mikutter.hachune.net/projects/mikutter/repository/main/revisions/0430af838118521880882e2ccf3d07002d9a64cb/entry/core/plugin/mastodon/model/status.rb#L284 mastodonプラグインはこちらです
なんかこう、
defdsl :"defインスタ映えopener" do |name, regex|
defimageopener(name, regex) do |url|
img = Plugin::PhotoSupport.インスタ映え(url)
open(img) if img
end
end
くらいまでやってしまってもいい気がしてくる。
Plugin[:photo_support].defimageopener('shs', %r<\Ahttps?://shs\.sh>) do |url|
img = Plugin::PhotoSupport.インスタ映え(url)
open(img) if img
end
ご査収ください
それでも石が結構余ったからもう1回くらい回しておくかとやった結果 https://mstdn.kanagu.info/media/-ap8vueLDGHkHgXIL6c