HEX
Server: Apache
System: Linux s1 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: gerold (1018)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals
Upload Files
File: /home/gerold/public_html/mail/vendor/bin/crypt-gpg-pinentry
#! /usr/bin/env php
<?php

/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */

// Check if we're running directly from git repo or if we're running
// from a PEAR or Composer packaged version.
$ds    = DIRECTORY_SEPARATOR;
$root  = __DIR__ . $ds . '..' ;
$paths = array(
    '@php-dir@', // PEAR or Composer
    $root, // Git (or Composer with wrong @php-dir@)
    $root . $ds . '..' . $ds . 'Console_CommandLine', // Composer
    $root . $ds . '..' . $ds . 'console_commandline', // Composer
    // and composer-installed PEAR_Exception for Console_CommandLine (#21074)
    $root . $ds . '..' . $ds . '..' . $ds . 'pear' . $ds . 'pear_exception',
);

foreach ($paths as $idx => $path) {
    if (!is_dir($path)) {
        unset($paths[$idx]);
    }
}

// We depend on Console_CommandLine, so we append also the default include path
set_include_path(implode(PATH_SEPARATOR, $paths) . PATH_SEPARATOR . get_include_path());

require_once 'Crypt/GPG/PinEntry.php';

$pinentry = new Crypt_GPG_PinEntry();
$pinentry->__invoke();

?>