Gnupg on openbsd with enigma rouncube plugin

Ángel angel at pgp.16bits.net
Mon Sep 26 00:30:21 CEST 2022


On 2022-09-25 at 12:02 +0000, Mik J wrote:
> Hello Bruce,
> 
> Yes I read all of that.
> 
> But for point a) I started the command gpg2 --status-fd '3' --
> command-fd '4'  ... out of the chroot

--status-fd and --command-fd are arguments used to direct gpg to use
different file descriptors (3 and 4, here) to handle status and
commands. Since you are not opening such file descriptors when running
it standalone, gpg complains. It's normal.
If you want to run it manually, you should remove both --status-fd 3
and --command-fd 4


> For point b) they recommand not to use urandom, that's why I asked
> the question about arc4random()
> 
> Regards

You would need to recompile gpg with that change / convince the OpenBSD
maintainer of gpg to patch it to use arc4random() instead.

My recommendation: create the /dev nodes inside the chroot


Regards






More information about the Gnupg-users mailing list