🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
12 messages
12 total messages Started by Ray Banana Wed, 04 Oct 2023 03:14
perl-nocem and GPG version (was: Autorisation de faire des crosspost sur deux forums)
#90825
Author: Ray Banana
Date: Wed, 04 Oct 2023 03:14
27 lines
2099 bytes
* 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
Re: perl-nocem and GPG version (was: Autorisation de faire des crosspost sur deux forums)
#90828
Author: Ivo Gandolfo
Date: Wed, 04 Oct 2023 07:12
34 lines
2626 bytes
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

Re: perl-nocem and GPG version (was: Autorisation de faire des crosspost sur deux forums)
#90829
Author: llp
Date: Wed, 04 Oct 2023 07:25
55 lines
3213 bytes
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
Re: perl-nocem and GPG version (was: Autorisation de faire des crosspost sur deux forums)
#90830
Author: Ivo Gandolfo
Date: Wed, 04 Oct 2023 07:36
14 lines
1906 bytes
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
Re: perl-nocem and GPG version (was: Autorisation de faire des crosspost sur deux forums)
#90832
Author: Ray Banana
Date: Wed, 04 Oct 2023 08:09
24 lines
2118 bytes
* 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
Re: perl-nocem and GPG version (was: Autorisation de faire des crosspost sur deux forums)
#90831
Author: Ivo Gandolfo
Date: Wed, 04 Oct 2023 12:09
27 lines
2486 bytes
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
Re: perl-nocem and GPG version (was: Autorisation de faire des crosspost sur deux forums)
#90833
Author: Ray Banana
Date: Wed, 04 Oct 2023 14:27
34 lines
2321 bytes
* 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
Re: perl-nocem and GPG version
#90836
Author: Russ Allbery
Date: Wed, 04 Oct 2023 15:49
41 lines
2839 bytes
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.
Re: perl-nocem and GPG version (was: Autorisation de faire des crosspost sur deux forums)
#90843
Author: llp
Date: Wed, 04 Oct 2023 19:50
41 lines
2734 bytes
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
Re: perl-nocem and GPG version
#90839
Author: Ivo Gandolfo
Date: Thu, 05 Oct 2023 07:43
35 lines
2739 bytes
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
Re: perl-nocem and GPG version
#90841
Author: llp
Date: Thu, 05 Oct 2023 08:22
38 lines
2882 bytes
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:
Re: perl-nocem and GPG version
#90842
Author: Eric M
Date: Thu, 05 Oct 2023 09:50
8 lines
2048 bytes
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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads