Giter Site home page Giter Site logo

x-kms's Introduction

X-KMS密钥管理系统

前端页面移步:https://github.com/virtuex/x-kms-frontend

  • 基于BouncyCastle
  • 密钥保护:生成KMS的Master Key ,系统所有存储的密钥由Master Key保护
  • 密钥不落地:所有的密钥均不允许导出,所有运算使用密钥对应的索引进行运算

模块设计

池化

  • 随机数池

密钥管理

  • 版本控制

对称密钥

  • RSA
  • SM2

非对称密钥

  • AES
  • DES

Master Key

加解密

  • 对称
    • AES
    • DES
    • SM4
  • 非对称
    • RSA
    • SM2

摘要

  • MD
  • SHA
  • SM3
  • HMAC

签名验签

  • RSA
  • SM2

接口设计

接口设计参考Apache Ranger

  • /v1/keys POST
  • /v1/key/{name} DELETE GET POST
  • /v1/keys/metadata GET
  • /v1/keys/names GET
  • /v1/keyversion/{versionName} GET
  • /v1/key/{name}/_currentversion GET
  • /v1/key/{name}/_eek GET
  • /v1/key/{name}/_metadata GET
  • /v1/key/{name}/_versions GET
  • /v1/keyversion/{versionName}/_eek POST

数据库设计

x-kms's People

Contributors

xudean avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.