使用Podman 签名和分发容器镜像并推送到harbor仓库中
准备一台配置了harbor的服务机
准备另一台安装了podman的客服机
创建一个GPG密钥对或选择一个本地可用的密钥对,要生成新的GPG密钥
[root@slave1 ~]# gpg --full-gen-key
gpg (GnuPG) 2.2.20; Copyright (C) 2020 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Please select what kind of key you want:
(1) RSA and RSA (default)
(2) DSA and Elgamal
(3) DSA (sign only)
(4) RSA (sign only)
(14) Existing key from card
Your selection?
RSA keys may be between 1024 and 4096 bits long.
What keysize do