Importing LibrePGP PQC secret keys in unattended mode
Marian Kechlibar <[email protected]> Tue, 27 Jan 2026 17:37:00 +0100
| Newsgroups | gmane.comp.encryption.gpg.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, with GnuPG 2.5.16 and libgcrypt 11.1.2 on Windows (Gpg4Win 5.0.0), I ran into an issue when importing PQC secret keys into a keyring without human interaction like this: gpg --batch --yes --pinentry-mode loopback --passphrase "pass" --import (asc file name) The secret key gets parsed, but not imported, and there is an IPC parameter complaint in stderr. Gpg-agent log set to "guru" shows the following error: 2026-01-27 17:13:15 gpg-agent[16212] command 'IMPORT_KEY' failed: Chyba parametru IPC 2026-01-27 17:13:15 gpg-agent[16212] DBG: chan_0x00000000000002c0 -> ERR 67109144 Chyba parametru IPC <GPG agent> - "--unattended" may only be used with OpenPGP keys "Chyba parametru" means "Parameter error" in Czech. This happens with both protected and unprotected (empty password) PQC keys, but it never happens with RSA or ECC keys. Is this still work in progress? (My use case: I want to run some automatic tests with separate homedirs, and I want to import all the test keys at their start, then decrypt/encrypt data using them.) Best regards Marian Kechlibar _______________________________________________ Gnupg-devel mailing list [email protected] https://lists.gnupg.org/mailman/listinfo/gnupg-devel
OpenPGP_signature.asc
(application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEPut5ntnyLUL0AyI2pyUtq3yZHqMFAml46awFAwAAAAAACgkQpyUtq3yZHqMn DA//Y9yPA3601OcOn8BxK8hB7ttinpYL2Bjw5J5zM+igegTgf/uTYTifCjaax7fgutiN+97qG+PE O4r6s33vwlGVxP953I3lIfC3mb0ACd4yvhWOnOZfjIzf/PHRD/6h+vFPjgu9m33K3QWBMmfy7yUM PpJs+UdKG/pdWQbrH3DbBzGg1j/pJPsXn7EdUbyyhvOQHJUgjutWSHM2wOGJPR5kQeU5/SMv0J08 cNPkXORvcvG1hYXJy2cwAvnFrY1KJiHopyYHmyhIcJ2C+cVcgfVCOyXQeMw/k2LZm9svs58HALcO SAyR3iONOXQtvCSiBuk8qElGi+o6iU76g4fMTlXKtYgDIchvsErJx1NNQYrcXstqPEvkewZYuP8v or0xVy02WPZihLxNrKzvk8qnT72cUvtOTSk3+uFMoczyHj/6BcJfp4x27LI/uAZDT2kmulRdLNdR 3+e3pJ8O17Q6q7yKJmyPBw1oHiFa0AzZWx+N9gJySn7qHwPr/XV3z+/WkhSLnlVXn7fiWMmP+pYo WUrYloRnN70PQLNXNrgoAuEv7eFCEF72FAYqslhi4fznXSvo/mwq7FsR2UbrdVCc4s/bcW1N4Hn7 H8AsuITer3IIX4sCDZ1I9D45iYPG7+EnJqT6cvdodCy2HPaLDUZAKHm3TiLWdGXzejKCMs2nfO2W j+A= =97rM -----END PGP SIGNATURE-----