No description, website, or topics provided.
Python Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docker
ssl
tests
.gitignore
MANIFEST.in
README.md
csrtool.py
gpg.sh
myssl.cnf
myssl.diff
setup.py
ssl.sh
test.mar
tox.ini

README.md

docker-signing-server

An attempt to create a dep signing server container for testing/development (currently gpg only)

The gpg key is throwaway; don't depend on it anywhere :)

Usage:

# Generate ssl certs
./ssl.sh
# build docker image and run interactively.
docker build -t signingserver docker/. && docker run -i -p 9110:9110 signingserver bash -il
# in the docker shell, launch the signing server.  This will exit quickly, after
# running the signing server in the background.
./run.sh
# In the docker terminal, you can tail signing.log to debug

# In a separate terminal, figure out how to set `my_ip`:
docker network inspect bridge
# You probably want to set `my_ip` to the subnet, but .1, e.g. 172.17.0.1
# you should be able to sign against this server using 127.0.0.1:9110
# see github.com/escapewindow/signingscript

# if you want to verify the signature,
./gpg.sh --verify SIGNED_FILE