According to your message, I have done the following:
The problematic key was already deleted, but just in case I repeat the command:
sudo rpm -e gpg-pubkey-fd41a71a-56094c32
Then I have imported the new key:
sudo rpm --import owncloud.pub.txt
I have edited the owncloud.repo file and commented out the gpgkey line to avoid the problematic key to be retrieved again.
Then
sudo dnf update owncloud-client
And I get a reply where the following error is repeated many many times:
error: Verifying a signature using certificate 06D7EADE708A40FA136EB4540700205DFD41A71A (devel OBS Project devel@s2.owncloud.com):
- Certificiate 0700205DFD41A71A invalid: certificate is not alive
because: The primary key is not live
because: Expired on 2023-01-17T12:16:43Z
- Key 0700205DFD41A71A invalid: key is not alive
because: The primary key is not live
because: Expired on 2023-01-17T12:16:43Z
It looks like the date has changed to 2023 but in January so the key still appears as expired.
Nevertheless, the curious thing is that, despite the fact that the previous error message appears repeated more than 20 times in the screen, the package is in fact installed, the first messages are (sorry they are in Spanish):
Verificación de operación exitosa.
Ejecutando prueba de operaciones
Prueba de operación exitosa.
Ejecutando operación
Preparando : 1/1
Actualizando : owncloud-client-4.0.0-10896.x86_64 1/2
Then the expired key error message appears again twice and after that:
Ejecutando scriptlet: owncloud-client-4.0.0-10896.x86_64 1/2
Limpieza : owncloud-client-3.2.1-10355.x86_64 2/2
A new apparition of the error message and finally:
Ejecutando scriptlet: owncloud-client-3.2.1-10355.x86_64 2/2
Ejecutando scriptlet: owncloud-client-4.0.0-10896.x86_64 2/2
Ejecutando scriptlet: owncloud-client-3.2.1-10355.x86_64 2/2
Verificando : owncloud-client-4.0.0-10896.x86_64 1/2
Verificando : owncloud-client-3.2.1-10355.x86_64 2/2
Actualizado:
owncloud-client-4.0.0-10896.x86_64
¡Listo!
So, curiously enough, the error message about an expired key keeps on appearing (even if with a more recent date), it is repeated many many times (previously it appeared just once) but despite that, the package is finally updated!.
Thanks a lot for your work and for your explanation about the different signatures of the keys, even if I understand it just partially.