Giter Site home page Giter Site logo

mtls-vid's Introduction

mTLS-VID

This prototype simulates a client-server mTLS communication based in the Lightweight-SVID workload identity document, being developed by HPE-USP-SPIRE project.
In this work, both sides own a signed LSVID containing their ID, public key, LSVID issuer and expiration. The LSVID are used as base to generate a self-signed certificate, that can be used in mTLS connections.
The objective is to bind the LSVID with the communication actors, allowing to verify if the receiving ID really correspond to the workload in the communication.

Execution

  • Run server side with go run server.go
  • Run client side with go run client.go

The server will listen for requests. For each request received it validate the client certificate and LSVID, also verifying if the public key in both documents are the same. If so, the server accept the connection and sends a custom message to client.

mtls-vid's People

Contributors

marques-ma avatar

Watchers

 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.