Coder Social home page Coder Social logo

kluczy's Introduction

Kluczy

It means "key" in polish.

Kluczy provides tools to manage SSL certificates.

If you read french, have a look at this official recommendation

Install

Debian and Ubuntu

apt-get install python-gpgme python-keyring python-openssl

OSX

brew install gpgme

Install your own virtualenv and requirements.

env ARCHFLAGS="-arch x86_64" pip install -r requirements.txt

You can read SSL certificate with QuickLook.

Try it

kluczy init

Read the comments and edit the config.ini file

kluczy run

A Certificate Authority is lazily created

Testing certificates

Openssl provides tools for testing and debugging SSL. Generate some certificates with the default config.ini

Watch what you done

Alice private key :

openssl rsa -in alice.key -check

Alice certificate :

openssl x509 -in alice.crt -text

Secure server with an unauthenticated client

First, a server :

openssl s_server -cert alice.crt -key alice.key

Then, a client :

openssl s_client -connect localhost:4433 -CAfile CA.crt

Both output are verbose, enjoy. What you write client side display server side.

Secure server with authenticated client

Alice got a server, and verify clients :

openssl s_server -cert alice.crt -key alice.key -CAfile CA.crt -Verify 1

Bob can connect it, they use the same Certificate Authority :

openssl s_client -connect localhost:4433 -CAfile CA.crt -cert bob.crt -key bob.key

Features

  • √ Declarative certificates generation
  • √ Sending mail with MIME and GPG
  • √ Authenticated SMTP using the keyring
  • _ Cascading certificate authority and chaining them
  • _ Revocation list
  • _ Hook for pushing revocation list
  • _ Pin code for private keys
  • _ Batch sending certificates with GPG mail
  • _ Handling DH param
  • _ RSA, DSA or ECDSA private key
  • _ PEM or DER output format
  • _ Debian package
  • _ Web service for requesting SSL certificate authenticated by GPG (the CA server will never see the private key)

Licence

Three terms BSD Licence, © Mathieu Lecarme.

kluczy's People

Contributors

athoune avatar

Stargazers

Renaud R. avatar Pantelis Koukousoulas avatar Arthur Lutz avatar

Watchers

 avatar Gael Pasgrimaud avatar Johan Charpentier avatar guyzmo avatar James Cloos avatar  avatar  avatar Vincent Caron avatar  avatar _nirae 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.