The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problems generating PGP Keys from Cpanel

Discussion in 'General Discussion' started by Zhen-Xjell, Mar 1, 2002.

  1. Zhen-Xjell

    Zhen-Xjell Member

    Joined:
    Mar 1, 2002
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Thanks to feanor for helping me out with my other thread, now I have a second question. My client has problems generating PGP key from CPanel. This is what he gets:

    gpg: Generating a standard key
    gpg: /home/daffy/.gpgtemp:7: missing argument

    I checked the directory, that file is not there.

    Ideas? Thanks
     
  2. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    0
    what is a php key?

    what is a php key?
     
  3. Zhen-Xjell

    Zhen-Xjell Member

    Joined:
    Mar 1, 2002
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Hi, this is not a &PHP Key& as PHP is a server side web scripting language. This is in reference to a &PGP Key& which is an encryption scheme called &Pretty Good Privacy&.
     
  4. xnull

    xnull Well-Known Member

    Joined:
    Sep 9, 2001
    Messages:
    156
    Likes Received:
    0
    Trophy Points:
    16
    Same.. I tried it just because I saw this post and I get that error too.
     
  5. picasso

    picasso Member

    Joined:
    Oct 23, 2002
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    :)

    Will tell you how to generate the keys manually.

    Login as the user or do su user
    o In the command prompt, type:

    gpg --gen-key

    you will be asked for some info, give the info as per requirements and key would be generated.

    Looks something like this at startup:
    ---
    bash-2.05a$ gpg --gen-key
    gpg (GnuPG) 1.0.6; Copyright (C) 2001 Free Software Foundation, Inc.
    This program comes with ABSOLUTELY NO WARRANTY.
    This is free software, and you are welcome to redistribute it
    under certain conditions. See the file COPYING for details.

    gpg: Warning: using insecure memory!
    Please select what kind of key you want:
    (1) DSA and ElGamal (default)
    (2) DSA (sign only)
    (4) ElGamal (sign and encrypt)
    Your selection?
    ----


    it prompts for your selection. Select 1 and so on....


    Regards.
     
Loading...

Share This Page