owned this note changed 5 years ago
Linked with GitHub

如何使用 Vault 實作區塊鏈的私鑰管理 - Juin Chiu, Frank Yang

tags: COSCUP2020 中階 TR413-1

歡迎來到 https://hackmd.io/@coscup/2020 共筆

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

點擊本頁上方的 開始用 Markdown 一起寫筆記!
手機版請點選上方 按鈕展開議程列表。

請從這裡開始

企業私鑰管理的特殊考量

  • 私鑰如同印章
  • 在企業協作的場景中,並非個人印章,而是公司章
  • 聯盟鏈
    • 准入制、實名制
    • 聯盟治理
  • 分離保管權調用權
    • 保管者需要安全保存私鑰,但無法調用
    • 調用私鑰時,不對調用者揭露私鑰資訊

保管權與調用權分開的私鑰管理方案

  1. 簽單
  2. 守門人
    驗證簽單是否合法,可能不是真人而是一段程式碼
  3. 金庫
    金庫會像一個黑盒子,簽單進去之後會得到一個簽章過後的結果,但外部使用者不會知道私鑰資訊

Vault

Plugin 架構

  • Vault 官方提供一個 plugin 的 framework
  • 優良的擴充性

Shamir's Secret Sharing

  • 存在最高權限的金鑰,被拆成數把金鑰,在得到滿足數量的金鑰後才能打開 secret

Policy (access control)

  • written by HCL or json
  • path based
  • deny by default

現場開源

repo

Select a repo