On Tue, 25 Nov 2025 21:26, Borden said:
> My query may have been unclear in that I couldn't get openssl or its
> relying software to understand gpgsm secret keys.

I guess the problem you encounter could be that OpenSSL and GnuPG have
different formats on how to encode the CRT, which is used to speed up
RSA computation.  However, when exporting in pkcs#12 or pcks#8 format,
gpgsm recomputes the parameters to get them into OpenSSL format.

For details on the difference, see gnupg/sm/import.c:rsa_key_check.


Shalom-Salam,

   Werner

-- 
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein

Attachment: openpgp-digital-signature.asc
Description: PGP signature

_______________________________________________
Gnupg-users mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to