Commit graph

383 commits

Author SHA1 Message Date
Jess Frazelle
d959057b30
fix staticcheck
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2019-01-02 11:55:23 -05:00
Jess Frazelle
067711f90e
fix getting official registry manifest
closes #164

Signed-off-by: Jess Frazelle <acidburn@github.com>
2019-01-02 11:19:56 -05:00
Jessica Tracy
32589e90be Passing context (#163)
* passing context in layer calls

* more contexting

* clair folder and context in handlers

* fixed token transport to reuse request context

* tests

* taking out context pass in server handlers
2018-12-29 12:09:10 -05:00
toc-me[bot]
5635f17ffc Update ToC for README.md 2018-12-29 16:10:26 +00:00
Jess Frazelle
e4bfdb3734
toc
Signed-off-by: Jess Frazelle <acidburn@github.com>
2018-12-29 11:10:19 -05:00
Jess Frazelle
3f77609b96
switch to 11
Signed-off-by: Jess Frazelle <acidburn@github.com>
2018-12-28 22:28:30 -05:00
Jess Frazelle
e7be5585cc
update dev dockerfile
Signed-off-by: Jess Frazelle <acidburn@github.com>
2018-12-28 22:06:13 -05:00
Jess Frazelle
63a4646318
update travis
Signed-off-by: Jess Frazelle <acidburn@github.com>
2018-12-28 21:54:59 -05:00
Pirmin Tapken
56104f3f9b Fix token transport memory leak (#165)
* Test for TokenTransport proving memory leak

* Fix memory leak on wrong auth challenge header

* Add test for memory leak during authentication

The body of the first request must be closed before doing the request to
the authentication service

* Fix memory leak during authentication
2018-12-11 15:12:21 -05:00
Jess Frazelle
4a4d0e5d10
fix api;
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-11-14 10:18:18 -05:00
Jess Frazelle
45c0a0c5f9
Bump version to v0.16.0
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-11-14 10:09:54 -05:00
Jess Frazelle
3b848ce686
updates and fixes
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-11-14 10:09:47 -05:00
alexander zillion
db513b737e add --auth-url parameter (#90) (#105)
Signed-off-by: Alex Zillion <alex@alexzillion.com>
2018-11-14 10:06:30 -05:00
Julien
383e4f7d48 Add force-non-ssl to registry operations (#102) 2018-11-14 10:02:41 -05:00
Jamie
83c621c4a7 support 'access_token' for compatibility with OAuth 2.0 https://docs.docker.com/registry/spec/auth/token/#requesting-a-token (#124) 2018-11-14 10:01:36 -05:00
Darrian
478c4dadc6 confirm the requested schema version matches the returned (#148) 2018-11-14 09:51:57 -05:00
Matt Brown
cbabe28c68 handle AuthConfigs with empty ServerAddress (#160)
fixes #159
2018-11-14 09:49:49 -05:00
Darrian
3033420c34 method for closing of gRPC connection (#155) 2018-11-14 09:32:03 -05:00
Darrian
67d1af130d instead of using a bool to check for v2, just test the type of the response interface. fixes #132 (#156) 2018-10-29 08:32:59 -07:00
Mansour Rahimi
d6e3a0aa00 list: gracefully fail in case of invalid registry (#158)
If the given domain is not a valid registry and try to get the
repository list, it fails in unmarshalling and show the JSON syntax
error.

This will catch the error and show a better error message.

Fixes: #157
2018-10-29 08:27:22 -07:00
Darrian
23cd8e4025 Change the naming of the way Clair V3 reports are stored (#150)
* changed the naming of the way clair reports are stored

* revert changes to clair v2 method
2018-10-22 14:32:15 -07:00
alexander zillion
938012b555 Fix golint import path (#153) 2018-10-22 14:07:55 -07:00
Knut Ahlers
eb4e1cc686 Fix vuln scanning on GCR (#152)
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-10-17 00:53:20 -07:00
Jess Frazelle
1ea91e7493
fix vulns.json
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-10-04 14:41:48 -04:00
Jess Frazelle
780a52e149
fix vulns.json
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-10-04 14:41:40 -04:00
Jess Frazelle
7bca357605
fixup template
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-10-04 14:28:38 -04:00
Jess Frazelle
51215f9997
fixup template
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-10-04 14:20:41 -04:00
Jess Frazelle
4f449c580a
fixup template
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-10-04 14:18:28 -04:00
Jess Frazelle
b57209439c
cleanup vendor
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-25 11:35:16 -04:00
Jess Frazelle
7e55384ffa
cleanup vendor
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-25 11:32:39 -04:00
Jess Frazelle
d021aeb0b9
Bump version to v0.15.8
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-25 10:40:12 -04:00
Jess Frazelle
75eea3d0e8
update makefile
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-25 10:15:33 -04:00
Jess Frazelle
729aebcabb
update makefile
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-25 10:06:59 -04:00
Jess Frazelle
d8fc58386d
update makefile
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-25 09:33:37 -04:00
Jess Frazelle
a761fadc9a
Bump version to v0.15.7
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-24 23:03:24 -04:00
Jess Frazelle
7b1564a6a1
update
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-24 23:03:13 -04:00
Jess Frazelle
81851b276b
add shell
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-24 22:25:18 -04:00
Jess Frazelle
4217d621f3
update
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-24 21:26:49 -04:00
Jess Frazelle
691235af75
update static and staticAssetsHandler
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-17 15:33:45 -04:00
Jess Frazelle
0301f323b3
update to use generated files for assets
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-17 15:23:04 -04:00
Jess Frazelle
695602b303
start of generating assets
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-17 15:08:48 -04:00
Jess Frazelle
2e3c2122d7
cleanup
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-17 15:06:56 -04:00
Jess Frazelle
37fbf84694
Bump version to v0.15.6
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-17 13:40:53 -04:00
Jess Frazelle
89d3a230b9
cleanup
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-17 13:39:45 -04:00
Jess Frazelle
1b3e6ee4b5
cleanup
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-17 13:39:12 -04:00
Jess Frazelle
6b207b0cf9
fix v3 when grpcConn is nil
fixes #138

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-17 13:34:58 -04:00
Darrian
e13ca36072 Updated Clair and adjusted to fit (#140)
* conform to new clair API spec

* update clair dep

* don't think these flags are required anymore
2018-09-17 09:33:10 -04:00
Jess Frazelle
73fdd32040
remove manifest list from Manifest function
fixes #132

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-10 11:19:51 -04:00
Knut Ahlers
6aceb5ae40 Fix digest resolution for GCR (#135)
fixes #134

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-09-09 09:32:26 -04:00
Darrian
809456d47e Add report name to vuln report fixes #129 (#133) 2018-09-06 05:51:32 -07:00