Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
| ... | ... |
@@ -55,6 +55,7 @@ func (s *TagStore) verifyManifest(eng *engine.Engine, manifestBytes []byte) (*re |
| 55 | 55 |
|
| 56 | 56 |
job.Args = append(job.Args, namespace) |
| 57 | 57 |
job.Setenv("PublicKey", string(b))
|
| 58 |
+ // Check key has read/write permission (0x03) |
|
| 58 | 59 |
job.SetenvInt("Permission", 0x03)
|
| 59 | 60 |
job.Stdout.Add(stdoutBuffer) |
| 60 | 61 |
if err = job.Run(); err != nil {
|
| ... | ... |
@@ -124,6 +124,6 @@ func (e Endpoint) Ping() (RegistryInfo, error) {
|
| 124 | 124 |
// there is a header set, and it is not "true" or "1", so assume fails |
| 125 | 125 |
info.Standalone = false |
| 126 | 126 |
} |
| 127 |
- log.Debugf("RegistryInfo.Standalone: %q", info.Standalone)
|
|
| 127 |
+ log.Debugf("RegistryInfo.Standalone: %t", info.Standalone)
|
|
| 128 | 128 |
return info, nil |
| 129 | 129 |
} |