Π‘ΡΠ΅Π΄Π°:
macOS: 10.13.1
ΠΠ°ΠΊ Ρ ΡΡΡΠ°Π½ΠΎΠ²ΠΈΠ» gpg:
$ brew install gnupg gnupg2
ΠΠ΅ΡΡΠΈΡ GPG:
$ gpg --version
gpg (GnuPG) 2.2.3
libgcrypt 1.8.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Home: /Users/user/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
ΠΡΠΈΠ±ΠΊΠ°:
$ gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
gpg: keyserver receive failed: End of file
ΠΡΠΎΠ±ΠΎΠ²Π°Π» Ρ " hkp: //pgp.mit.edu ", ΡΠΎΠΆΠ΅ ΠΏΠΎΠ»ΡΡΠΈΠ» ΡΡ ΠΆΠ΅ ΠΎΡΠΈΠ±ΠΊΡ:
$ gpg --keyserver hkp://pgp.mit.edu --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
gpg: keyserver receive failed: End of file
Π― ΡΠ°ΠΊΠΆΠ΅ ΠΏΡΠΎΠ±ΠΎΠ²Π°Π»:
$ \curl -sSL https://get.rvm.io | bash -s stable
Downloading https://github.com/rvm/rvm/archive/1.29.3.tar.gz
Downloading https://github.com/rvm/rvm/releases/download/1.29.3/1.29.3.tar.gz.asc
gpg: Signature made Mon Sep 11 04:59:21 2017 CST
gpg: using RSA key E206C29FBF04FF17
gpg: Can't check signature: No public key
Warning, RVM 1.26.0 introduces signed releases and automated check of signatures when GPG software found. Assuming you trust Michal Papis import the mpapis public key (downloading the signatures).
GPG signature verification failed for '/Users/raniys/.rvm/archives/rvm-1.29.3.tgz' - 'https://github.com/rvm/rvm/releases/download/1.29.3/1.29.3.tar.gz.asc'! Try to install GPG v2 and then fetch the public key:
gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
or if it fails:
command curl -sSL https://rvm.io/mpapis.asc | gpg --import -
the key can be compared with:
https://rvm.io/mpapis.asc
https://keybase.io/mpapis
NOTE: GPG version 2.1.17 have a bug which cause failures during fetching keys from remote server. Please downgrade or upgrade to newer version (if available) or use the second method described above.
ΠΠΎ ΠΊΠΎΠ³Π΄Π° Ρ ΠΏΠΎΠΏΡΠΎΠ±ΠΎΠ²Π°Π» gpg2, Ρ ΠΏΠΎΠ»ΡΡΠΈΠ»:
$ gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
-bash: gpg2: command not found
Π½Π΅ ΡΠ²Π΅ΡΠ΅Π½, ΠΏΠΎΡΠ΅ΠΌΡ gpg2 Π½Π΅Π΄ΠΎΡΡΡΠΏΠ΅Π½, Π½ΠΎ gpg
ΡΠΊΠ°Π·ΡΠ²Π°Π΅Ρ Π½Π° V2 ( Π²Π΅ΡΠΎΡΡΠ½ΠΎ, Π±Π»Π°Π³ΠΎΠ΄Π°ΡΡ
ΠΏΠΎΠΆΠ°Π»ΡΠΉΡΡΠ°, ΠΏΠΎΠΏΡΠΎΠ±ΡΠΉ:
gpg --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
ΠΡΠΈΠ²Π΅Ρ @mpapis!
Π― ΠΏΠΎΠΏΡΡΠ°Π»ΡΡ Π·Π°ΠΏΡΡΡΠΈΡΡ ΡΠΊΠ°Π·Π°Π½Π½ΡΡ ΠΊΠΎΠΌΠ°Π½Π΄Ρ, Π½ΠΎ ΠΏΠΎΠ»ΡΡΠΈΠ» ΡΠΎΠΎΠ±ΡΠ΅Π½ΠΈΠ΅ ΠΎΠ± ΠΎΡΠΈΠ±ΠΊΠ΅:
$ gpg --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
gpg: keyserver receive failed: No route to host
Π£ΡΡΠ°Π½ΠΎΠ²ΠΈΠ» gpg2 ΡΠ΅ΡΠ΅Π· brew:
brew install gpg # this installs gpg2 version 2.2.10
Π― ΡΠ°ΠΊΠΆΠ΅ ΠΏΡΠΎΠ±ΠΎΠ²Π°Π» ΡΡΡΠ°Π½ΠΎΠ²ΠΈΡΡ Π±Π΅Π· ΠΏΡΠΎΠ²Π΅ΡΠΊΠΈ ΠΏΠΎΠ΄ΠΏΠΈΡΠΈ, Π½ΠΎ ΠΏΡΠΎΠ²Π΅ΡΠΊΠ° Π°Π²ΡΠΎΠΌΠ°ΡΠΈΠ·ΠΈΡΠΎΠ²Π°Π½Π°, ΡΠ°ΠΊ ΡΡΠΎ ΡΡΠΎ ΡΠΎΠΆΠ΅ Π½Π΅ ΡΠ΄Π°Π»ΠΎΡΡ:
\curl -sSL https://get.rvm.io | bash -s stable
Downloading https://github.com/rvm/rvm/archive/1.29.4.tar.gz
Downloading https://github.com/rvm/rvm/releases/download/1.29.4/1.29.4.tar.gz.asc
gpg: Signature made Sun Jul 1 21:41:26 2018 CEST
gpg: using RSA key 62C9E5F4DA300D94AC36166BE206C29FBF04FF17
gpg: Can't check signature: No public key
Warning, RVM 1.26.0 introduces signed releases and automated check of signatures when GPG software found. Assuming you trust Michal Papis import the mpapis public key (downloading the signatures).
GPG signature verification failed for '/Users/vfonic/.rvm/archives/rvm-1.29.4.tgz' - 'https://github.com/rvm/rvm/releases/download/1.29.4/1.29.4.tar.gz.asc'! Try to install GPG v2 and then fetch the public key:
gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
or if it fails:
command curl -sSL https://rvm.io/mpapis.asc | gpg --import -
the key can be compared with:
https://rvm.io/mpapis.asc
https://keybase.io/mpapis
NOTE: GPG version 2.1.17 have a bug which cause failures during fetching keys from remote server. Please downgrade or upgrade to newer version (if available) or use the second method described above.
(gpg2 - "ΠΊΠΎΠΌΠ°Π½Π΄Π° Π½Π΅ Π½Π°ΠΉΠ΄Π΅Π½Π°", ΠΊΠ°ΠΊ ΡΠΊΠ°Π·Π°Π½ΠΎ Π²ΡΡΠ΅)
ΠΡΠΎ, Π½Π°ΠΊΠΎΠ½Π΅Ρ, ΡΡΠ°Π±ΠΎΡΠ°Π»ΠΎ:
$ curl -sSL https://rvm.io/mpapis.asc | gpg --import -
gpg: key 3804BB82D39DC0E3: 47 signatures not checked due to missing keys
gpg: key 3804BB82D39DC0E3: public key "Michal Papis (RVM signing) <[email protected]>" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: public key of ultimately trusted key 76D78F0500D026C4 not found
gpg: public key of ultimately trusted key 00C18299FA3B13C4 not found
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 2 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 2u
$ \curl -sSL https://get.rvm.io | bash -s stable
ΠΠ°ΡΠ΅Π» Π² ΡΡΠΎΠΌ ΠΊΠΎΠΌΠΌΠ΅Π½ΡΠ°ΡΠΈΠΈ: https://github.com/rvm/rvm/issues/4215#issuecomment -345686194
Π Π²ΠΈΠ΄Π΅Π» ΡΡΠΎ ΡΠΎΠΆΠ΅ Π½Π° ΡΠ°ΠΉΡΠ΅: https://rvm.io/rvm/security
Π‘Π°ΠΌΡΠΉ ΠΏΠΎΠ»Π΅Π·Π½ΡΠΉ ΠΊΠΎΠΌΠΌΠ΅Π½ΡΠ°ΡΠΈΠΉ
ΠΡΠΎ, Π½Π°ΠΊΠΎΠ½Π΅Ρ, ΡΡΠ°Π±ΠΎΡΠ°Π»ΠΎ:
ΠΠ°ΡΠ΅Π» Π² ΡΡΠΎΠΌ ΠΊΠΎΠΌΠΌΠ΅Π½ΡΠ°ΡΠΈΠΈ: https://github.com/rvm/rvm/issues/4215#issuecomment -345686194
Π Π²ΠΈΠ΄Π΅Π» ΡΡΠΎ ΡΠΎΠΆΠ΅ Π½Π° ΡΠ°ΠΉΡΠ΅: https://rvm.io/rvm/security