Gnupg on openbsd with enigma rouncube plugin

2022-09-24 Thread Mik J via Gnupg-users
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]:  GPG: /bin/gpg2 
--status-fd '3' --command-fd '4' --no-secmem-warning --no-tty 
--no-default-keyring --no-options --no-permission-warning 
--exit-on-status-write-error --trust-model always --pinentry-mode loopback 
--ignore-time-conflict --ignore-valid-from --with-colons --with-fingerprint 
--with-fingerprint --fixed-list-mode --homedir '/enigma/myem...@mydomain.org' 
--utf8-strings --list-secret-keys -- 'myem...@mydomain.org'
[18-Sep-2022 00:41:46 +0200]:  GPG: BEGIN PROCESSING
[18-Sep-2022 00:41:46 +0200]:  GPG: selecting streams
[18-Sep-2022 00:41:46 +0200]:  GPG: => got 1
[18-Sep-2022 00:41:46 +0200]:  GPG: GPG error stream ready for reading
[18-Sep-2022 00:41:46 +0200]:  GPG: => about to read 65536 bytes from 
GPG error
[18-Sep-2022 00:41:46 +0200]:  GPG: => read 61 bytes
[18-Sep-2022 00:41:46 +0200]:  GPG: selecting streams
[18-Sep-2022 00:41:46 +0200]:  GPG: => got 1
[18-Sep-2022 00:41:46 +0200]:  GPG: GPG error stream ready for reading
[18-Sep-2022 00:41:46 +0200]:  GPG: => about to read 65536 bytes from 
GPG error
[18-Sep-2022 00:41:46 +0200]:  GPG: => read 1 bytes
[18-Sep-2022 00:41:46 +0200]:  GPG: ERROR: gpg: Fatal: failed to open 
'/dev/null': Device not configured
[18-Sep-2022 00:41:46 +0200]:  GPG: selecting streams
Soa) When I launch this commandgpg2 --status-fd '3' --command-fd '4' 
--no-secmem-warning --no-tty --no-default-keyring --no-options 
--no-permission-warning --exit-on-status-write-error --trust-model always 
--pinentry-mode loopback --ignore-time-conflict --ignore-valid-from 
--with-colons --with-fingerprint --with-fingerprint --fixed-list-mode --homedir 
'/enigma/myem...@mydomain.org' --utf8-strings --list-secret-keys -- 
'myem...@mydomain.org'I have this error gpg: Fatal: status-fd is invalid: Bad 
file descriptor

If ! remove --status-fd I have this errorgpg: command-fd is invalid: Bad file 
descriptor
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)


In point a) why do i have these errors related to status-fd and command-fdIn 
point b) gnupg cannot use arc4random() to get its entropy ? Is there any plans 
to implement that ?
Regards




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


Re: gpg-agent not working properly

2022-09-24 Thread Damien Goutte-Gattat via Gnupg-users
Hi

On Friday, 23 September 2022 12:01:18 BST Tsilimigkras Athanasios wrote: 
> MY QUESTION: is there any way of changing the settings on GPGv2.2.4 to allow
> this environment variable to be set and therefore allow passwords to be
> cached as in earlier versions?

No. But if you are using other programs that depend on that variable being
present (such as SVN), you can easily set that variable yourself:

export GPG_AGENT_INFO=$(gpgconf --list-dirs agent-socket)::

Which version of SVN are you using, though? Because recent versions seem to
have been updated to look for GnuPG Agent’s socket at the correct places in
the absence of the GPG_AGENT_INFO variable.

- Damien

signature.asc
Description: This is a digitally signed message part.
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gnupg-users