1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/graph
Derek McGowan ed13c3abfb Use notary library for trusted image fetch and signing
Add a trusted flag to force the cli to resolve a tag into a digest via the notary trust library and pull by digest.
On push the flag the trust flag will indicate the digest and size of a manifest should be signed and push to a notary server.
If a tag is given, the cli will resolve the tag into a digest and pull by digest.
After pulling, if a tag is given the cli makes a request to tag the image.

Use certificate directory for notary requests

Read certificates using same logic used by daemon for registry requests.

Catch JSON syntax errors from Notary client

When an uncaught error occurs in Notary it may show up in Docker as a JSON syntax error, causing a confusing error message to the user.
Provide a generic error when a JSON syntax error occurs.

Catch expiration errors and wrap in additional context.

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2015-07-24 14:08:20 -07:00
..
tags Check if a tag name to load is a valid digest. 2015-07-16 10:53:56 -07:00
export.go Windows: graph\export.go filepath fixes 2015-05-04 14:56:23 -07:00
graph.go graph: isolate the (dis)assembly logic 2015-07-22 11:36:15 -04:00
graph_test.go Fixing Image struct to no longer use Graph. 2015-07-20 13:59:53 -07:00
graph_unix.go graph: isolate the (dis)assembly logic 2015-07-22 11:36:15 -04:00
graph_windows.go graph: isolate the (dis)assembly logic 2015-07-22 11:36:15 -04:00
history.go Fixing Image struct to no longer use Graph. 2015-07-20 13:59:53 -07:00
import.go Refactor pkg/stremformatter with custom constructors instead of passing a boolean 2015-05-13 00:09:41 +02:00
list.go Fixing Image struct to no longer use Graph. 2015-07-20 13:59:53 -07:00
load.go Fixing Image struct to no longer use Graph. 2015-07-20 13:59:53 -07:00
load_unsupported.go Windows: Build load.go 2015-05-12 14:26:57 -07:00
mutex.go Attempt to protect on disk image store with mutex 2015-06-25 20:16:37 -07:00
pools_test.go don't call reexec.Init from chrootarchive 2014-11-25 01:03:40 +02:00
pull.go Update graph to use vendored distribution client for the v2 codepath 2015-07-16 13:13:47 -04:00
pull_v1.go Improve documentation and golint compliance of registry package 2015-07-24 11:55:07 -07:00
pull_v2.go Use notary library for trusted image fetch and signing 2015-07-24 14:08:20 -07:00
push.go Avoid redundant HEAD requests for identical layers on push 2015-07-22 17:54:20 -07:00
push_v1.go Improve documentation and golint compliance of registry package 2015-07-24 11:55:07 -07:00
push_v2.go Use notary library for trusted image fetch and signing 2015-07-24 14:08:20 -07:00
registry.go Use notary library for trusted image fetch and signing 2015-07-24 14:08:20 -07:00
service.go Windows: Graph driver implementation 2015-07-10 14:33:11 -07:00
tags.go Fixing Image struct to no longer use Graph. 2015-07-20 13:59:53 -07:00
tags_unit_test.go Fixing Image struct to no longer use Graph. 2015-07-20 13:59:53 -07:00