Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Role is broken by new RVM GPG Key validation #14

Closed
gmontard opened this issue Oct 29, 2014 · 2 comments
Closed

Role is broken by new RVM GPG Key validation #14

gmontard opened this issue Oct 29, 2014 · 2 comments

Comments

@gmontard
Copy link

Hello,

RVM updated its install process by adding a GPG Key.
This does break the ansible role.

Here is the error:

failed: [default] => {"changed": false, "cmd": "/home/vagrant/.rvm/bin/rvm get stable && /home/vagrant/.rvm/bin/rvm reload", "delta": "0:00:55.607358", "end": "2014-10-29 10:15:04.945408", "rc": 1, "start": "2014-10-29 10:14:09.338050"}
stderr: gpg: directory `/home/vagrant/.gnupg' created
gpg: new configuration file `/home/vagrant/.gnupg/gpg.conf' created
gpg: WARNING: options in `/home/vagrant/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/home/vagrant/.gnupg/pubring.gpg' created
gpg: Signature made Wed 29 Oct 2014 12:14:56 AM UTC using RSA key ID BF04FF17
gpg: Can't check signature: public key not found
Could not update RVM, get some help at #rvm IRC channel at freenode servers.
stdout: Downloading https://get.rvm.io
Downloading https://github.com/wayneeseguin/rvm/archive/1.25.34.tar.gz
Downloading https://github.com/wayneeseguin/rvm/releases/download/1.25.34/1.25.34.tar.gz.asc

ERROR: GPG signature verification failed for '/home/vagrant/.rvm/archives/rvm-1.25.34.tgz' - 'https://github.com/wayneeseguin/rvm/releases/download/1.25.34/1.25.34.tar.gz.asc'!
try downloading the signatures:

    gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3 BF04FF17

they can be compared with:

    https://rvm.io/mpapis.asc
    https://keybase.io/mpapis

FATAL: all hosts have already failed -- aborting

In order to make it work again it will be perfect if you could add this command before executing the role:

gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3 BF04FF17

Thank you.

@mpapis
Copy link
Member

mpapis commented Oct 29, 2014

@nickjj - confirmed, new stable will do secure by default :)

hasanen added a commit to hasanen/rvm1-ansible that referenced this issue Oct 29, 2014
@nickjj nickjj closed this as completed in 9928a16 Oct 29, 2014
nickjj added a commit that referenced this issue Oct 29, 2014
Added task for GPG key imports. Fixes #14.
@nickjj
Copy link
Contributor

nickjj commented Oct 29, 2014

Thanks for the report @gmontard, it's been fixed in v.1.3.1 which is on the Galaxy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants