Skip to content

abetterinternet/oidf-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oidf-box

Common pieces to implement acme-openid-federation in Pebble (issuer/server) and Lego (requestor/client). Also implements necessary bits and pieces of OpenID Federation.

Demo issuances

This project contains a few issuance demos represented as integration tests, defined in test/integration_test.go. These tests create small OpenID Federation federations which include an ACME CA and one or more ACME clients. All of these run in-process, but listen for HTTP messages on different TCP ports.

To run issuances, simply do go test ./... from the root of the project. Add -v if you want to see what's going on. To exercise new issuance scenarios, add new tests to test/integration_test.go.

Forked dependencies

To make all this work, we had to teach various open source components about the new OpenID Federation entity types and/or the new ACME challenge type.

The ACME CA is implemented by our fork of Pebble (upstream).

The ACME clients are implemented by our fork of Lego (upstream).

Besides implementing the extra features needed for the new challenge type, the forks' go.mod and go.sum files are modified to point to each other. If you want to hack on this, you'll likely want to edit the replace directives in each go.mod to point to your working copies.

This is tested on Linux and will probably work all right on anything Unix-y enough, or even Windows.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages