• perl-nocem and GPG version (was: Autorisation de faire des crosspost su

    From Ray Banana@21:1/5 to All on Wed Oct 4 03:14:17 2023
    XPost: fr.usenet.abus.d

    * Ivo Gandolfo wrote:
    On 03/10/2023 19:59, llp wrote:

    Yes, it's a configuration problem on your server.

    If you have both gpg1 and gpg2 on your server, please check your

    INN/Config.pm

    and make sure it has the correct versions of gpg and gpgv:

    our $gpgv = '/usr/bin/gpgv';
    our $gpg = '/usr/bin/gpg';
    our $perl = '/usr/bin/perl';
    our $pgp = '';

    I checked that the GnuPG libraries are all installed, and they are, so
    I assume it's a perl-nocem bug. Tomorrow I will write to Julien Elie
    and ask for clarification.

    crossposted and follow-up set to news.software.nntp
    - if Miakinen allows this kind of crossposting, that is ;-)


    --
    Пу́тін — хуйло́
    http://www.eternal-september.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ivo Gandolfo@21:1/5 to Ray Banana on Wed Oct 4 09:12:27 2023
    On 04/10/2023 05:14, Ray Banana wrote:
    and make sure it has the correct versions of gpg and gpgv:

    our $gpgv = '/usr/bin/gpgv';
    our $gpg = '/usr/bin/gpg2';

    Just checked, /usr/bin/gpg2 it's a symlink point to /usr/bin/gpg.

    root@paganini:~# /usr/bin/gpg --version
    gpg (GnuPG) 2.2.27
    libgcrypt 1.9.4
    Copyright (C) 2021 Free Software Foundation, Inc.
    License GNU GPL-3.0-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: /root/.gnupg
    Supported algorithms:
    Pubkey: RSA, ELG, DSA, ECDH
    Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
    CAMELLIA128, CAMELLIA192, CAMELLIA256
    Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
    Compression: Uncompressed, ZIP, ZLIB, BZIP2


    Seem's a problem of gpg, but I don't understand why.


    Sincerely

    --
    Ivo Gandolfo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ivo Gandolfo@21:1/5 to llp on Wed Oct 4 09:36:12 2023
    On 04/10/2023 09:25, llp wrote:
    Seem's a problem of gpg, but I don't understand why.

    Perhaps the difference in PubKey supported algorithms ?


    And this is precisely the strange thing, given that the libgcrypt
    library is the same.


    Sincerely

    --
    Ivo Gandolfo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From llp@21:1/5 to All on Wed Oct 4 09:25:31 2023
    Ivo Gandolfo <usenet@bofh.team> composa la prose suivante:

    On 04/10/2023 05:14, Ray Banana wrote:
    and make sure it has the correct versions of gpg and gpgv:

    our $gpgv = '/usr/bin/gpgv';
    our $gpg = '/usr/bin/gpg2';

    Just checked, /usr/bin/gpg2 it's a symlink point to /usr/bin/gpg.

    root@paganini:~# /usr/bin/gpg --version
    gpg (GnuPG) 2.2.27
    libgcrypt 1.9.4
    Copyright (C) 2021 Free Software Foundation, Inc.
    License GNU GPL-3.0-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: /root/.gnupg
    Supported algorithms:
    Pubkey: RSA, ELG, DSA, ECDH
    Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
    CAMELLIA128, CAMELLIA192, CAMELLIA256
    Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
    Compression: Uncompressed, ZIP, ZLIB, BZIP2


    Seem's a problem of gpg, but I don't understand why.

    Perhaps the difference in PubKey supported algorithms ?

    My version:
    root@maisonbase:~# /usr/bin/gpg --version
    gpg (GnuPG) 2.2.27
    libgcrypt 1.9.4
    Copyright (C) 2021 Free Software Foundation, Inc.
    License GNU GPL-3.0-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: /root/.gnupg
    Algorithmes pris en charge :
    Clef publique : RSA, ELG, DSA, ECDH, ECDSA, EDDSA
    Chiffrement : IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256,
    TWOFISH, CAMELLIA128, CAMELLIA192, CAMELLIA256
    Hachage : SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
    Compression : Non compressé, ZIP, ZLIB, BZIP2


    --
    Liste de serveurs offrant un accès gratuit à la hiérarchie FR.* http://usenet.ovh/?article=faq_serveur_gratuit

    Recherche d'article Usenet
    http://usenet.ovh/?article=ual

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ray Banana@21:1/5 to All on Wed Oct 4 08:09:47 2023
    * Ivo Gandolfo wrote:
    On 04/10/2023 09:25, llp wrote:
    Seem's a problem of gpg, but I don't understand why.

    Perhaps the difference in PubKey supported algorithms ?


    And this is precisely the strange thing, given that the libgcrypt
    library is the same.

    This is a configure option in gpg:

    --disable-gpg-rsa disable the RSA public key algorithm in gpg
    --disable-gpg-ecdh disable the ECDH public key algorithm in gpg
    --disable-gpg-ecdsa disable the ECDSA public key algorithm in gpg
    --disable-gpg-eddsa disable the EdDSA public key algorithm in gpg

    Your version of gpg seems to have been built with some of these options.

    What is your operating system and distribution?

    --
    Пу́тін — хуйло́
    http://www.eternal-september.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ivo Gandolfo@21:1/5 to Ray Banana on Wed Oct 4 14:09:31 2023
    On 04/10/2023 10:09, Ray Banana wrote:
    This is a configure option in gpg:

    --disable-gpg-rsa disable the RSA public key algorithm in gpg
    --disable-gpg-ecdh disable the ECDH public key algorithm in gpg
    --disable-gpg-ecdsa disable the ECDSA public key algorithm in gpg
    --disable-gpg-eddsa disable the EdDSA public key algorithm in gpg

    Your version of gpg seems to have been built with some of these options.

    What is your operating system and distribution?


    root@paganini:~# lsb_release -acd
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 22.04.3 LTS
    Release: 22.04
    Codename: jammy

    gpg installed with apt, no change or customized packet.


    Sincerely

    --
    Ivo Gandolfo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ray Banana@21:1/5 to All on Wed Oct 4 14:27:29 2023
    * Ivo Gandolfo wrote:

    root@paganini:~# lsb_release -acd
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 22.04.3 LTS
    Release: 22.04
    Codename: jammy

    gpg installed with apt, no change or customized packet.

    Unfortunately, I found no information about what public key algorithms
    are supported by the Debian/Ubuntu GnuPG packages, so you might want to download and build the sources from

    https://www.gnupg.org/download/

    Please refer to

    https://www.procustodibus.com/blog/2023/02/gpg-2-4-on-ubuntu-22-04/

    for detailed information.

    I just built gpg 2.2.27 and gpg 2.4.3 from source and they both handle
    EDDSA keys properly. Of course you will have to modify INN/Config.pm
    to use /usr/local/bin/gpg and /usr/local/bin/gpgv instead of the
    packages supplied by Ubuntu 22.04.

    HTH


    --
    Пу́тін — хуйло́
    http://www.eternal-september.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Russ Allbery@21:1/5 to Ivo Gandolfo on Wed Oct 4 08:49:00 2023
    Ivo Gandolfo <usenet@bofh.team> writes:

    root@paganini:~# /usr/bin/gpg --version
    gpg (GnuPG) 2.2.27
    libgcrypt 1.9.4
    Copyright (C) 2021 Free Software Foundation, Inc.
    License GNU GPL-3.0-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: /root/.gnupg
    Supported algorithms:
    Pubkey: RSA, ELG, DSA, ECDH
    Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
    CAMELLIA128, CAMELLIA192, CAMELLIA256
    Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
    Compression: Uncompressed, ZIP, ZLIB, BZIP2

    Seems to be something specific to Ubuntu, or perhaps the age of the
    package. Debian unstable supports it:

    gpg (GnuPG) 2.2.40
    libgcrypt 1.10.2
    Copyright (C) 2022 g10 Code GmbH
    License GNU GPL-3.0-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: /home/eagle/.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

    --
    Russ Allbery (eagle@eyrie.org) <https://www.eyrie.org/~eagle/>

    Please post questions rather than mailing me directly.
    <https://www.eyrie.org/~eagle/faqs/questions.html> explains why.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From llp@21:1/5 to All on Wed Oct 4 21:50:42 2023
    Il se trouve que Ivo Gandolfo a formul :
    On 04/10/2023 10:09, Ray Banana wrote:
    This is a configure option in gpg:

    --disable-gpg-rsa disable the RSA public key algorithm in gpg
    --disable-gpg-ecdh disable the ECDH public key algorithm in gpg
    --disable-gpg-ecdsa disable the ECDSA public key algorithm in gpg
    --disable-gpg-eddsa disable the EdDSA public key algorithm in gpg

    Your version of gpg seems to have been built with some of these options.

    What is your operating system and distribution?


    root@paganini:~# lsb_release -acd
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 22.04.3 LTS
    Release: 22.04
    Codename: jammy

    gpg installed with apt, no change or customized packet.


    Just like me.

    :~# lsb_release -acd
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 22.04.3 LTS
    Release: 22.04
    Codename: jammy


    I looked at my notes.
    The only config i did for perl-nocem was
    ln -s /usr/bin/gpg /usr/bin/gpg1
    But it was to correct the message:
    "nocem: cannot find the gpgv or gpg binary".

    Best regards

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ivo Gandolfo@21:1/5 to Russ Allbery on Thu Oct 5 09:43:32 2023
    On 04/10/2023 17:49, Russ Allbery wrote:

    Seems to be something specific to Ubuntu, or perhaps the age of the
    package. Debian unstable supports it:



    After several tests (and reinstallation of the package itself) I decided
    that a "clean" solution isn't enough, so I went with the "dirty"
    solution. I brutally grabbed the libgcrypt20 package from the lunar
    lobster 22.10 repository, and now the output is:

    root@paganini:~# /usr/bin/gpg --version
    gpg (GnuPG) 2.2.27
    libgcrypt 1.10.1
    Copyright (C) 2021 Free Software Foundation, Inc.
    License GNU GPL-3.0-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: /root/.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


    problem solved, have fun.

    Sincerely

    --
    Ivo Gandolfo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From llp@21:1/5 to All on Thu Oct 5 10:22:22 2023
    XPost: fr.usenet.abus.d

    Ivo Gandolfo a expos le 05/10/2023 :
    On 04/10/2023 17:49, Russ Allbery wrote:

    Seems to be something specific to Ubuntu, or perhaps the age of the
    package. Debian unstable supports it:



    After several tests (and reinstallation of the package itself) I decided that a "clean" solution isn't enough, so I went with the "dirty" solution. I brutally grabbed the libgcrypt20 package from the lunar lobster 22.10 repository, and now the output is:

    root@paganini:~# /usr/bin/gpg --version
    gpg (GnuPG) 2.2.27
    libgcrypt 1.10.1
    Copyright (C) 2021 Free Software Foundation, Inc.
    License GNU GPL-3.0-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: /root/.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


    problem solved, have fun.

    Sincerely

    Cool :-)

    Copie et retour sur fr.usenet.abus.d to inform french users.
    I think Eric will be disappointed :lol:

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eric M@21:1/5 to All on Thu Oct 5 09:50:20 2023
    Le 05/10/2023 à 09:43, Ivo Gandolfo a écrit :

    After several tests (and reinstallation of the package itself) I decided
    that a "clean" solution isn't enough, so I went with the "dirty"
    solution. I brutally grabbed the libgcrypt20 package from the lunar
    lobster 22.10 repository, and now the output is:

    Note that all the efforts are on you, never on him.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)