Commit graph

16 commits

Author SHA1 Message Date
Jess Frazelle 5f1abe4779
cleanup
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-06-11 13:33:09 -04:00
Jess Frazelle 294bae7b50
fix token
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-06-06 15:47:08 -04:00
Jess Frazelle 53b01f037f
cleanup filtered layers
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-06-06 13:34:09 -04:00
Jess Frazelle 98a949d93e
Merge branch 'pr-41'
* pr-41:
  Add Support for Registry V2 Manifest Format in Clair module
2018-06-06 13:22:18 -04:00
Knut Ahlers f7bf33b7a6 Re-visit basic auth protected registry (#53)
Using a registry having basic auth enabled the authentication was not
submitted to Clair. This newly introduced error fixes the missing auth
but needs testing with non-basic auth protected registries.

Also maybe the test for the "malformed auth..." string can now be
removed as it does not trigger on registries with basic auth enabled?

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-06-06 12:38:23 -04:00
Jess Frazelle 1c31bc4260
move repo from jessfraz to genuinetools and update paths
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-03-11 11:48:04 -04:00
Jess Frazelle 0cb8777fb1
lint and cleanup
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-03-06 09:19:55 -05:00
Jess Frazelle a3b459b1a5
refactor client
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-03-06 09:12:29 -05:00
Jess Frazelle ac2e616697
fix fmt
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-02-18 11:30:38 -05:00
Paweł Prażak f29941a2ba add more debugging information (#65)
- makes debugging configuration issues easier by adding more context
  instead of misleading "missing signature key" and similar
2018-02-18 11:17:29 -05:00
Paweł Prażak 706e96ba44 clair/vulns: use basic auth whe token is empty (#64)
- solves issue with Clair/AWS ECR combo
2018-02-18 11:16:24 -05:00
Petter Hassberg 2039eea38b Fix auth with clair on 'Basic realm="Registry"' (#45)
If error is malformed auth challenge header: 'Basic realm="Registry"', then also try basic auth.
2017-10-20 07:55:30 -04:00
Eric Muellenbach 4f0355fcf7 Add Support for Registry V2 Manifest Format in Clair module 2017-08-14 12:34:56 +02:00
Jess Frazelle c1412f3d53
fix basic auth with clair
closes #27

Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-06-19 11:14:59 -04:00
Stefan Majer 616d466f64 Satisfy golint 2017-04-07 19:26:53 +02:00
Stefan Majer fd7fe220e0 First draft of a dynamic frontend, display of vulnerabilities is still not implemented. 2017-04-06 12:41:43 +02:00