thank you for your reply!
This is the output of the first command
/var/www/.gnupg/pubring.gpg --------------------------- pub 2048R/08750EFE 2018-07-17 uid Marco Zanetti (Chissà a cosa serve) <email@example.com> sub 2048R/88638305 2018-07-17 pub 2048R/5335C8B5 2018-07-18 uid Company Testing (Company Testing key) <firstname.lastname@example.org> sub 2048R/F23A5957 2018-07-18
and this is the output of the second one
/var/www/.gnupg/secring.gpg --------------------------- sec 2048R/08750EFE 2018-07-17 uid Marco Zanetti (Chissà a cosa serve) <email@example.com> ssb 2048R/88638305 2018-07-17 sec 2048R/5335C8B5 2018-07-18 uid Company Testing (Company Testing key) <firstname.lastname@example.org> ssb 2048R/F23A5957 2018-07-18
I don’t really know what I should see. The only thing I can tell you is that the key generated with email@example.com was the first one I generated. Then, since I got errors, I created a new one with the firstname.lastname@example.org address. That does not work either.
the output of gpg --version is the following
gpg (GnuPG) 1.4.20 Copyright (C) 2015 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