The odd thing is that with gpg2 (2.0.26) instead of gpg (that used to work) it doesnt work either. But it does work on my mac too. Something weird happened on the last update of that file.
root@b995c5e7ca30:/opt# md5sum KEYS2 62761640ea044fba900230f8dddb05cc KEYS2 root@b995c5e7ca30:/opt# curl http://apache.org/dist/activemq/KEYS -o KEYS2 && gpg2 --import KEYS2 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 77176 100 77176 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k gpg: key F5BA7E4F: "Hiram Chirino <[email protected]>" not changed gpg: key A2F9E313: "David Jencks (CODE SIGNING KEY) <[email protected]>" not changed gpg: key 56F3E01B: "David Jencks (geronimo) <[email protected]>" not changed gpg: key 456DFEA9: "David M. Johnson (Dave Johnson) <[email protected]>" not changed gpg: key 17AA5B25: "David Johnson <[email protected]>" not changed gpg: key 69CC103E: "Gary Tully (key for apache releases) < [email protected]>" not changed gpg: key 2C983957: "Bruce Snyder <[email protected]>" not changed gpg: key 6852C7DA: "Dejan Bosanac <[email protected]>" not changed gpg: key BACB8793: "Dejan Bosanac <[email protected]>" not changed gpg: key 6A70C608: "Hadrian Zbarcea <[email protected]>" not changed gpg: key 2B1A9558: "Claus Ibsen <[email protected]>" not changed gpg: key BB8FA6E3: "Arthur Naseef (4K Personal Key for Arthur Naseef created January 2015) <[email protected]>" not changed gpg: key CDA7ADF1: "Martyn Taylor <[email protected]>" not changed gpg: [don't know]: invalid packet (ctb=36) gpg: read_block: read error: Invalid packet gpg: import from `KEYS2' failed: Invalid keyring gpg: Total number processed: 13 gpg: unchanged: 13 root@b995c5e7ca30:/opt# gpg2 --version gpg (GnuPG) *2.0.26* libgcrypt 1.6.3 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://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: ~/.gnupg Supported algorithms: Pubkey: RSA, RSA, RSA, ELG, DSA Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128, CAMELLIA192, CAMELLIA256 Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224 Compression: Uncompressed, ZIP, ZLIB, BZIP2 root@b995c5e7ca30:/opt# 2015-11-18 4:28 GMT-08:00 Christopher Shannon < [email protected]>: > I just tested this and it works fine for me using gpg version 2.0.14 in > CentOS. > > On Tue, Nov 17, 2015 at 11:08 PM, Victor Romero <[email protected]> > wrote: > > > I can't import the file http://apache.org/dist/activemq/KEYS in linux > (see > > below). This used to be fine I know because this fails from the build of > a > > DockerImage that used to work perfectly fine. > > > > Do any of you have similar problems? You can try with the command: > > > > wget -q http://apache.org/dist/activemq/KEYS && gpg --import KEYS > > > > > > > > root@b995c5e7ca30:/opt# *wget -q http://apache.org/dist/activemq/KEYS > > <http://apache.org/dist/activemq/KEYS> && gpg --import KEYS* > > gpg: key F5BA7E4F: "Hiram Chirino <[email protected]>" not changed > > gpg: key A2F9E313: "David Jencks (CODE SIGNING KEY) <[email protected] > >" > > not changed > > gpg: key 56F3E01B: "David Jencks (geronimo) <[email protected]>" > not > > changed > > gpg: key 456DFEA9: "David M. Johnson (Dave Johnson) < > [email protected] > > >" > > not changed > > gpg: key 17AA5B25: "David Johnson <[email protected]>" not changed > > gpg: key 69CC103E: "Gary Tully (key for apache releases) < > > [email protected]>" not changed > > gpg: key 2C983957: "Bruce Snyder <[email protected]>" not changed > > gpg: key 6852C7DA: "Dejan Bosanac <[email protected]>" not changed > > gpg: key BACB8793: "Dejan Bosanac <[email protected]>" not changed > > gpg: key 6A70C608: "Hadrian Zbarcea <[email protected]>" not changed > > gpg: key 2B1A9558: "Claus Ibsen <[email protected]>" not changed > > gpg: key BB8FA6E3: "Arthur Naseef (4K Personal Key for Arthur Naseef > > created January 2015) <[email protected]>" not changed > > gpg: key CDA7ADF1: "Martyn Taylor <[email protected]>" not changed > > gpg: [don't know]: invalid packet (ctb=36) > > gpg: read_block: read error: invalid packet > > gpg: import from `KEYS' failed: invalid keyring > > gpg: Total number processed: 13 > > gpg: unchanged: 13 > > > > root@b995c5e7ca30:/opt# *gpg --version* > > gpg (GnuPG) 1.4.18 > > Copyright (C) 2014 Free Software Foundation, Inc. > > License GPLv3+: GNU GPL version 3 or later < > > http://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: ~/.gnupg > > Supported algorithms: > > Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA > > Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, > > CAMELLIA128, CAMELLIA192, CAMELLIA256 > > Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224 > > Compression: Uncompressed, ZIP, ZLIB, BZIP2 > > root@b995c5e7ca30:/opt# > > >
