$30 off During Our Annual Pro Sale. View Details »
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
250
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
120
BBc-2 ハンズオン 基本インストール / BBc-2 hands-on Basic Installation
beyondblockchain
0
89
BBc-1 ハンズオン : RFID タグによる物流追跡 / BBc-1 Hands-on : Using RFID Tags for Logistics Tracking
beyondblockchain
0
82
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
[JAWS-UG 横浜支部 #91]DevOps Agent vs CloudWatch Investigations -比較と実践-
sh_fk2
1
250
Kiro Autonomous AgentとKiro Powers の紹介 / kiro-autonomous-agent-and-powers
tomoki10
0
400
技術以外の世界に『越境』しエンジニアとして進化を遂げる 〜Kotlinへの愛とDevHRとしての挑戦を添えて〜
subroh0508
1
430
Sansanが実践する Platform EngineeringとSREの協創
sansantech
PRO
2
790
AWS re:Invent 2025で見たGrafana最新機能の紹介
hamadakoji
0
330
[CMU-DB-2025FALL] Apache Fluss - A Streaming Storage for Real-Time Lakehouse
jark
0
110
regrowth_tokyo_2025_securityagent
hiashisan
0
220
コミューンのデータ分析AIエージェント「Community Sage」の紹介
fufufukakaka
0
480
AI活用によるPRレビュー改善の歩み ― 社内全体に広がる学びと実践
lycorptech_jp
PRO
1
200
AWS CLIの新しい認証情報設定方法aws loginコマンドの実態
wkm2
6
700
新 Security HubがついにGA!仕組みや料金を深堀り #AWSreInvent #regrowth / AWS Security Hub Advanced GA
masahirokawahara
1
1.8k
エンジニアリングマネージャー はじめての目標設定と評価
halkt
0
270
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Documentation Writing (for coders)
carmenintech
76
5.2k
A better future with KSS
kneath
240
18k
Git: the NoSQL Database
bkeepers
PRO
432
66k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Why Our Code Smells
bkeepers
PRO
340
57k
Designing Experiences People Love
moore
143
24k
How to train your dragon (web standard)
notwaldorf
97
6.4k
The Cult of Friendly URLs
andyhume
79
6.7k
For a Future-Friendly Web
brad_frost
180
10k
Designing for humans not robots
tammielis
254
26k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3k
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