Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
BBc-1 ハンズオン : さまざまな証明書の登録とその検証 / BBc-1 Hands on...
Search
beyond-blockchain.org
June 12, 2019
Technology
1
240
BBc-1 ハンズオン : さまざまな証明書の登録とその検証 / BBc-1 Hands on: Registry for Certificates and Verification
BBc-1 の開発中の共通ライブラリと汎用レジストリライブラリ、レッジャーサブシステム、および certificates.py サンプルアプリケーションを用いたチュートリアルのスライドです。
beyond-blockchain.org
June 12, 2019
Tweet
Share
More Decks by beyond-blockchain.org
See All by beyond-blockchain.org
BBc-2 ハンズオン さまざまな証明書の登録とその検証 / BBc-2 Hands-on Registration and Verification of Certificates
beyondblockchain
0
110
BBc-2 ハンズオン 基本インストール / BBc-2 hands-on Basic Installation
beyondblockchain
0
82
BBc-1 ハンズオン : RFID タグによる物流追跡 / BBc-1 Hands-on : Using RFID Tags for Logistics Tracking
beyondblockchain
0
79
BBc-1 ハンズオン : さまざまな証明書の登録とその検証(ウェブ版) / BBc-1 Hands on: Registry for Certificates and Verification (on Web)
beyondblockchain
0
180
BBc-1 ハンズオン : デジタル通貨の送金とスワップを通して学ぶBBc-1 トランザクション / BBc-1 Hands on: Digital Currency Transfer and Swap
beyondblockchain
2
400
BBc-1 ハンズオン : インストールとファイル内容証明 / BBc-1 Hands-on : Installation and File-content Proof
beyondblockchain
2
1.4k
BBc-1 ハンズオン : Ethereum によるレッジャーサブシステム / BBc-1 Hands-on : Ledger Subsystem with Ethereum
beyondblockchain
1
680
BBc トラスト / BBc Trust
beyondblockchain
1
170
BBc-1 設計文書 / BBc-1 (Beyond Blockchain One) Design Paper
beyondblockchain
0
150
Other Decks in Technology
See All in Technology
Findy Team+のSOC2取得までの道のり
rvirus0817
0
300
バイブコーディングと継続的デプロイメント
nwiizo
2
400
Oracle Cloud Infrastructure:2025年9月度サービス・アップデート
oracle4engineer
PRO
0
370
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
9k
From Prompt to Product @ How to Web 2025, Bucharest, Romania
janwerner
0
110
Geospatialの世界最前線を探る [2025年版]
dayjournal
3
480
Trust as Infrastructure
bcantrill
0
290
Goに育てられ開発者向けセキュリティ事業を立ち上げた僕が今向き合う、AI × セキュリティの最前線 / Go Conference 2025
flatt_security
0
330
データエンジニアがこの先生きのこるには...?
10xinc
0
440
「技術負債にならない・間違えない」 権限管理の設計と実装
naro143
35
11k
リーダーになったら未来を語れるようになろう/Speak the Future
sanogemaru
0
260
Exadata Database Service on Dedicated Infrastructure(ExaDB-D) UI スクリーン・キャプチャ集
oracle4engineer
PRO
2
5.4k
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
514
110k
Music & Morning Musume
bryan
46
6.8k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.6k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
45
2.5k
What's in a price? How to price your products and services
michaelherold
246
12k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.2k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
114
20k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
850
Making Projects Easy
brettharned
118
6.4k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Practical Orchestrator
shlominoach
190
11k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.5k
Transcript
BBc-1
[email protected]
https://speakerdeck.com/beyondblockchain BBc-1 — — 2020-05-14 – p.1/21
BBc-1 ( ) ( ) BBc-1 BBc-1 — — 2020-05-14
– p.2/21
BBc-1 BBc-1 ( ) / (1) (2) (3) BBc-1 —
— 2020-05-14 – p.3/21
#JUDPJO ##D$PSF ϨοδϟʔαϒγεςϜ ΞϓϦέʔγϣϯ ͦ ͷ ଞ ͞ · ͟
· ͳ Ξ ϓ Ϧ ͷ Մ ೳ ੑ ڞ௨ϥΠϒϥϦ ##D ։ൃ߲ Ҭ ௨ ՟ Ξ ϓ Ϧ ϙ Π ϯ τ Ξ ϓ Ϧ དྷ ྺ ূ ໌ Ξ ϓ Ϧ ʜ ॳظʹ͓͍ͯଘࡏূ໌Λґଘ ΞϯΧϦϯά ֤ϊʔυʹ͓͚Δهʹ ֤छσʔλϕʔεΛར༻Մೳ TRMJUF.Z42-ͦͷଞ%# BBc-1 σδλϧ௨՟ϥΠϒϥϦ ͦͷଞͷϥΠϒϥϦ CCDMJC 1ZUIPO (P +4 FUD Bitcoin Ethereum ( ) (Proof of Context) ( ) ( ) BBc-1 — — 2020-05-14 – p.4/21
Python3 bbc1 : https://speakerdeck.com/beyondblockchain/bbc-1-hands-on-installation-and-file-content-proof : https://speakerdeck.com/beyondblockchain/bbc-1-hands-on-ledger-subsystem-with-ethereum bbc1-lib-std ( ) bbc1-lib-registry
( ) BBc-1 — — 2020-05-14 – p.5/21
GitHub git clone $ git clone -b develop https://github.com/beyond-blockchain/bbc1-lib-std.git $
cd bbc1-lib-std tar pip (Python ) $ python setup.py sdist $ pip install dist/bbc1-lib-std-0.19.tar.gz dist tar pip install BBc-1 — — 2020-05-14 – p.6/21
( SQLite3 ) ( ) ( ) ( ) (
) BBc-1 — — 2020-05-14 – p.7/21
GitHub git clone ( ) $ git clone -b develop
https://github.com/beyond-blockchain/bbc1-lib-registry.git $ cd bbc1-lib-registry tar pip (Python ) $ python setup.py sdist $ pip install dist/bbc1-lib-registry-0.6.tar.gz dist tar pip install bbc_core.py BBc-1 — — 2020-05-14 – p.8/21
(registry) XML XML , etc. BBc-1 — — 2020-05-14 –
p.9/21
certificates certificates BBc-1 — — 2020-05-14 – p.10/21
certificates certificates bbc1-lib-registry bbc-lib-std XML (= ) BBc-1 — —
2020-05-14 – p.11/21
certificates GitHub git clone $ git clone https://github.com/beyond-blockchain/examples.git $ cd
examples/certificates certificates.py BBc-1 BBc-1 — — 2020-05-14 – p.12/21
certificates certificates XML (< c/ > OK) <c> <id>000-000-0001</id> <name>Benjamin
B. Clark</name> <membership>Fujisawa Don Tacos</membership> <date>1559692800</date> <expires-at>1906773886</expires-at> </c> ( < set/ > < c/ > ) id : (bbc1-lib-registry ) digest : SHA-256 date : (Unix ) BBc-1 — — 2020-05-14 – p.13/21
( ) ূ໌ ॻ ূ໌ ॻ ূ໌ ॻ
ূ໌ ॻ ূ໌ ॻ O μΠδΣετ μΠδΣετ μΠδΣετ μΠδΣετ μΠδΣετ μΠδΣετ μΠδΣετ حͷ߹ ෳ͢Δ ɾূ໌ॻ Λड͚औͬͨ " ࢯɺಉ࣌ʹϒϧʔͰࣔ͞ΕΔμΠδΣετͱͦΕ͕ࠨӈͷͲͪΒʹҐஔ͢Δ͔Λड͚औΔɻ ɾ" ࢯূ໌ॻ ͷμΠδΣετ͔Β࢝Ίͯɺ࿈͖݁͢Ұ࿈ͷμΠδΣετΛΔ͜ͱʹͳΔͷͰɺϚʔΫϧϧʔτʹࢸΔ·Ͱͷ ɹܭࢉΛ࠶ݱͰ͖ɺಘΒΕͨϚʔΫϧϧʔτ͕ &UIFSFVN εϚʔτίϯτϥΫτʹه͞Ε͍ͯΔͱҰக͢Δ͜ͱΛ֬ೝͰ͖Δɻ ɾͦͷܭࢉΛߦ͢Δͷ͕DFSU@qBTLQZͷαʔϏε ݪཧͷཧղͱඞཁͳใ͕͋Ε୭Ͱ࠶ݱͰ͖Δ ূ໌͞ΕΔ ɻ ه͢Δ ಡΈग़ͤΔ ূ໌Λ ඞཁͱ͢Δऀʹ ։ࣔ͞ΕΔใ ˞##Dɺ͜ͷߏΛอଘ ɹ͍ͯ͠Δ͕ɺαϒπϦʔΛ ɹ63- Խͯͨ͠͠ޙɺ ɹূ໌͢Δ্Ͱ##D ෆཁ ެ։͞ΕΔใ ϚʔΫϧϧʔτ Ϛ ồ Ϋ ϧ γ ε ς Ϝ ͕ อ ͠ ֤ Ϣ ồ β ʹ ෦ త ʹ ͑ Δ ʜʜ ʜʜ ʜʜ ʜʜ ʜʜ μΠδΣετ μΠδΣετ μΠδΣετ μΠδΣετ μΠδΣετ μΠδΣετ &UIFSFVNϒϩοΫνΣʔϯ ʜ ʜ ##DϥΠϒϥϦ ূ໌ॻΞϓϦͰ࣮ݱ BBc-1 — — 2020-05-14 – p.14/21
(1) $ python certificates.py --help ( ) (bbc_core.py ) $
python certificates.py new_domain domain id “./.bbc1_app_support” BBc-1 — — 2020-05-14 – p.15/21
(2) bbc_core.py $ eth_subsystem_tool.py -w ∼/.bbc1 -d config_tree 100 30
100 30 BBc-1 bbc_core.py $ eth_subsystem_tool.py -w ∼/.bbc1 -d enable BBc-1 — — 2020-05-14 – p.16/21
“sample-m.xml” ( 2 ) $ python certificates.py -w ∼/.bbc1 -d
-m register sample-m.xml -m 30 $ python certificates.py -w ∼/.bbc1 -d -m verify sample-m.xml 2>/dev/null Ethereum “sample-m.xml” ( $ git checkout sample-m.xml ) BBc-1 — — 2020-05-14 – p.17/21
(1) $ python certificates.py -w ∼/.bbc1 -d -m query sample-m.xml
“certificate=” cert_flask.py “cert/cert_flask.py” S_CONTRACT_ADDRESS BBc-1 — — 2020-05-14 – p.18/21
(2) $ python index.py localhost:5000 localhost:5000/cert/?certificate= . . . &subtree=
. . . URL BBc-1 — — 2020-05-14 – p.19/21
XML ( ) BBc-1 — — 2020-05-14 – p.20/21
BBc-1 certificates.py cert_flask.py bbc1-lib-registry bbc1-lib-std BBc-1 — — 2020-05-14 –
p.21/21