[imp] Imp 4.0.4 PGP / GPG Key Creation Fails
Marco Robertini
marco.robertini at id.unibe.ch
Thu Nov 24 06:57:44 PST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello again
Am 24.11.2005 um 15:19 schrieb Marco Robertini:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Dear all
>
> If I want to create a PGP key in Imp, the warning about the time it
> may take pops up. After clicking "OK" the page just reloads but
> doesn't create a key.
>
> My config:
>
> Horde 3.0.7
> Imp H3 4.0.4
> Turba H3 2.0.4
>
> in ../imp/config/conf.php:
> $conf['utils']['gnupg'] = '/usr/bin/gpg';
>
> in ../imp/config/prefs.php:
>
> // PGP options
>
> // Activate PGP support?
> // 0 = no, 1 = yes
> $_prefs['use_pgp'] = array(
> // 'value' => 0,
> 'value' => 1,
> 'locked' => false,
> 'shared' => false,
> 'type' => 'implicit'
> );
>
> // You should not manually change the rest of the PGP entries
> $_prefs['pgp_attach_pubkey'] = array(
> 'value' => 0,
> 'locked' => false,
> 'shared' => false,
> 'type' => 'implicit');
>
> $_prefs['pgp_scan_body'] = array(
> // 'value' => 0,
> 'value' => 1,
> 'locked' => false,
> 'shared' => false,
> 'type' => 'implicit');
>
> For data storage I use a mysql database, which works fine for all
> other horde matters. With Imp 4.0.3 the creation works fine.
> I also can't find any errors in apache, mysql or horde (debug) logs.
>
> Does anyone have a clue whats wrong?
>
It seems, that there is something wrong with the warning in pgp.inc.
I substituted in ../imp/templates/pgp/pgp.inc
<input type="submit" name="save" class="button" onclick="if (confirm
('<?php echo addslashes(_("Key generation may take a long time to
complete. Continue with key generation?")) ?>'))
{ document.prefs.actionID.value='generate_key';return true; } else
{ return false; }" value="<?php echo _("Create Keys") ?>" />
with
<input type="submit" name="save" class="button"
onclick="document.pgp.actionID.value='generate_key';return true;"
value="<?php echo _("Create Keys") ?>" />
This works.
Marco
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iEYEARECAAYFAkOF1O0ACgkQGSV/FPe1j8uVgACgxz3GCg1yTtODIfpgokUZ6MGx
tqkAnA5nBXRlaujSHm4jDtu/9YTCbJlr
=xhRE
-----END PGP SIGNATURE-----
More information about the imp
mailing list