Thank you Angel for these explanations.

    Le lundi 26 septembre 2022 à 00:34:12 UTC+2, Ángel <an...@pgp.16bits.net> a 
écrit :  
 
 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




_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gnupg-users
  
_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to