Skip to contentSkip to conversation

gnupg: Fix for host clashes(2d678cd3f4) - reg

DISCUSSION vijai kumar 2 participants 3 messages Jul 30, 2019 – Aug 6, 2019 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20190729074732.GA11134@chikyu

#1 lore raw

Hi All,

I have been using the rpm signing facility of poky for sometime now.

Looks like
https://git.yoctoproject.org/cgit.cgi/poky/commit/meta/recipes-support/gnupg/gnupg?id=2d678cd3f4746adce9d89b8daa877fd669f2ca2d
introduced a patch for gnupg native to change the socket name from S.gpg-agent to S.gpg-agent.yocto-native.

This might break builds when you have gnupg socket redirection setup as below in the host.

https://wiki.gnupg.org/NFS.

One could easily setup docker to volume mount the agent socket to the container and setup S.gpg-agent as above to redirect requests to the host's socket. You would just need the public keys in the container. This is one such case where this patch could cause problems.

Thoughts?

- Vijai Kumar K

#2 lore raw
In reply to a message not in the archive

Ping. Did anybody get a chance to look at this?

- Vijai Kumar K

Quoted 23 lines · Vijai Kumar K,

Hi All,

I have been using the rpm signing facility of poky for sometime now.

Looks like

https://git.yoctoproject.org/cgit.cgi/poky/commit/meta/recipes-support/gnupg/gnupg?id=2d678cd3f4746adce9d89b8daa877fd669f2ca2d
introduced a patch for gnupg native to change the socket name from S.gpg-agent to S.gpg-agent.yocto-native.

This might break builds when you have gnupg socket redirection setup as below in the host.

https://wiki.gnupg.org/NFS.

One could easily setup docker to volume mount the agent socket to the container and setup S.gpg-agent as above to redirect requests to the host's socket. You would just need the public keys in the container. This is one such case where this patch could cause problems.

- Vijai Kumar K

#3 lore raw

If there is a problem, we generally expect specific steps that demonstrate the problem, or a patch that addresses the problem. As your message had neither, there is nothing to look at really.

Regards,
Alex

Quoted 32 lines · vijai kumar

Ping. Did anybody get a chance to look at this?

- Vijai Kumar K

Quoted 23 lines · Vijai Kumar K,

Hi All,

I have been using the rpm signing facility of poky for sometime now.

Looks like

https://git.yoctoproject.org/cgit.cgi/poky/commit/meta/recipes-support/gnupg/gnupg?id=2d678cd3f4746adce9d89b8daa877fd669f2ca2d
introduced a patch for gnupg native to change the socket name from S.gpg-agent to S.gpg-agent.yocto-native.

This might break builds when you have gnupg socket redirection setup as below in the host.

https://wiki.gnupg.org/NFS.

One could easily setup docker to volume mount the agent socket to the container and setup S.gpg-agent as above to redirect requests to the host's socket. You would just need the public keys in the container. This is one such case where this patch could cause problems.

- Vijai Kumar K