Commit Graph

109 Commits

Author SHA1 Message Date
baude 950085430b Add registries.conf file and build library to parse it
registries.conf is a system-wide configuration file initially
developed in https://github.com/projectatomic/registries.  We
eventually want to ship the configuration file with this project;
hence the addition.  However, we also needed a library like
approach that gave this and other projects the ability to
parse the file in the same manner.

Signed-off-by: baude <bbaude@redhat.com>
2017-08-29 12:24:09 -05:00
Miloslav Trmač ffcd0be048 Add a JSON schema for the JSON data embedded in a signature
Note that this is NOT a replacement for the atomic-signature.md documentation.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2017-05-10 15:25:22 +02:00
Miloslav Trmač 8a5d2f82a6 Add documentation for the atomic signature format
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2017-05-10 14:57:38 +02:00
Miloslav Trmač ab49b0a484 Add documentation for signature access protocols
This is primarily the only documentation of the sigstore layout;
in addition it comments on the OpenShift API master REST API and the
OpenShift docker/distribution API extension.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2017-04-03 23:15:59 +02:00
Miloslav Trmač 322058e563 Add signedIdentity type:matchRepoDigestOrExact, make it the default
This is the new default: tag references require a signature with a
matching repo:tag, digest references require a signature with a matching
repo (and any tag [or digest]), with the digest itself still being
validated in image.UnparsedImage, independently of signature processing.

Users can still opt into strict checking by specifying matchExact
in signedIdentity.

Also update most tests to use matchExactOrSignedDigest, to match
the default.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2016-11-08 15:04:53 +01:00
Aaron Weitekamp 20ba448863 Support man page formatting
Signed-off-by: Aaron Weitekamp <aweiteka@redhat.com>
2016-10-14 09:26:28 -04:00
Miloslav Trmač dd0bf87c52 Add documentation for the signature verification policy files
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2016-10-11 19:06:28 +02:00
Miloslav Trmač d3a6b77882 Rename sigstore-write to sigstore-staging
This makes it much clearer how that URL is supposed to be used.

(And it could also clear the way to, in the future, have a write server.
Perhaps.)

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2016-09-15 21:26:53 +02:00
Miloslav Trmač aaedc64236 Implement lookaside storage for signatures for Docker registries
Allows configuring "sigstore" (for RW) and "sigstore-write" (write-only)
for images/repositories/namespaces/registries in
/etc/containers/repositories.d/*.yaml .

If configured, uses them to store signatures in the docker: transport.

Also includes documentation in docs/registries.d.md.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2016-09-12 17:51:26 +02:00