Git Product home page Git Product logo

sipb-pgpsign's Introduction

Concept

MIT CA (https://ca.mit.edu/ca/) signs MIT users' public keys in x509 certificate format.

pgp.xvm.mit.edu signs PGP public key UID-s if

  • the public key was prevously signed by MIT CA
  • the person is a student (otherwise MIT might not have checked their identity throughly)
  • the name on the UID matches the name on MIT records

Everything pgp.xvm.mit.edu does or does not do is publicly logged at http://pgp.xvm.mit.edu:8000/, allowing everyone to verify that we adhere to this policy. If you wish to do so, sipb-pgpsign-server.go should be suitable for this purpose if modified to not send emails to people.

Installation

You will need the standard distribution of the go programming language (golang). Install the relevant package from your package manager and then do the following:

mkdir ~/go
export GOPATH=~/go
go get code.google.com/p/gopass code.google.com/p/go.crypto/openpgp

Usage

go run sipb-pgpsign-client.go

Some keys cannot be submitted to sipb using that method. If the server fails to parse your key, copy the certificate the previous command produced to file cert.pem and run ( cat cert.pem; gpg --export --armor $KEYID ) | nc pgp.xvm.mit.edu 7564.

License

GPLv3+, but not religious about it. If you'd like to use this code in an open source project, contact me.

sipb-pgpsign's People

Stargazers

Casey Marshall avatar

Watchers

James Cloos avatar Andres Erbsen 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.