当前位置:   article > 正文

iOS-安装rvm出现公钥问题_in case of further problems with validation please

in case of further problems with validation please refer to

安装rvm首先要执行:
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
命令执行如下:
gpg: 已创建目录‘/home/tigergm/.gnupg’
gpg: 新的配置文件‘/home/tigergm/.gnupg/gpg.conf’已建立
gpg: 警告:在‘/home/tigergm/.gnupg/gpg.conf’里的选项于此次运行期间未被使用
gpg: 钥匙环‘/home/tigergm/.gnupg/secring.gpg’已建立
gpg: 钥匙环‘/home/tigergm/.gnupg/pubring.gpg’已建立
gpg: 下载密钥‘D39DC0E3’,从 hkp 服务器 keys.gnupg.net

gpg: /home/tigergm/.gnupg/trustdb.gpg:建立了信任度数据库
gpg: 密钥 D39DC0E3:公钥“Michal Papis (RVM signing) mpapis@gmail.com”已导入
gpg: 没有找到任何绝对信任的密钥
gpg: 合计被处理的数量:1
gpg: 已导入:1 (RSA: 1)

再执行curl命令:
curl -sSL https://get.rvm.io | bash -s stable
会出现如下公钥缺失问题:
Downloading https://github.com/rvm/rvm/archive/1.29.7.tar.gz
Downloading https://github.com/rvm/rvm/releases/download/1.29.7/1.29.7.tar.gz.asc
gpg: 于 2019年01月04日 星期五 06时01分48秒 CST 创建的签名,使用 RSA,钥匙号 39499BDB
gpg: 无法检查签名:没有公钥
GPG signature verification failed for ‘/home/tigergm/.rvm/archives/rvm-1.29.7.tgz’ - ‘https://github.com/rvm/rvm/releases/download/1.29.7/1.29.7.tar.gz.asc’! Try to install GPG v2 and then fetch the public key:

**gpg2 --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB**
1
or if it fails:

command curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
command curl -sSL https://rvm.io/pkuczynski.asc | gpg2 --import -
1
2
In case of further problems with validation please refer to https://rvm.io/rvm/security

根据提示,预先执行:
gpg2 --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
就能解决这个问题。
以前没有出现此类问题,在此备忘。
--------------------- 
作者:tigergm310 
来源:CSDN 
原文:https://blog.csdn.net/u013381271/article/details/86675989 
版权声明:本文为博主原创文章,转载请附上博文链接!

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小小林熬夜学编程/article/detail/481725
推荐阅读
相关标签
  

闽ICP备14008679号