{"id":"53003ea40693c1ae","repo":"docker/cli","slug":"no-signatures-or-cannot-access-s","errorCode":null,"errorMessage":"no signatures or cannot access %s","messagePattern":"no signatures or cannot access (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"cmd/docker-trust/trust/common.go","lineNumber":92,"sourceCode":"\t}\n\ttag := imgRefAndAuth.Tag()\n\tnotaryRepo, err := newNotaryClient(cli, imgRefAndAuth, trust.ActionsPullOnly)\n\tif err != nil {\n\t\treturn []trustTagRow{}, []client.RoleWithSignatures{}, []data.Role{}, trust.NotaryError(imgRefAndAuth.Reference().Name(), err)\n\t}\n\n\tif err = clearChangeList(notaryRepo); err != nil {\n\t\treturn []trustTagRow{}, []client.RoleWithSignatures{}, []data.Role{}, err\n\t}\n\tdefer clearChangeList(notaryRepo)\n\n\t// Retrieve all released signatures, match them, and pretty print them\n\tallSignedTargets, err := notaryRepo.GetAllTargetMetadataByName(tag)\n\tif err != nil {\n\t\tlogrus.Debug(trust.NotaryError(remote, err))\n\t\t// print an empty table if we don't have signed targets, but have an initialized notary repo\n\t\tif _, ok := err.(client.ErrNoSuchTarget); !ok {\n\t\t\treturn []trustTagRow{}, []client.RoleWithSignatures{}, []data.Role{}, fmt.Errorf(\"no signatures or cannot access %s\", remote)\n\t\t}\n\t}\n\tsignatureRows := matchReleasedSignatures(allSignedTargets)\n\n\t// get the administrative roles\n\tadminRolesWithSigs, err := notaryRepo.ListRoles()\n\tif err != nil {\n\t\treturn []trustTagRow{}, []client.RoleWithSignatures{}, []data.Role{}, fmt.Errorf(\"no signers for %s\", remote)\n\t}\n\n\t// get delegation roles with the canonical key IDs\n\tdelegationRoles, err := notaryRepo.GetDelegationRoles()\n\tif err != nil {\n\t\tlogrus.Debugf(\"no delegation roles found, or error fetching them for %s: %v\", remote, err)\n\t}\n\n\treturn signatureRows, adminRolesWithSigs, delegationRoles, nil\n}","sourceCodeStart":74,"sourceCodeEnd":110,"githubUrl":"https://github.com/docker/cli/blob/e9452d6e785f6e365712b9d71bd7517591773c86/cmd/docker-trust/trust/common.go#L74-L110","documentation":"Error \"no signatures or cannot access %s\" thrown in docker/cli.","triggerScenarios":"Thrown at cmd/docker-trust/trust/common.go:92 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"analyzedSha":"e9452d6e785f6e365712b9d71bd7517591773c86","analyzedAt":"2026-08-01T07:09:22.474Z","schemaVersion":2}