[trojita] [Bug 447326] don't build with gpg2 2.3.3 (gpg: key generation failed: Unknown elliptic curve)

2022-02-15 Thread Jan Kundrát
https://bugs.kde.org/show_bug.cgi?id=447326

Jan Kundrát  changed:

   What|Removed |Added

 Resolution|LATER   |FIXED

--- Comment #8 from Jan Kundrát  ---
Fixed via https://invent.kde.org/pim/trojita/-/merge_requests/11

-- 
You are receiving this mail because:
You are watching all bug changes.

[trojita] [Bug 447326] don't build with gpg2 2.3.3 (gpg: key generation failed: Unknown elliptic curve)

2022-02-15 Thread Heiko Becker
https://bugs.kde.org/show_bug.cgi?id=447326

Heiko Becker  changed:

   What|Removed |Added

 CC||heiko.bec...@kde.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[trojita] [Bug 447326] don't build with gpg2 2.3.3 (gpg: key generation failed: Unknown elliptic curve)

2021-12-21 Thread Илья Индиго
https://bugs.kde.org/show_bug.cgi?id=447326

Илья Индиго  changed:

   What|Removed |Added

 Resolution|--- |LATER
 Status|REOPENED|RESOLVED

--- Comment #7 from Илья Индиго  ---
Thank you, now I understand the problem.
The problem is gpg, my patch solves it temporarily until they fix the upstream
gpg.

-- 
You are receiving this mail because:
You are watching all bug changes.

[trojita] [Bug 447326] don't build with gpg2 2.3.3 (gpg: key generation failed: Unknown elliptic curve)

2021-12-21 Thread Илья Индиго
https://bugs.kde.org/show_bug.cgi?id=447326

--- Comment #6 from Илья Индиго  ---
Created attachment 144759
  --> https://bugs.kde.org/attachment.cgi?id=144759=edit
gpg2-2.3.patch

https://build.opensuse.org/package/view_file/home:13ilya/trojita/gpg2-2.3.patch?expand=1
This patch fix build with gpg2- 2.3.3 and don't break build with gpg2-2.2.27.

-- 
You are receiving this mail because:
You are watching all bug changes.

[trojita] [Bug 447326] don't build with gpg2 2.3.3 (gpg: key generation failed: Unknown elliptic curve)

2021-12-21 Thread Thomas Lübking
https://bugs.kde.org/show_bug.cgi?id=447326

--- Comment #5 from Thomas Lübking  ---
The problem is in gpg, but tests/Cryptography/keygen.sh has indeed

LD_PRELOAD=./libfake-dev-random.so ${GPG} --batch --quiet --gen-key
${SRCDIR}/tests/Cryptography/batch-keygen

which will likely trigger that.

However it'll just create a new key pair w/ your local default settings and
your default settings conflict w/ the bug in gpg.
The script could select an algorithm (RSA) but that's a stupid workaround -
just assume the next gpg bug is that RSA fails…

-- 
You are receiving this mail because:
You are watching all bug changes.

[trojita] [Bug 447326] don't build with gpg2 2.3.3 (gpg: key generation failed: Unknown elliptic curve)

2021-12-21 Thread Илья Индиго
https://bugs.kde.org/show_bug.cgi?id=447326

--- Comment #4 from Илья Индиго  ---
(In reply to Thomas Lübking from comment #3)
> https://dev.gnupg.org/T5444 but afaiu that's the SuSE build system and
> nothing related to the built source (trojitá)?

Did I get it right, the problem is not in tests/Cryptography/keygen.sh but
somewhere in OBS?

-- 
You are receiving this mail because:
You are watching all bug changes.

[trojita] [Bug 447326] don't build with gpg2 2.3.3 (gpg: key generation failed: Unknown elliptic curve)

2021-12-21 Thread Thomas Lübking
https://bugs.kde.org/show_bug.cgi?id=447326

--- Comment #3 from Thomas Lübking  ---
https://dev.gnupg.org/T5444 but afaiu that's the SuSE build system and nothing
related to the built source (trojitá)?

-- 
You are receiving this mail because:
You are watching all bug changes.

[trojita] [Bug 447326] don't build with gpg2 2.3.3 (gpg: key generation failed: Unknown elliptic curve)

2021-12-21 Thread Илья Индиго
https://bugs.kde.org/show_bug.cgi?id=447326

Илья Индиго  changed:

   What|Removed |Added

Summary|don't build in openSUSE |don't build with gpg2 2.3.3
   |Tumbleweed  |(gpg: key generation
   ||failed: Unknown elliptic
   ||curve)
 Ever confirmed|0   |1
 Status|RESOLVED|REOPENED
  Component|Other   |Cryptography
 Resolution|DOWNSTREAM  |---

--- Comment #2 from Илья Индиго  ---
Don't build with gpg2 2.3.2
[   39s] bash
/home/abuild/rpmbuild/BUILD/trojita-0.7~git20211029/tests/Cryptography/keygen.sh
/home/abuild/rpmbuild/BUILD/trojita-0.7~git20211029
[   39s] gpg: Generating key for valid encryptions and signatures
[   39s] gpg: key generation failed: Unknown elliptic curve
[   39s] gpg: Generating key for expired encryptions and signatures
[   39s] gpg: key generation failed: Unknown elliptic curve
[   39s] gpg: Generating key that will be deleted after message generation
[   39s] gpg: key generation failed: Unknown elliptic curve
[   39s] gpg: Generating a key which will be used for signature verification,
where the private key will be removed
[   39s] gpg: key generation failed: Unknown elliptic curve
[   39s] gpg: Keys generated

But it's built with gpg2 2.2.27.
[   17s] bash
/home/abuild/rpmbuild/BUILD/trojita-0.7~git20211029/tests/Cryptography/keygen.sh
/home/abuild/rpmbuild/BUILD/trojita-0.7~git20211029
[   17s] gpg: Generating key for valid encryptions and signatures
[   17s] gpg: Generating key for expired encryptions and signatures
[   17s] gpg: Generating key that will be deleted after message generation
[   17s] gpg: Generating a key which will be used for signature verification,
where the private key will be removed
[   17s] gpg: Keys generated
[   17s] gpg: checking the trustdb
[   17s] gpg: marginals needed: 3  completes needed: 1  trust model: pgp
[   17s] gpg: depth: 0  valid:   4  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 4u
[   17s] gpg (GnuPG) 2.2.27; Copyright (C) 2021 Free Software Foundation, Inc.

-- 
You are receiving this mail because:
You are watching all bug changes.