summaryrefslogtreecommitdiff
path: root/cmd/podman/sign.go
Commit message (Collapse)AuthorAge
* Migrate to cobra CLIbaude2019-02-08
| | | | | | | | We intend to migrate to the cobra cli from urfave/cli because the project is more well maintained. There are also some technical reasons as well which extend into our remote client work. Signed-off-by: baude <bbaude@redhat.com>
* Changes to container runlabel for toolbox projectbaude2019-01-30
| | | | | | | | | | The toolbox project would benefit from a few changes to more closely resembe the original atomic cli project. Changes made are: * only pull image for container runlabel if the label exists in the image * if a container image does not have the desired label, exit with non-zero Signed-off-by: baude <bbaude@redhat.com>
* fix up sigstore pathQi Wang2019-01-10
| | | | Signed-off-by: Qi Wang <qiwan@redhat.com>
* sign: make all error messages lowercaseGiuseppe Scrivano2019-01-10
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* sign: use filepath.Join instead of fmt.SprintfGiuseppe Scrivano2019-01-10
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* libpod/image: Use ParseNormalizedNamed in RepoDigestsW. Trevor King2019-01-09
| | | | | | | | | | | | | | | | Avoid generating quay.io/openshift-release-dev/ocp-release@sha256@sha256:239... and similar when the image name is already digest-based [1]. It's not clear exactly how we get into this state, but as shown by the unit tests, the new code handles this case correctly (while the previous code does not). [1]: https://github.com/containers/libpod/issues/2086 Signed-off-by: W. Trevor King <wking@tremily.us> Closes: #2106 Approved by: rhatdan
* [WIP]Support podman image signQi Wang2019-01-08
Generate a signature claim for an image using user keyring (--sign-by). The signature file will be stored in simple json format under the default or the given directory (--directory or yaml file in /etc/containers/registries.d/). Signed-off-by: Qi Wang <qiwan@redhat.com>