All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dev-manual/packages.rst: document gpg-agent configuration for parallel signing
@ 2026-11-11 14:00 Adarsh Jagadish Kamini
  0 siblings, 0 replies; 3+ messages in thread
From: Adarsh Jagadish Kamini @ 2026-11-11 14:00 UTC (permalink / raw)
  To: openembedded-core

OE-Core no longer passes auto-expand-secmem through --agent-program.
Document how to enable it in gpg-agent.conf and restart the agent to
avoid secure-memory exhaustion during parallel signing.

[YOCTO #16480]

AI-Generated: Uses Kiro (claude-opus-5.5)
Signed-off-by: Adarsh Jagadish Kamini <adarsh.jagadish.kamini@est.tech>
---
 documentation/dev-manual/packages.rst | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/documentation/dev-manual/packages.rst b/documentation/dev-manual/packages.rst
index 380d806be..f05ade8b4 100644
--- a/documentation/dev-manual/packages.rst
+++ b/documentation/dev-manual/packages.rst
@@ -905,6 +905,26 @@ related to signed package feeds are available:
    "ASC", which is the default and specifies ascii armored, and "BIN",
    which specifies binary.
 
+Configuring the GnuPG Agent
+---------------------------
+
+Parallel signing can exhaust ``gpg-agent``'s secure memory, causing
+"Cannot allocate memory" errors. Add the following to ``gpg-agent.conf``
+in the GnuPG home directory used for signing (``GPG_PATH`` if set, or
+GnuPG's default home directory, normally ``~/.gnupg``)::
+
+   auto-expand-secmem
+
+The OpenEmbedded build system does not set this option. Stop any running
+agent for that directory so the next signing operation starts it with
+the new configuration:
+
+.. code-block:: console
+
+   $ gpgconf --homedir /path/to/gpg/home --kill gpg-agent
+
+Omit ``--homedir /path/to/gpg/home`` to use GnuPG's default home directory.
+
 Testing Packages With ptest
 ===========================
 

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] dev-manual/packages.rst: document gpg-agent configuration for parallel signing
@ 2026-11-11 16:06 Adarsh Jagadish Kamini
  2026-11-13 10:26 ` Paul Barker
  0 siblings, 1 reply; 3+ messages in thread
From: Adarsh Jagadish Kamini @ 2026-11-11 16:06 UTC (permalink / raw)
  To: docs

OE-Core no longer passes auto-expand-secmem through --agent-program.
Document how to enable it in gpg-agent.conf and restart the agent to
avoid secure-memory exhaustion during parallel signing.

[YOCTO #16480]

AI-Generated: Uses Kiro (claude-opus-5.5)
Signed-off-by: Adarsh Jagadish Kamini <adarsh.jagadish.kamini@est.tech>
---
 documentation/dev-manual/packages.rst | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/documentation/dev-manual/packages.rst b/documentation/dev-manual/packages.rst
index 380d806be..f05ade8b4 100644
--- a/documentation/dev-manual/packages.rst
+++ b/documentation/dev-manual/packages.rst
@@ -905,6 +905,26 @@ related to signed package feeds are available:
    "ASC", which is the default and specifies ascii armored, and "BIN",
    which specifies binary.
 
+Configuring the GnuPG Agent
+---------------------------
+
+Parallel signing can exhaust ``gpg-agent``'s secure memory, causing
+"Cannot allocate memory" errors. Add the following to ``gpg-agent.conf``
+in the GnuPG home directory used for signing (``GPG_PATH`` if set, or
+GnuPG's default home directory, normally ``~/.gnupg``)::
+
+   auto-expand-secmem
+
+The OpenEmbedded build system does not set this option. Stop any running
+agent for that directory so the next signing operation starts it with
+the new configuration:
+
+.. code-block:: console
+
+   $ gpgconf --homedir /path/to/gpg/home --kill gpg-agent
+
+Omit ``--homedir /path/to/gpg/home`` to use GnuPG's default home directory.
+
 Testing Packages With ptest
 ===========================
 

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dev-manual/packages.rst: document gpg-agent configuration for parallel signing
  2026-11-11 16:06 [PATCH] dev-manual/packages.rst: document gpg-agent configuration for parallel signing Adarsh Jagadish Kamini
@ 2026-11-13 10:26 ` Paul Barker
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Barker @ 2026-11-13 10:26 UTC (permalink / raw)
  To: Antonin Godard; +Cc: Adarsh Jagadish Kamini, docs

On Wed Nov 11, 2026 at 4:06 PM GMT, Adarsh Jagadish Kamini wrote:
> OE-Core no longer passes auto-expand-secmem through --agent-program.
> Document how to enable it in gpg-agent.conf and restart the agent to
> avoid secure-memory exhaustion during parallel signing.
>
> [YOCTO #16480]
>
> AI-Generated: Uses Kiro (claude-opus-5.5)
> Signed-off-by: Adarsh Jagadish Kamini <adarsh.jagadish.kamini@est.tech>

Hi Antonin,

Please hold this docs patch until we've reviewed the corresponding
oe-core patch [1].

[1]: https://lore.kernel.org/openembedded-core/20261111140027.69866-1-adarsh.jagadish.kamini@est.tech/

Best regards,

-- 
Paul Barker


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-13 10:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-11 16:06 [PATCH] dev-manual/packages.rst: document gpg-agent configuration for parallel signing Adarsh Jagadish Kamini
2026-11-13 10:26 ` Paul Barker
  -- strict thread matches above, loose matches on Subject: below --
2026-11-11 14:00 Adarsh Jagadish Kamini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.