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

YArn Add GPG FILED #7510

Open
yanyanruhyana opened this issue Sep 1, 2019 · 2 comments · May be fixed by ArielHaruv/yarn#308, ArielHaruv/yarn#309, jamiecool/yarn#462, ArielHaruv/yarn#310 or jamiecool/yarn#464
Open

Comments

@yanyanruhyana
Copy link

yanyanruhyana commented Sep 1, 2019

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -

curl: (60) SSL certificate problem: certificate is not yet valid
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
gpg: no valid OpenPGP data found.

@0xRichardH
Copy link

@yanyanruhyana Have you resolved yet? What was your solution to this issue?

@0xRichardH
Copy link

I'm using the commands below to install yarn by bypassing the GPG FILED issue. It works but is not the direct solution to RESOlVE gpg: no valid OpenPGP data found.

Please let me know if anyone has a solution to resolve gpg: no valid OpenPGP data found 🙏.

npm install --global yarn
yarn set version $YARN_VERSION

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