Gnupg on openbsd with enigma rouncube plugin

Mik J mikydevel at yahoo.fr
Sun Sep 25 14:02:28 CEST 2022


 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 chrootFor point b) they recommand not to use urandom, that's why I asked the question about arc4random()
Regards

    Le dimanche 25 septembre 2022 à 13:33:05 UTC+2, Bruce Walzer <bwalzer at 59.ca> a écrit :  
 
 On Sat, Sep 24, 2022 at 11:19:32PM +0000, Mik J via Gnupg-users wrote:
> Hello,
> My goal is to use the enigma plugin that is part of roundcube webmail.
> I get this error output[18-Sep-2022 00:41:46 +0200]: <e9n8l1qh>
[...]
> [18-Sep-2022 00:41:46 +0200]: <e9n8l1qh> GPG: ERROR: gpg: Fatal: failed to open '/dev/null': Device not configured

OpenBSD isolates the web server in a chroot at /var/www . So you will
have to create /var/www/dev and put some devices there.

[...]
> b) I found this post on the openbsd mailling listhttps://misc.openbsd.narkive.com/BLr2vq7b/roundcube-and-enigma-pgp
> Where they say"it would be better if the code were changed to use the arc4random() family of functions, which avoid the need for this" (this = /dev/urandom I guess)

They also say you can create the /var/www/dev/urandom device and make
sure that the partition that /var is in is not mounted with the
"nodev" option.

Bruce
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20220925/d4375837/attachment.html>


More information about the Gnupg-users mailing list