note 126790 added to function.gnupg-init

From: Date: Fri, 21 Jan 2022 21:46:19 +0000
Subject: note 126790 added to function.gnupg-init
Groups: php.notes 
Request: Send a blank email to php-notes+get-217531@lists.php.net to get a copy of this message
Make sure home_dir option is not too many characters or else private keys fail. You will notice that functions take a long time (seconds). Commandline test yield error: > gpg: can't connect to the agent: IPC connect call failed Executing gpg-agent --daemon --homedir /very/long/path/to/.gnupg gave the error. > socket name for '/very/long/path/to/.gnupg/S.gpg-agent.extra' is too long So you must check that home_dir + '/S.gpg-agent.extra' is: * < 107 characters on Linux * < 104 on BSD 4.4 ---- Server IP: 45.112.84.4 Probable Submitter: 80.90.5.135 (proxied: 82.72.176.171) ---- Manual Page -- https://php.net/manual/en/function.gnupg-init.php Edit -- https://main.php.net/note/edit/126790 Del: integrated -- https://main.php.net/note/delete/126790/integrated Del: useless -- https://main.php.net/note/delete/126790/useless Del: bad code -- https://main.php.net/note/delete/126790/bad+code Del: spam -- https://main.php.net/note/delete/126790/spam Del: non-english -- https://main.php.net/note/delete/126790/non-english Del: in docs -- https://main.php.net/note/delete/126790/in+docs Del: other reasons-- https://main.php.net/note/delete/126790 Reject -- https://main.php.net/note/reject/126790 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#217531) next »