Fix incorrect API URL for project key

The correct URL is <tenant>/key/<project>.pub.

8414e65e08/zuul/web/__init__.py (L466)

Change-Id: I9f9f0569b73dae0eba5d6d8fdc3e492f98ca6e94
This commit is contained in:
Logan V 2018-07-04 00:12:19 -05:00
parent 8414e65e08
commit ca4e01c3a8
1 changed files with 3 additions and 2 deletions

View File

@ -15,8 +15,9 @@ Each project in Zuul has its own automatically generated RSA keypair
which can be used by anyone to encrypt a secret and only Zuul is able
to decrypt it. Zuul serves each project's public key using its
build-in webserver. They can be fetched at the path
``/<tenant>/<project>.pub`` where ``<project>`` is the canonical name
of a project and ``<tenant>`` is the name of a tenant with that project.
``/api/tenant/<tenant>/key/<project>.pub`` where ``<project>`` is the
canonical name of a project and ``<tenant>`` is the name of a tenant
with that project.
Zuul currently supports one encryption scheme, PKCS#1 with OAEP, which
can not store secrets longer than the 3760 bits (derived from the key