#2956 GnuPG fails to create key

1.370
closed
Jamie Cameron
5
2007-11-07
2007-11-04
Dave Overton
No

OS info: FreeBSD 7 beta 2
Webmin 1.370
Usermin 1.300

The GnuPG module in Usermin asks me to setup the key, it appears to work, but returning to the same screen says I don't have a key yet.

And the ~/.gnupg folder gets this:
-rw------- 1 dave dave 7692 Nov 4 12:49 gpg.conf
drwx------ 2 dave dave 2 Nov 4 12:50 private-keys-v1.d
-rw------- 1 dave dave 0 Nov 4 12:49 pubring.gpg
-rw------- 1 dave dave 0 Nov 4 12:49 secring.gpg
-rw------- 1 dave dave 40 Nov 4 12:49 trustdb.gpg

Note, the 0 byte files.

And the webmin log doesn't tell me whats going on :(

Discussion

  • Jamie Cameron
    Jamie Cameron
    2007-11-05

    Logged In: YES
    user_id=129364
    Originator: NO

    This may be due to lack of support for running commands in pseudo-ttys on FreeBSD 7, which I haven't personally tested.

    I would be interested to know if installing the IO::Pty Perl module helps with this problem..

     
  • Dave Overton
    Dave Overton
    2007-11-06

    Logged In: YES
    user_id=955460
    Originator: YES

    With IO::Pty installed or without it, fails either way.

     
  • Dave Overton
    Dave Overton
    2007-11-06

    Logged In: YES
    user_id=955460
    Originator: YES

    With IO::Pty installed or without it, fails either way.

     
  • Jamie Cameron
    Jamie Cameron
    2007-11-07

    Logged In: YES
    user_id=129364
    Originator: NO

    I just tried this on a FreeBSD 7 and got the same failure. In the end, I tracked it down to the /usr/local/bin/pinentry program being missing. See :

    http://rdist.root.org/category/freebsd/

     
  • Jamie Cameron
    Jamie Cameron
    2007-11-07

    • status: open --> closed